WordPress.org

Ready to get started?Download WordPress

Forums

Restrict Widgets
Widget won't display on Home Page (2 posts)

  1. michellel
    Member
    Posted 8 months ago #

    I love the idea of this widget. Basically, I need some widgets to display on Pages and not on Posts. This is working brilliantly - except for the static Home Page. For some reason, the widget refuses to display there.

    Any suggestions?

    I even tried making a new widget set to display ONLY on the Home Page, but still nothing.

    In fact, I've noticed this widget doesn't work on the static Home Page at all. I tried to hide a lot of the blog-related items for the Home Page and that doesn't take either. Hmmmm .... works on all other pages.

    Thanks!!

    Michelle

    (I'm working on http://www.brandonwcarson.com - it's his photo I'm trying to display on all pages but not posts.)

    http://wordpress.org/plugins/restrict-widgets/

  2. dFactory
    Member
    Plugin Author

    Posted 8 months ago #

    Michelle, there are 2 types of home page in WordPress:

    1. home page defined by is_home() function - if your home contains a list of your posts
    2. front page defined by is_front_page() function - if your home page is a static page, not posts list

    Try using front page and home page in RW settings and see if it makes the difference.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.