WordPress.org

Ready to get started?Download WordPress

Forums

MobileESP for WordPress
Redirect only on home page (2 posts)

  1. Leosk8ter
    Member
    Posted 1 year ago #

    Hi,

    I've tried the solution given in the other post, replacing with -

    if (($detect_mobile == 1) && (is_home_page())) {

    but that seems to just turn all the pages blank. I've also tried to replace is_home_page with is_front_page , is_home, and a few other things, but those don't seem to have an effect at all.

    Any other solutions perhaps?

    Thanks!

    http://wordpress.org/extend/plugins/mobileesp-for-wordpress/

  2. Brooke Dukes
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for the late reply, If you are still having issues let me know. The white page generally means a PHP error. Do you have PHP errors on?

    For what it's worth is_home_page() should be is_home() this may solve your issue. is_front_page may actually work better if you have a static home page.

    Please provide a link to your site if you're not sure.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.