How to make a table of contents for 1 portfolio project?
-
Hello!
My website is here https://valeriayoga777.wordpress.com/
There are 4 portfolio projects on the bottom. I would like to add a kind of a table of contents inside the last portfolio. Means i want to create different articles in this portfolio and to collect them in one menu inside this portfolio. I want articles being hidden into the links, like expanding menu and only inside this portfolio. For example – clicking on the link ‘General information’ – the additional links to different articles appear.I cannot use wordpress.org unfortunately :(
Thanks
The blog I need help with is: (visible only to logged in users)
-
I would like to add a kind of a table of contents inside the last portfolio. Means i want to create different articles in this portfolio and to collect them in one menu inside this portfolio. I want articles being hidden into the links, like expanding menu and only inside this portfolio.
I’m unaware of any way to create a drop-down menu in the content area of a page, post, or portfolio project. However, you may easily create a link list of projects of a chosen type or assigned a certain tag with customized portfolio shortcode.
-
Thank you, however if i put [portfolio] shortcode to one of my portfolio sections page, then all other portfolios appear there. Everything is being duplicated from Home page.
I was thinking that in order to collect new articles (pages) in one portfolio page, i should first write these articles..i tried so, but i do not understand how to move these articles to one of portfolio pages after. Because by default articles appear in Blog.
-
Thank you, however if i put [portfolio] shortcode to one of my portfolio sections page, then all other portfolios appear there.
I think you mean that all portfolio projects will appear. Not necessarily. You may customize the portfolio shortcode by adding selected attributes to the code which essentially filter out the projects you don’t want to display.
From the Portfolios shortcode support page:Next, add the [portfolio] shortcode to a post or page. The shortcode will display projects in different ways, depending on how you use the optional attributes to customize the portfolio layout.
Relevant attributes include:
- include_type: display specific Project Types. Defaults to all. (comma-separated list of Project Type slugs)
- include_tag: display specific Project Tags. Defaults to all. (comma-separated list of Project Tag slugs)
Examples:
The shortcode
[portfolio include_type=health-benefits]
will display only those portfolio projects that have been assigned the project type “health benefits.”I was thinking that in order to collect new articles (pages) in one portfolio page, i should first write these articles..i tried so, but i do not understand how to move these articles to one of portfolio pages after. Because by default articles appear in Blog.
You may use display posts shortcode in a portfolio project page, adding “arguments”* that selectively filter the projects to display.
Example:
[display-posts category="exercise, nutrition"]
The above shortcode will display the ten most recent posts assigned either the “exercise” or “nutrition” categories.* What WordPress calls “arguments” in the Display Posts Shortcode support page, they call “attributes” in the Portfolios Shortcode support page.
- The topic ‘How to make a table of contents for 1 portfolio project?’ is closed to new replies.