We have seen how to use short code to play with portfolio projects, I have few more posts in this category.
How about a random wise project list , in a page or post, which changes the order each time load. A customization of short code will make it possible
portfolio showposts=3 orderby=rand
You can specify number columns using columns parameter and number of posts using showposts parameter
- display_types: display Project Types – displayed by default. (true/false)
- display_tags: display Project Tag – displayed by default. (true/false)
- display_content: display project content – displayed by default. (true/false)
- display_author: display project author name – hidden by default. (true/false)
- 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)
- columns: number of columns in shortcode. Defaults to 2. (number, 1-6)
- showposts: number of projects to display. Defaults to all. (number)
- order: display projects in ascending or descending order. Defaults to ASC for sorting in ascending order, but you can reverse the order by using DESC to display projects in descending order instead. (ASC/DESC)
- orderby: sort projects by different criteria, including author name, project title, and even rand to display in a random order. Defaults to sorting by date. (author, date, title, rand)
How to add to post/page
- Add a short code block
- Add the customized portfolio code [Above]
- Preview and Publish changes
More on WordPress and Short Code
- Ultimate Tools for blissful writing - About writing experience with WP and Typora Markdown editor
- List category posts in WordPress - How to create category post list in WordPress with Short Code
- Display random projects using short code block in WordPress - How to list random portfolio projects using short code
- Create category post widget in WordPress - We have learned ho to manipulate WordPress posts using short code and display-posts, if you miss any, following list will help you Widgets Widgets are the objects or controls that can be place in side bars, you can customize them using the Customize button under Design [Block Editor] or Appearance – Customize [ Classic Editor/WP-Admin … Continue reading Create category post widget in WordPress
- Create a author post widget in WordPress - Ho
- Conditionally place a widget in WordPress - How to conditionally Place WordPress Widgets
- Display specific type of portfolios using Short Code in WordPress - How to list a specific type of portfolio project using short code block in Word Press.
- Super charged Google Blogger would kill WordPress - About new Google Blogger experience
- Organize Portfolio projects in WordPress as Page - How to organize portfolio projects in WordPress with Pages and Short code block
- Display post inside another post/Page in WordPress - How tp show a word press post or posts inside a post or page with short code and display-posts plugin