[wordpress插件] Child Pages Tabs子页面标签

wordpress 插件 文章 2020-03-22 23:40 426 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Now its easy to add all the child pages in tabs(Horizontal & Vertical) format using Shortcode.

现在可以使用简码轻松地以选项卡(水平和垂直)格式添加所有子页面。

Add shortcode to the parent pages and it will display all the child pages title as tabs title and content as tabs content.

在父页面上添加简码,它将所有子页面的标题显示为选项卡标题,内容显示为选项卡内容。

Basic Usage

基本用法

Activate the Child Pages Tabs plugin

激活子页面标签插件

Add the shortcode [child_pages_tabs] to a page.

将简码[child_pages_tabs]添加到页面中。

Here’s a list of shortcodes currently available in the Child Pages Tabs plugin.

以下是“子页面标签”插件中当前可用的简码列表。

1.tabs="horizontal" |

1. tabs =“水平” |

tabs="vertical"

tabs =“垂直”

Based on the tabs layout requirement you can add either horizontal or verticle tabs of the child pages title.

 根据选项卡布局要求,您可以添加子页面标题的水平或垂直选项卡。

    1. border="true" |border=”false”`

      border =“ true” | border =“ false”`

      Whether you want overall border style or just the tabs without any border.

      是要整体边框样式还是只需要不带边框的选项卡。

      The default value is “true”.

      默认值为“ true”。

    2. bg-color="true" |bg-color=”false”`

      bg-color =“ true” | bg-color =“ false”`

      Whether you want the overall background color for tabs or just the tabs without any background color.

      是要选项卡的整体背景色还是只希望没有任何背景色的选项卡。

      Default value is “true”.

      默认值为“ true”。

    3. read-more-link="true" |read-more-link=”false”`

      read-more-link =“ true” | read-more-link =“ false”`

      Whether you want to add the Read More link after the tabs content or not.

      是否要在选项卡内容之后添加“阅读更多”链接。

      The default value is “true”.

      默认值为“ true”。



    Example:

    示例:

    [child_pages_tabs tabs="horizontal" border="true" bg-color="true" read-more-link="true"]

      [child_pages_tabs tabs =“ horizo​​ntal” border =“ true” bg-color =“ true”阅读更多链接=“ true”]

安装步骤

    1. Install the Child Pages tabs plugin either via the WordPress plugin directory or by uploading the files to your server at wp-content/plugins.
    2. 通过WordPress插件目录或通过将文件上传到服务器上的wp-content / plugins安装“子页面”标签插件。

    3. After activating, you can use shortcode to the pages which has a child pages.
    4. 激活后,您可以对包含子页面的页面使用简码。

下载地址
https://downloads.wordpress.org/plugin/child-pages-tabs.1.0.0.zip
-EOF-

AI助手支持GPT4.0