- This topic has 4 replies, 2 voices, and was last updated 3 years, 2 months ago by Andre Flores.
- September 10, 2020 at 8:44 am #1001795Gevorg AvdzhyanParticipant
I use this shortcode this shortcode.
this shortcode displays all posts on the screen:
[portfolio columns=3 display_content=”false”]
How to show posts by ID?
Post ID in the link:
wp-admin/post.php?post=720&action=editSeptember 10, 2020 at 9:25 am #1001820Gevorg AvdzhyanParticipant
And how to display posts by category and by tags?September 11, 2020 at 6:46 am #1002553Andre FloresModerator
You may find out what parameters are included in the [portfolio] shortcode and how to use them in the theme documentation.
AndreSeptember 11, 2020 at 9:37 am #1002635Gevorg AvdzhyanParticipant
I looked through the documentation but still can’t find how to display posts by ID?
Please tell me how to write shortcode with ID correctly so that it works!September 14, 2020 at 6:57 am #1004245Andre FloresModerator
The shortcode only allows displaying portfolio items filtered by specific tag or project type, there is no option to display specific items by ID. Check some examples below:
[portfolio include_tag="outdoors" columns=3]
[portfolio include_type="animals" columns=3]
You will need to use your tag/type slug in the shortcode. If there are several tags/types you want to be displayed, simply add them all separated by comma:
[portfolio include_tag="outdoors,indoors,mountains" columns=3]
[portfolio include_type="animals,people,nature" columns=3]
- You must be logged in to reply to this topic.