[wordpress插件] AWSOM News AnnouncementAWSOM新闻公告

wordpress 插件 文章 2020-02-27 10:30 502 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

AWSOM News Announcement allows you to post news announcements in the area above your posts (or anywhere else you want) and edit it using the Visual Editor or code editor, all from the WordPress admin area.

AWSOM新闻公告允许您在帖子上方的区域(或您想要的任何其他地方)发布新闻公告,并使用可视化编辑器或代码编辑器对其进行编辑,所有这些都来自WordPress管理区域。

You can select who sees your posts (only non-registered people, or whatever level of registered user for your site) so you can keep certain things for only people who are members, or you can show ads only to non-registered visitors.

您可以选择哪些人可以看到您的帖子(只有未注册的人,或者您网站的注册用户级别如何),这样您就可以只保留某些成员身份,或者仅向未注册的访问者展示广告。

You can now also run php code from the news area, so audio or video players can now be run without any other plugin.

现在,您还可以从新闻区域运行php代码,因此无需任何其他插件即可运行音频或视频播放器。

You can now add the news area to a post or page and also run php code there.

现在,您可以将新闻区域添加到帖子或页面,也可以在其中运行php代码。

You can set start and end dates for all news posts.

您可以设置所有新闻文章的开始和结束日期。

The Plugin is now fully XHTML compliant.

该插件现在完全符合XHTML。

Part of the www.AWSOM.org series of WordPress Plugins developed by Harknell, webmaster of the Webcomic at www.onezumi.com

由www.onezumi.com的Webcomic网站管理员Harknell开发的WordPress插件www.AWSOM.org系列的一部分

Upgrading From Previous Version

从以前的版本升级

Upgrade instructions for users of AWSOM News 1.02

AWSOM News 1.02用户的升级说明

To upgrade the AWSOM News Announcement plugin from 1.0.2 to the new version do the following steps in order:

要将AWSOM新闻公告插件从1.0.2升级到新版本,请按顺序执行以下步骤:

1) Go to your Admin Plugins area and deactivate the previous AWSOM News Announcement plugin.

1)转到“管理插件”区域,然后停用以前的AWSOM新闻公告插件。

2) Delete the awsomnews plugin folder from the wp-content/plugin directory.

2)从wp-content / plugin目录中删除awsomne​​ws插件文件夹。

3) unzip the new AWSOM News Announcement zip file and move the contents to your wp-content/plugins folder

3)解压缩新的AWSOM News Announcement zip文件并将其内容移动到wp-content / plugins文件夹中

4) Go to your Admin Plugins area and activate the new AWSOM News Announcement plugin.

4)转到您的管理插件区域,然后激活新的AWSOM新闻公告插件。

5) You have 2 options at this point: If you previously used the Theme file tag to display your News Announcement and don’t want to change

5)此时,您有2个选项:如果您以前使用主题文件标签显示新闻公告,并且不想更改

things then turn the option “Place the News Announcement On Index Page above Posts” to off.

然后将“将新闻发布放在帖子上方的索引页面上”选项关闭。

6) OR If you want to remove the now unnecessary Theme edits that version 1.0.2 required go into your theme index.php file

6)或如果您想删除现在不需要的主题编辑,则需要进行1.0.2版的编辑,请进入主题index.php文件

(or wherever you may have added the code) and delete:

(或您可能添加了代码的任何地方)并删除:

from your theme file.

来自主题文件。

Make sure that you then turn the option “Place the News Announcement On Index Page above Posts” to Yes.

确保然后将“将新闻发布放在帖子上方的索引页面上”选项设置为“是”。

To upgrade from 1.1.0 – 1.4.7 to new version

要从1.1.0 – 1.4.7升级到新版本

1) deactivate the current Awsom News plugin from the admin Plugin menu.

1)从管理插件菜单中停用当前的Awsom新闻插件。

2) Delete the current Awsom News folder from the wp-content/plugins folder.

2)从wp-content / plugins文件夹中删除当前的Awsom News文件夹。

3) Move the new folder to the wp-content/plugins folder.

3)将新文件夹移动到wp-content / plugins文件夹。

4) Activate the plugin from the Admin Plugins menu.

4)从“管理插件”菜单激活插件。

5) Make sure the settings in the Write/Posts–> Awsom News menu are set correctly for your set up.

5)确保为您的设置正确设置了Write / Posts-> Awsom News菜单中的设置。

安装步骤

To Install:

要安装:

Copy the plugin folder into your WordPress plugin directory.

将插件文件夹复制到您的WordPress插件目录中。

Activate the plugin from the plugin interface.

从插件界面激活插件。

If you would like to place the News Announcement in an area other than at the top of your posts add the following lines to your theme file where you want the announcement to appear:

如果您想将新闻公告放置在帖子顶部之外的其他区域,请在主题文件中添加以下几行内容,以使该公告出现:


<!–启动AWSOM新闻公告区–>



<?php if(function_exists('display_my_news_announcement')){display_my_news_announcement(0);

} ?>

}?>



<!–结束AWSOM新闻公告栏–>

or you can add the code %%awsomnews0%% to any post or page to have the news block appear there.

,或者您可以将代码%% awsomne​​ws0 %%添加到任何帖子或页面中,以使新闻块出现在其中。

If you turn on active php you

如果您打开活动的PHP,您

can use the news block to add different video or audio players or any plugin that needs php code to run.

可以使用新闻块添加不同的视频或音频播放器,或需要运行PHP代码的任何插件。

You will then want to turn the option “Place the News Announcement On Index Page above Posts” to off in the Write/Posts-> Awsom News area.

然后,您将需要在Write / Posts-> Awsom News区域中将“将新闻公告放置在帖子上方的索引页面上”选项关闭。

You can choose to use the Visual editor or directly add HTML code.

您可以选择使用Visual编辑器或直接添加HTML代码。

If you wish to switch between editor types you need to switch the setting

如果要在编辑器类型之间切换,则需要切换设置

and update the news post, then refresh the page again to have the editor reload properly.

并更新新闻发布,然后再次刷新页面以正确重新加载编辑器。

For updates or support please go to http://www.awsom.org

有关更新或支持,请访问http://www.awsom.org

下载地址
https://downloads.wordpress.org/plugin/awsom-news-announcement.zip
-EOF-

AI助手支持GPT4.0