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

    1. I have a post category entitled “Alumni Spotlight”, and these posts are shown on a page called Alumni in the submenu under People in the main menu.

    When you click on an individual post – they feed into the Alumni Page under People, the underline under People – the active menu item – changes to News and Events, and we want the active menu item to remain People. News and events is an Avia Layout page that has other categories from the blog feeding into that page, so not sure why the active menu item is changing for those individual posts. Is there a way to change that?

    2. How can I enable previous and next post navigation within this category, so if they go to a single post, they will see previous and next?

    3. Is there a way to remove the social share buttons just from this category?

    I have a coming soon page up, so will have to provide login credentials so you can take a look, see private content. Thank you for looking into or explaining this .

    Also, is it possible to remove the Share buttons from one blog post category, but not all of them?

    • This topic was modified 4 years, 4 months ago by Eleina_Shinn.
    #1227522

    Hey Eleina_Shinn,

    Thank you for the inquiry.

    1.) The News & Events page is set as the current menu item because by default WordPress sets the current Blog page (page_for_posts) as the current_page_parent of all posts. If you want the “People” menu item to be active when the current post belongs to the “Alumni” category, then you have to adjust the menu item class. Please check this thread for more info.

    // https://kriesi.at/support/topic/navigation-blogpost-and-masonry/#post-1162144

    2.) The post navigation can be enabled in the Enfold > Blog Layout > Single Post Options panel.

    3.) Yes, that should be possible. You have to modify the includes > loop-index.php file and add a condition to this line.

    //share links on single post
    avia_social_share_links();
    

    // https://developer.wordpress.org/reference/functions/has_category/

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.