Install it as a regular WordPress plugin
将其安装为常规WordPress插件 p>
li>
Add some post with feature images in Portfolio post type.
在Portfolio帖子类型中添加带有特色图片的帖子。 p>
li>
Then use the following shortcode for showing the portfolio.
然后使用以下简码显示投资组合。 p>
[wpb-portfolio]
[wpb-portfolio] p>
li>
ul>
Shortcode Parameters
简码参数 h3>
- include : Comma separated portfolio category ids for showing only selected portfolios.
- include:用逗号分隔的投资组合类别ID,仅显示选定的投资组合。 li>
- exclude : Comma separated portfolio category ids for removing selected portfolio items.
- 排除:用逗号分隔的投资组合类别ID,用于删除所选的投资组合项目。 li>
- column : Portfolio column, accepted values – 2, 3, 4, 6
- 列:“投资组合”列,接受的值– 2、3、4、6 li>
- orderby : Portfolio items order by.
- orderby:投资组合项目的排序依据。
Default: date.
默认值:日期。
Please visit this link for more details.<
有关更多详细信息,请访问此链接。< /li>
/ li>
- order : Portfolio items order.
- order:投资组合项目的顺序。
Default: DESC.
默认值:DESC。
Accepted values – ASC, DESC.
可接受的值-ASC,DESC。 li>
ul>
Example
示例 h3>
[wpb-portfolio exclude="3,2"] [wpb-portfolio exclude =“ 3,2”][wpb-portfolio include="3,2,4,5"]
[wpb-portfolio include =“ 3,2,4,5”]
[wpb-portfolio include="3,2,4,5" column="4"]
[wpb-portfolio include =“ 3,2,4,5” column =“ 4”]
code> pre>