Free and Premium WordPress Plugins & Themes Forums WordPress Themes Creatista How to show posts by ID in Creatista portfolio?
- This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by
Andre Flores.
- AuthorPosts
- September 10, 2020 at 8:44 am #1001795
Gevorg Avdzhyan
ParticipantI 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=1570&action=edit
wp-admin/post.php?post=720&action=editSeptember 10, 2020 at 9:25 am #1001820Gevorg Avdzhyan
ParticipantAnd how to display posts by category and by tags?
September 11, 2020 at 6:46 am #1002553Andre Flores
ModeratorHello, Gevorg!
You may find out what parameters are included in the [portfolio] shortcode and how to use them in the theme documentation.
Regards,
AndreSeptember 11, 2020 at 9:37 am #1002635Gevorg Avdzhyan
ParticipantI 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 Flores
ModeratorHello, Gevorg!
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]
Regards,
Andre - AuthorPosts
- You must be logged in to reply to this topic.