WordPress.org

Forums

AdRotate
[resolved] How to set up this plugin to show one banner only in the homepage? (2 posts)

  1. devoiddd
    Member
    Posted 1 year ago #

    Hello, can you tell me how to set up this plugin to show one banner only in the homepage if is possible?

    https://wordpress.org/plugins/adrotate/

  2. Arnan de Gans
    Member
    Plugin Author

    Posted 1 year ago #

    If your theme has a front-page widget area, use that. Otherwise add something to your index.php or home.php to make it homepage specific;

    if(if_home()) echo adrotate_group(1);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AdRotate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags