This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

custom widget on blog page

  • Creator
    Topic
  • #16752
    jayack
    Member

    I created a custom widget for the blog page and attached just like the tutorial and all the rest of my custom widgets, but it never shows up on the blog page. Anyone else experiencing this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Author
    Replies
  • #16753
    Jason Bobich
    Keymaster

    Hello,

    Have you set this page as your “posts page” at Settings > Reading > Frontpage displays?

    #16754
    jayack
    Member

    yes and I have a blog post written and it’s shows up on the blog page, just my custom widget doesn’t

    #16755
    Jason Bobich
    Keymaster

    When you set a posts page, WordPress then takes over this page. There are two approaches you could take here.

    Option 1:

    1. Leave the “posts page” option blank at Settings > Reading.

    2. Apply the Post List page template to the blog page.

    3. Assign the widget area to the blog page as you’re doing.

    Option 2:

    1. Select the blog page as your “posts page” option at Settings > Reading.

    2. The page template you select on the page now becomes irrelevant.

    3. As WordPress sees it, this is now your “homepage” and the is_home condition is now true — Under the widget area assignment, select Hierarchy > Homepage for the assignment.

    #16758
    jayack
    Member

    Awesome option 1 worked perfectly, are there any draw backs to do it this way?

    #16760
    Jason Bobich
    Keymaster

    I am not aware of any drawbacks to doing it this way.

    #16761
    jayack
    Member

    great thanks for such speedy responses

    #16788
    jayack
    Member

    Ok so I noticed that the correct side bar shows up on the blog page but if you click into the article the custom sidebar isn’t there and it defaults back to the main rightside bar

    look here and click the read more button and you will see the sidebar change

    http://www.phancyscreensny.com/blog

    #16796
    Jason Bobich
    Keymaster

    This is what we’d expect because you only applied the sidebar to the blog page, right? The blog page lists out posts, but itself, is not associated with these individual posts.

    So, now you need to apply the sidebar to the posts, if that’s what you want. One way you could do this is by adding the assignment Hierarchy > All Posts.

    #16804
    jayack
    Member

    Ahh right I do recall reading that thanks again!

    #16805
    Jason Bobich
    Keymaster

    I forgot to mention — If you start using “posts” on your site for things other than this blog, the “Posts in Category” section of widget area assignments can come in handy, too.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.