Search found 2 matches

by jduck777
Tue Jan 29, 2013 5:04 pm
Forum: Calendar for WordPress
Topic: Fix for prev and next month links and error 404
Replies: 3
Views: 10847

Re: Fix for prev and next month links and error 404

Had to adjust the script a little because the select box would show the wrong year by default. $actual_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $get_query = parse_url($actual_url); $split_query = parse_str($get_query['query'], $cal_query); if(strlen($cal_query['yr']) < 4) { $cal_quer...
by jduck777
Tue Jan 29, 2013 3:37 pm
Forum: Calendar for WordPress
Topic: Fix for prev and next month links and error 404
Replies: 3
Views: 10847

Fix for prev and next month links and error 404

I had issues with the prev and next month links not working unless I kept the default WordPress permalinks. Here is a work around for that: Place the following code just after all of the top commented section (just before "// Enable internationalisation"). $actual_url = "http://$_SERVER[HTTP_HOST]$_...