[wordpress插件] BushismBushism

wordpress 插件 文章 2020-03-14 05:40 0 206 全屏看文
评分
0
描述

This is a simple plugin that displays a wacky quote from George W. Bush.

这是一个简单的插件,显示乔治·W·布什的古怪语录。

To use, copy the file into your wordpress plugins directory (wp-content\plugins\bushism.php).

要使用,请将文件复制到您的wordpress插件目录(wp-content \ plugins \ bushism.php)。

Add the text “[bushism]” to your blog entry, anywhere you would like.

在您想要的任何位置,将文本“ [bushism]”添加到博客条目中。

You can add formatting.

您可以添加格式。

A Bushism will be placed there.

布什主义将被摆在那里。

Example:

示例:

Hi, this is a blog entry.

嗨,这是博客条目。

Obama 08!

奥巴马08!

[bushism]

[布什主义]

-> becomes ->

->变成->

“If the Iranians were to have a nuclear weapon, they could proliferate.”

“如果伊朗人拥有核武器,它们可能会扩散。”

— President Bush, showing off his grasp of the birds and the bees, March 21, 2006

—布什总统炫耀他对鸟类和蜜蜂的了解,2006年3月21日

安装步骤

Place the bushism.php file into your plugins directory:

将bushism.php文件放入您的插件目录:

http://www.yourdomain/yourblog/wp-content/plugins/bushism.php

http://www.yourdomain/yourblog/wp-content/plugins/bushism.php

Go to WP-Admin, to your Plugins page, and activate Bushisms.

转到WP-Admin,进入“插件”页面,然后激活Bushisms。

In your next blog post, put in [bushism], anywhere you like, and the tag will be replaced by a fresh bushism quote whenever the page is loaded (or reloaded).

在您的下一篇博文中,将[bushism]放在您喜欢的任何位置,并且在每次加载(或重新加载)页面时,该标记都会被新的灌木丛语录替换。

NOTE: Please do not modify the script.

注意:请不要修改脚本。

I’m not making any money off of this site.

我不会从这个网站上赚钱。

In fact I’m paying to keep it up.

实际上,我要付出代价才能保持下去。

If you enjoy the free plugin, please keep the link to my site.

如果您喜欢免费插件,请保留指向我网站的链接。

Thanks!

谢谢!

下载地址
https://downloads.wordpress.org/plugin/bushisms-for-wordpress.zip
-EOF-