[wordpress插件] African Flag Widget非洲国旗小部件

wordpress 插件 文章 2020-02-11 07:40 522 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

A Widget that can be included into sidebar to display flags depending on the category slug

可以包含在侧边栏中的小部件,以根据类别段标显示标记

Displays appropriate national flag for the african country based upon the ‘.jpg’ found in the child theme directory

根据子主题目录中的“ .jpg”为非洲国家显示适当的国旗。

using get_stylesheet_directory_uri()

使用get_stylesheet_directory_uri()

Development Notes

开发说明

Developed by iandstanley for a custom project, GPL’d and released to the world.

由iandstanley为一个自定义项目开发,GPL发行并向全世界发布。

Feel free to fork

随意分叉

安装步骤

Installation is just like installing most other plugins.

安装就像安装其他大多数插件一样。

[Check out the codex] (https://codex.wordpress.org/Managing_Plugins#Installing_Plugins) if you have any questions.

如果有任何疑问,请[检查代码](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)。

Create a ‘flags’ directory in your theme (or child theme if you are using a child theme) and upload a bunch of jpg files one per category slug named using the categoryslug.gif format

在主题(如果使用子主题,则为子主题)中创建一个“ flags”目录,并为每个使用分类slug.gif格式命名的子类别上传一堆jpg文件

/flags contains a set of african flags ready to use that can be copied to your /flags for use

/ flags包含一组准备使用的非洲标志,可以将其复制到您的/ flags中进行使用

I have kept this flags directory separate so you can easily replace the flags.

我将这个标志目录分开放置,以便您可以轻松替换标志。

For example, if you want american state flags, /flags and upload your state flags to that location.

例如,如果您需要美国州旗,/ flags并将州旗上传到该位置。

下载地址

https://downloads.wordpress.org/plugin/african-flag-widget.1.1.zip

https://downloads.wordpress.org/plugin/african-flag-widget.1.1.zip

-EOF-

AI助手支持GPT4.0