Featured post not working on archive sidebar

Community Forums Forums General Discussion Featured post not working on archive sidebar

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Marcy 2 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #48952


    Hi there

    I think I know what the issue is on this but don’t know how to resolve it. I have grid layout for a specific category page ( archive) and have set in my functions.php for the content not to show and only the featured image and meta ( categorys ) to show.

    The problem is that that function no makes my featured posts widget in the sidebar not show it’s content. Is there a work around on this




    You don’t list the code you added to your functions.php, but if you wrap the function in a conditional for just the pages that you don’t want the content to show on, the Genesis Featured Post widget should still add content in the sidebar.

    The conditionals are on this page:


    One of these may work for you:
    is_post_type_archive() or is_category() or Is_archive()

    So you would do this to your function;

    function xyz() {
    if ( is_post_type_archive() ) {
    /* Put your code here */

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.