-
AuthorPosts
-
February 27, 2014 at 6:05 pm #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 1Items must be links to the extended content.
Thanks in advance!!!
February 28, 2014 at 4:52 am #230427Hi 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,
IsmaelFebruary 28, 2014 at 9:01 pm #230765Hi 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 itemPortfolio Category 2
portfolio item 2
portfolio item 3Thanks.
March 2, 2014 at 5:06 am #231194Hi!
You can also add the portfolio items on Appearance > Menus. Make sure that the “Portfolio Items” is enabled on Screen Options.
Regards,
IsmaelMarch 3, 2014 at 12:29 pm #231495Hi 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.
March 3, 2014 at 12:37 pm #231496This 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, 9 months ago by Helchar.
March 5, 2014 at 8:52 am #232597Hey!
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!
PeterMarch 12, 2014 at 8:32 am #236163Hi Ismael
I can’t find “Portfolio Items” as a screen option on Appearance > Menus.
March 13, 2014 at 8:22 am #236729Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.