[wordpress插件] CG Dynamic SidebarCG动态边栏

wordpress 插件 文章 2020-03-21 09:10 480 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Are you looking for easy and robust way to manage your sidebar areas dynamically from wordpress admin ?

您是否正在寻找一种简单而强大的方法来从wordpress admin动态管理侧边栏区域?

CG Dynamic Sidebar is a suite of components which helps you to create your custom sidebar area and allows you to add upto 20 different sidebar areas which you can use them in your website.

CG Dynamic Sidebar是一套组件,可帮助您创建自定义的侧边栏区域,并允许您添加多达20个不同的侧边栏区域,您可以在网站中使用它们。

CG Dynamic Sidebar is focused on ease of integration and ease of use.

CG Dynamic Sidebar专注于易于集成和易用性。

It is deliberately powerful plugin using which users can create their own sidebar easily without having any technical knowledge of how to create custom sidebars.

这是一个故意强大的插件,用户可以使用它轻松地创建自己的侧边栏,而无需了解如何创建自定义侧边栏的任何技术知识。

Usage :

用法:

 

 <?php dynamic_sidebar(“ my-custom-sidebar”); 

?>

?>

Usage

用法

While adding your sidebar area you have option to keep your sidebar id, this id will be used to display your custom sidebar in page/post.

在添加侧边栏区域时,您可以选择保留侧边栏ID,此ID将用于在页面/帖子中显示自定义侧边栏。

If you have added a new sidebar with below details :

如果您添加了具有以下详细信息的新边栏:

Sidebar Title : My Custom Sidebar

边栏标题:“我的自定义边栏”

Sidebar id : my-custom-sidebar

侧边栏ID:my-custom-sidebar

Then, to use this sidebar, you have to use below PHP code in your sidebar.php or anywhere you want to show this sidebar.

然后,要使用此侧边栏,必须在sidebar.php或要显示此侧边栏的任何位置使用以下PHP代码。

 

 <?php dynamic_sidebar(“ my-custom-sidebar”); 

?>

?>

安装步骤

From WordPress Admin Panel

在WordPress管理面板中

    1. Click on Add new under Plugin menu.
    2. 单击“插件”菜单下的“添加新项”。

    3. Type CG Dynamic Sidebar in the input field and press enter.
    4. 在输入字段中键入CG Dynamic Sidebar,然后按Enter。

    5. Install and Activate CG Dynamic Sidebar from listing.
    6. 从清单中安装并激活CG动态侧边栏。

    From WordPress.org

    来自WordPress.org

      1. Download CG Dynamic Sidebar.
      2. 下载CG动态侧边栏。

      3. Upload the ‘cg-dynamic-sidebar’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
      4. 使用您喜欢的方法(ftp,sftp,scp等)将“ cg-dynamic-sidebar”目录上传到您的“ / wp-content / plugins /”目录

      5. Activate CG Dynamic Sidebar from your Plugins page.
      6. 从“插件”页面激活CG动态侧栏。

      After Installation and Activation : WordPress dashboard

      安装和激活后:WordPress仪表板

        1. Visit ‘Appearance > Widgets’
        2. 访问“外观>小部件”

        3. You will find a button in right side of your admin screen [ Add new sidebar area ]
        4. 您将在管理屏幕的右侧找到一个按钮[添加新的侧边栏区域]

下载地址
https://downloads.wordpress.org/plugin/cg-dynamic-sidebar.zip
-EOF-

AI助手支持GPT4.0