WordPress Cherry 3.x. 如何编辑主页(使用短代码生成)
2015年3月26日
本教程将向您展示如何在WordPress中编辑主页.
Cherry的主页 WordPress模板 通常是通过短代码创建的. 为了自定义内容,您应该导航到 Pages -> All pages 在你的WordPress管理面板. 找到你的主页. 你会看到一些短代码:
让我们来看几个例子:
-
[recent_posts num="3" type="post" post_format="standard" meta="true" thumb="true" thumb_width="390" thumb_height="250" category="安全软件"节选t_count="0" custom_class="list_1"]
recent_posts 最近添加的物品的点数将出现在该区域;
type="post" 表示该部分是用Posts创建的,因此您应该打开 Posts -> All 部分用于管理主页上显示的名称或摘录;
类型=“XXXXX” 指定在这种情况下使用的类别;
custom_class = " list_1 " 定义样式(layout)用于此特定块: -
[旗帜img = " http: / / the_link_to_image_directory/page1_img1.jpg”banner_link = " http://www.google." title="og体育" text="Lorem ipsum dolor sit met, condidiping精英。. 悬空的爱神爱神,姿势的爱神爱神. 左前庭,左前庭,右前庭. btn_text="Read More" target="_self" custom_class = " extrabanner_1 ")
img="http: / / the_link_to_image_directory/page1_img1.jpg" 的路径 banner image;
banner_link="http://www.google.com/" 允许设置自定义URL banner;
through " title "和" text " 选项卡可以设置所需的内容 banner, etc.; -
简短的代码是 [标记]、[类别), etc. 意思是你必须编辑 Posts -> Tags, Posts -> Categories 或者类似的部分.
短代码在模板中可能有所不同. 请随时查看有关如何与他们合作的更多细节 WordPress. 如何使用短代码(基于Cherry插件).
请随时查看下面的详细视频教程: