regionhalland/region-halland-plugin-wp-footer-sidebars

创建页脚小部件(占位符)

v1.1.1 2020-05-12 07:28 UTC

This package is auto-updated.

Last update: 2024-09-12 17:28:57 UTC


README

如何使用Region Hallands的插件"RhWpFooterSidebars"

以下是使用插件"RhWpFooterSidebars"的说明。

应用领域

此插件创建页脚内容的 widgets(占位符)

许可证模型

此插件使用许可证模型 GPL-3.0。您可以通过附带的文件了解更多关于此许可证模型的信息

LICENSE (https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhWpFooterSidebars?path=%2FLICENSE&version=GBmaster)

安装和激活

A) Hämta pluginen via Git eller läs in det med Composer
B) Installera Region Hallands plugin i Wordpress plugin folder
C) Aktivera pluginet inifrån Wordpress admin

通过Git获取插件

git clone https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhWpFooterSidebars

通过composer导入插件

注意!确保您获取的是最新版本。

"require": {
  "regionhalland/region-halland-plugin-wp-footer-sidebars": "1.0.0"
},

通过"Blade"显示"内容"

<div>
    <div>{{ dynamic_sidebar('sidebar-footer-top') }}</div>
</div>
<div>
    <div>{{ dynamic_sidebar('sidebar-footer-left') }}</div>
    <div>{{ dynamic_sidebar('sidebar-footer-middle') }}</div>
    <div>{{ dynamic_sidebar('sidebar-footer-right') }}</div>
</div>
<div>
    <div>{{ dynamic_sidebar('sidebar-footer-bottom') }}</div>
</div>

版本历史

1.1.1

  • 修改为使用div而不是section作为小部件容器

1.1.0

  • 添加通过Packagist发布的工作流

1.0.0

  • 第一个版本