WordPress.org

Ready to get started?Download WordPress

Forums

Browser Rejector
[resolved] Possible to limit to this to specific page? (2 posts)

  1. anefarious1
    Member
    Posted 9 months ago #

    I would like for this to work on my main page only. Does this plugin allow for setting specific pages? thanks

    http://wordpress.org/plugins/browser-rejector/

  2. Nick Halsey
    Member
    Plugin Author

    Posted 9 months ago #

    Set the "run browser rejector" option (at the top of the main settings page) to custom. Then, add the following code to a custom plugin or your theme's home page template or functions.php file:

    <?php if( is_front_page() && function_exists('browser_rejector') )
    browser_rejector();
    ?>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.