GavickPro / Meet-GavernWP

Meet GavernWP is a responsive free Wordpress theme
35 stars 23 forks source link

Unable to show header widgets on static Blog page #299

Closed steacha closed 10 years ago

steacha commented 10 years ago

This issue was noticed in the free Meet GavernWP theme, but may also affect other themes. Here are the steps to reproduce the problem:

1- Select a Posts page for the blog page under Appearance > Customize 2- Go to Appearance > Widgets and add a Text widget with sample content in the Header section (which is the widget area for the header of the Web site) 3- Set the widget rules to appear on same Posts page selected in step 1 by entering its ID and then save 4- Load the Web site and navigate to the blog|posts page and you will notice that the Text widget containing the sample content doesn't appear.

piotrkunicki commented 10 years ago

Hello,

I've followed your steps and can't reproduce the issue. I think that you have a problem with configuration of widget rules, generally you have 3 options for the frontpage (Dashboard -> Settings -> Reading):

Front page displays:

  1. Your latest posts - in this case you should use homepage in widget rules,
  2. A static page - Frontpage - in this case you should use choosen page id/slug/title,
  3. A static page - Posts page(if previous (2) option is not set) - in this case you should also use homepage in widget rules.
steacha commented 10 years ago

I didn't realize the home page rule would apply to the Posts page as well, hence my confusion. Using your example, both 2 and 3 apply to my scenario and 3 started working when the Homepage widget rule was used.

I'm still a bit confused, but I'll just assume that the "Homepage" rule was actually meant to read "Static page" instead.

Whatever the case, it DOES work. :) Thanks so much for clarifying, piotrkunicki.