Categories

有特色的模板

CherryFramework 4. 如何用短代码显示某些类型的帖子

Jeff Bell 2015年8月19日
Rating: 5.0/5. 来自2票.
请稍等...

Hello! 在本教程中,我们将向您展示如何使用短代码在您的页面上显示特定类型的帖子 CherryFramework4 template.

CherryFramework 4. 如何用短代码显示某些类型的帖子
  1. Navigate to Pages -> Add new 然后点击 Insert shortcode button:

    how_to_display_posts_of_certain_type_with_shortcode-1
  2. Click on Content 例如,选择您希望在页面上显示的帖子类型 Portfolio:

    how_to_display_posts_of_certain_type_with_shortcode-2
  3. 在打开的窗口中,您可以为您的 shortcode. 向下滚动查看/更改所有这些:

    how_to_display_posts_of_certain_type_with_shortcode-3
  4. 在这些选项中,您还可以:

    • Change the layout of your shortcode. 例如,如果你选择 masonry layout,岗位会有不同 thumbnail sizes 并且会粘在一起.

    • 每页将显示多少篇文章.

    • 是否帖子将分页或将有一个阅读更多按钮来加载更多的帖子.

    • 帖子将显示的列数.

    • 动画类型的帖子将有 hover.

    • 页下各页之间的页边距的像素值 水槽宽度.

    • 页面上是否有按类别过滤和按日期过滤.

    • Which shortcode template(layout)将在页面上使用.

    • 你也可以加上 自定义类 to a shortcode.

  5. 编辑完成后,点击 Insert shortcode button:

    how_to_display_posts_of_certain_type_with_shortcode-4
  6. Click on Preview 更改以查看它在网站前端的外观:

    how_to_display_posts_of_certain_type_with_shortcode-5
  7. 现在,您已经学习了如何在您的页面上显示特定类型的帖子 shortcode:

    how_to_display_posts_of_certain_type_with_shortcode-6

请随时查看下面的详细视频教程:

CherryFramework 4. 如何用短代码显示某些类型的帖子
这个条目被张贴了出来 Monstroid教程, WordPress教程 and tagged CherryFramework4, post, shortcode. 书签的 permalink.

提交罚单

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: 提交罚单