Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #230168

    How can I list all of my items and categories of portfolio-entries in a site map like this:
    Category 1
    Item 1
    Item 2
    Item 3
    Category 2
    Item 1
    Category 3
    subCategory 1
    Item 1
    subCategory 2
    Item 1

    Items must be links to the extended content.

    Thanks in advance!!!


    Hi Helchar!

    You can use the Custom Menu on Appearance > Widgets. First, create a menu on Appearance > Menus for portfolio categories. Make sure that you enable the Portfolio Categories on Screen Options. Create a custom widget area on Appearance > Widgets then add the Custom Menu widget. Use the Widget Area element on the Advance Layout Builder and select the custom widget area with the custom menu widget.

    Best regards,


    Hi Ismael!
    thank you for your answer, but this solution only shows a list of my portfolio categories but not the items that are inside of each one.

    I need to display de Name of the category and the portfolio items that contain


    Portfolio Category 1
    portfolio item

    Portfolio Category 2
    portfolio item 2
    portfolio item 3




    You can also add the portfolio items on Appearance > Menus. Make sure that the “Portfolio Items” is enabled on Screen Options.



    Hi Ismael,

    This could be an option, but I have a lot of items and I need to generate the portfolio sitemap automatically.

    May be by changing some code in template-archives.php to list all the portfolio and category items instead the 8 last items in the portfolio.


    This plugin do what I need WP Sitemap Page but only with POST instead of the PORTFOLIO CATEGORIES and ITEMS.

    • This reply was modified 10 years, 4 months ago by Helchar.


    Yes, you can modify the archives template. Open up wp-content/themes/enfold/template-archives.php and replace:

    query_posts(array('posts_per_page'=>8, 'post_type'=>'portfolio'));


    query_posts(array('posts_per_page'=>-1, 'post_type'=>'portfolio'));

    I’m not sure about the plugin though. Please ask the plugin author if it supports custom post types and how you can configure it for portfolio posts.



    Hi Ismael

    I can’t find “Portfolio Items” as a screen option on Appearance > Menus.



    Go to Appearance > Menus and click on the “Screen Options” tab in the top right corner. Then tick the checkbox next to “Portfolio items” to activate them.

    Best regards,

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