WordPress.org

Forums

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

  1. anefarious1
    Member
    Posted 1 year 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 1 year 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();
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Browser Rejector
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.