• Resolved gillinghamjamie

    (@gillinghamjamie)


    Hi there,

    I’m using the Mission News theme. When I use a recent post widget in my sidebar and filter by category, it does not pull my recent reviews despite those reviews sitting under that category. Instead, it only pulls from my “posts” in that category and not my “reviews”.

    This is using the native theme widgets, which I would prefer to use in this case because of the styling options.

    For example, as you can see on my homepage, the left sidebar only pulls posts from the category “Criticism” and does not include the “reviews” in this category, ie the reviews named ““The whole world is the woods”: Daniel Handler’s Bottle Grove” and “A city viewed from above: Paul Scraton’s Built on Sand”.

    Thanks,

    Jamie

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hello,

    This seems to be the same issue I had mention before where this theme ignores custom post types. I will take a look through the widget’s code and see if this is something I can fix via custom code.

    BTW… Are you using the free or premium version of this theme?

    Thread Starter gillinghamjamie

    (@gillinghamjamie)

    Thanks @w33zy. I’m using the free version. Please let me know if you’re able to figure this out at all.

    Plugin Author Kemory Grubb

    (@w33zy)

    I found the line that control this and I can edit it to recognize reviews. However, I have to edit the widget’s file directly as the developers of this have didn’t provide any way to extend their theme via WordPress filters.

    So to fix this you would have to edit this theme file https://themes.trac.www.ads-software.com/browser/mission-news/1.35/inc/widgets/post-list.php#L65

    and change 'post_type' => 'post', to 'post_type' => array( 'post', 'rcno_review' ),

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar widget not pulling from review categories’ is closed to new replies.