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

    These questions are related to the tab box with “Blog Posts”, “Pages”, “Categories”, “Monthly” appearing at the bottom of blog posts.

    1. Where do I control if or not that box appears?
    2. Where do I control which tabs appear?
    3. How can I exclude/include pages in the pages list, as there are pages that need to not show there.

    #401052

    Hey Marc!

    1. That box will appear if you select this Page Template in the Page attributes box:

    2. There is currently no GUI for that, it’d require modifying the template-archives.php file but we can help you with that.

    3. Open template-archives.php and change this line:

    wp_list_pages('title_li=&depth=-1' );
    

    To:

    wp_list_pages('title_li=&depth=-1&exclude=1,2,3,4,5' );
    

    1,2,3,4,5 would be the IDs of the Pages you want to exclude.

    Regards,
    Josue

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