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

    Hello,
    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!!!

    #230427

    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,
    Ismael

    #230765

    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

    Example:

    Portfolio Category 1
    portfolio item

    Portfolio Category 2
    portfolio item 2
    portfolio item 3

    Thanks.

    #231194

    Hi!

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

    Regards,
    Ismael

    #231495

    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.

    #231496

    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 ago by Helchar.
    #232597

    Hey!

    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'));
    

    with

    
    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.

    Cheers!
    Peter

    #236163

    Hi Ismael

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

    #236729

    Hi!

    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,
    Peter

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