Categories

有特色的模板

WordPress Cherry 3.x. 如何编辑主页(使用短代码生成)

Judy Waters 2015年3月26日
Rating: 5.0/5. From 1 vote.
Please wait...

本教程将向您展示如何在WordPress中编辑主页.

Cherry的主页 WordPress模板 通常是通过短代码创建的. 为了自定义内容,您应该导航到 Pages -> All pages 在你的WordPress管理面板. 找到你的主页. 你会看到一些短代码:

WP_how_to_edit_home_page_1

让我们来看几个例子:

  1. [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)用于此特定块:

    WP_how_to_edit_home_page_2

  2. [旗帜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.;

  3. 简短的代码是 [标记]、[类别), etc. 意思是你必须编辑 Posts -> Tags, Posts -> Categories 或者类似的部分.

短代码在模板中可能有所不同. 请随时查看有关如何与他们合作的更多细节 WordPress. 如何使用短代码(基于Cherry插件).

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

WordPress. 可以编辑主页(使用短代码生成)

高级响应式Wordpress主题
这个条目被张贴了出来 WordPress教程 and tagged edit, homepage, shortcodes. Bookmark the permalink.

提交罚单

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