Code96
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Mobile Redirect] Endless loopI have noticed that there has been no recent activity. If you still have a problem, please open a new thread.
Thanks
Forum: Plugins
In reply to: [PHP Mobile Redirect] Endless loopHave you set your mobile site URL in the settings?
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyThanks, glad we got it working.
Take care..
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyOr you can contact me through my site: Code 96 WordPress Design
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyWhat are you using to access this. There is no way I can help you without knowing the URL. Do you have an email that I can contact you at, to pass the URL privately?
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyis_single(591) – try that
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyAlso, once you paste your code, highlight it and select the “code” button in this editor. It will display as intended.
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyHave you tried the is_single(591) yet?
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyPlease post the plugin functions.php code again. Thanks
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyOk, so it sounds like you are actually trying to redirect from a post not a page? If so you need to replace:
is_page(591)
with
is_single('591')
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyThere are also alternate methods to identify a single page, see below and give some of the other options a try:
is_page(); // When any single Page is being displayed. is_page(42); // When Page 42 (ID) is being displayed. is_page('Contact'); // When the Page with a post_title of "Contact" is being displayed. is_page('about-me'); // When the Page with a post_name (slug) of "about-me" is being displayed. is_page(array(42,'about-me','Contact')); // Returns true when the Pages displayed is either post ID 42, or post_name "about-me", or post_title "Contact". Note: the array ability was added at Version 2.5.
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyI understand. No worries. The only thing I can think is that you have entered the incorrect page ID. I have tested the code I gave you on several test sites, and it functioned correctly. How did you go about finding your page ID?
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyWhat is the URL to the page you are trying to redirect from?
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyWhere did you add the code, I posted above?
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyPlease post the entire code from the plugins functions.php