[wordpress插件] Custom Widget Area自定义小部件区域

wordpress 插件 文章 2020-04-10 07:51 729 0 全屏看文

AI助手支持GPT4.0

评分
50
描述

A simple plugin to create custom widget area.

一个用于创建自定义小部件区域的简单插件。

Simply copy and paste these lines where you want to show custom widget content.

只需将这些行复制并粘贴到要显示自定义窗口小部件内容的位置即可。

After installing and activating this plugin, it will create Header Widget Area.
     

安装并激活此插件后,它将创建Header Widget Area。
     

Assign any widget in This Header Widget Area Plugin.

在“此标题小部件区域插件”中分配任何小部件。

Simply copy and paste these lines within php tag, where you want to show custom widget content.

只需将这些行复制并粘贴到要显示自定义窗口小部件内容的php标签中。

if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Header Widget Area’)) :

if(!function_exists('dynamic_sidebar')||!dynamic_sidebar('Header Widget Area')):

endif;

endif;

You will need to write some css for it.

您将需要为此编写一些CSS。

That’s it.

就是这样。

安装步骤

How to install Custom Widget Area

如何安装自定义小部件区域

    1. Download Custom Widget Area.

    2. 下载“自定义小部件区域”。

    3. Upload it into your plugins directory from Plugin Add Feature or FTP.

    4. 通过插件添加功能或FTP将其上传到您的插件目录。

    5. It will create a directory /wp-content/plugins/custom-widget-area/
    6. 它将创建目录/ wp-content / plugins / custom-widget-area /

    7. Active Custom Widget Area Plugin.

    8. 活动的自定义窗口小部件区域插件。

    After installing and activating this plugin, it will create Header Widget Area.
         

    安装并激活此插件后,它将创建Header Widget Area。
         

    Assign any widget in This Header Widget Area Plugin.

    在“此标题小部件区域插件”中分配任何小部件。

    Simply copy and paste these lines within php tag, where you want to show custom widget content.

    只需将这些行复制并粘贴到要显示自定义窗口小部件内容的php标签中。

    if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Header Widget Area’)) :

    if(!function_exists('dynamic_sidebar')||!dynamic_sidebar('Header Widget Area')):

    endif;

    endif;

    You will need to write some css for it.

    您将需要为此编写一些CSS。

    That’s it.

    就是这样。

下载地址
https://downloads.wordpress.org/plugin/custom-widget-area.zip
-EOF-

AI助手支持GPT4.0