[wordpress插件] Banner Garden Plugin for WordPressWordPress横幅广告插件

wordpress 插件 文章 2020-02-29 07:40 466 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Banner Garden Plugin for WordPress is (as the name is) a very usefull banner / ad rotator script.

用于WordPress的横幅花园插件是(非常有用的)横幅广告/广告轮播脚本。

You can use it ANYWHERE on your blog.

您可以在博客上任何地方使用它。

With a simple shortcode, you can insert your flash, image, or html code (like google adsense) into your posts, sidebar through widgets, header, or anywhere you want.

使用简单的短代码,您可以将Flash,图像或html代码(例如google adsense)插入到帖子,侧边栏,小部件,标题或您想要的任何位置。

Read the usage section later.

稍后阅读用法部分。

You have to do nothing else, just install this plugin, go to the Banner Garden settings page, create a campaign, add banners to your campaign, and place a little code like this [bannergarden id=”3″] into anywhere

您无需执行其他任何操作,只需安装此插件,转到Banner Garden设置页面,创建一个广告系列,向您的广告系列中添加横幅,然后将类似[bannergarden id =” 3”]的代码放置在任何地方

in your blog.

在您的博客中。

This is the lite version of Banner Garden, it’s free to use.

这是Banner Garden的精简版,可以免费使用。

I plan, i will write a pro version with much more options, but this is the future.

我计划,我将编写具有更多选项的专业版,但这就是未来。

Features and Benefits:

特征和优点:

    • Create any campaigns
    • 创建任何广告系列

    • Optionally you can set the start and/or the end time of a campaign
    • 您可以选择设置广告系列的开始和/或结束时间

    • Flash, image and ad code banners
    • Flash,图像和广告代码横幅

    • Rotate banners randomly
    • 随机旋转横幅

    • Default banner if a campaign expired or file or campaign not exists.

    • 如果广告系列过期或文件或广告系列不存在,则为默认横幅。

      (You canturn this option on/off).

    • (您可以打开/关闭此选项)。

    • Uses the WordPress Media Library for uploading or selecting flash/image
    • 使用WordPress媒体库上传或选择Flash /图像

    • You can add campaign to sidebar through widgets.
    • 您可以通过小部件将广告系列添加到侧边栏。

    • Place campaign anywhere in your blog.
    • 将广告系列放置在博客中的任意位置。

    • Include a test flash and a test image banner
    • 包括测试闪光灯和测试图像横幅

    • Localization in .po/.mo files.

    • .po / .mo文件中的本地化。

      (Hungarian localization included).

    • (包括匈牙利本地化内容。)

安装步骤

Installation:

安装:

    1. Download the bannergarden.zip from here.

    2. 从此处下载bannergarden.zip。

      [no link, i am waiting for the wordpress plugin page activation].

    3. [没有链接,我正在等待激活wordpress插件页面]。

    4. Unzip it into your wp-content/plugins/ directory.
    5. 将其解压缩到您的wp-content / plugins /目录中。

    6. Go to the Plugins page at Dashboard.
    7. 转到仪表板的“插件”页面。

    8. Activate the plugin.
    9. 激活插件。

    Usage:

    用法:

      1. Go to the Dashboard -> Settings -> BannerGarden
      2. 转到仪表板->设置-> BannerGarden

      3. Create a new campaign, and set it to Active
      4. 创建一个新的广告系列,并将其设置为有效

      5. Add new banner(s) to your campaign
      6. 向广告系列添加新横幅

      7. Insert anywhere this shortcode with your Campaign ID: [bannergarden id=”xxx”] where xxx is the ID of campaign.
      8. 在此简码中插入您的广告系列ID:[bannergarden id =“ xxx”],其中xxx是广告系列ID。

      9. If you want to translate it, use PoEdit to translate.
      10. 如果要翻译,请使用PoEdit进行翻译。

      You can read more, how Banner Garden works, at the Banner Garden home page:

      您可以在Banner Garden主页上了解更多有关Banner Garden的工作方式的信息:

      http://vaso.sma.hu/blog/banner-garden-plugin-for-wordpress/

      http://vaso.sma.hu/blog/banner-garden-plugin-for-wordpress/

      Notes:

      注释:

      I used WordPress 2.9.2 for developing this plugin, i don’t know, is it works with previous versions of it.

      我使用WordPress 2.9.2开发此插件,我不知道,它是否可以与以前的版本一起使用。

      I tested it with these browsers under Windows XP Pro SP3 (32-bit):

      我在Windows XP Pro SP3(32位)下使用这些浏览器对其进行了测试:

        • Firefox 3.6 rv.1.9.2,
        • Firefox 3.6 rv.1.9.2,

        • Google Chrome 4.1.249.1045 (42898)
        • Google Chrome 4.1.249.1045(42898)

        • Opera 10.10 Build 1893
        • Opera 10.10 Build 1893

        • Safari 4.0.4 (531.21.10)
        • Safari 4.0.4(531.21.10)

        • Internet Explorer 8.0.6001.18702
        • Internet Explorer 8.0.6001.18702

        Please write me if you have other configuration, and it works.

        如果您有其他配置,请写信给我,它会起作用。

        Localization:

        本地化:

        I translated it to Hungarian.

        我将其翻译为匈牙利语。

        If you translate it to other language(s), please send me the .mo/.po files, and i will add it to the package.

        如果您将其翻译为其他语言,请将.mo / .po文件发送给我,我会将其添加到软件包中。

        How Banner Garden works [detailed usage]:

        横幅花园的工作原理[详细用法]:

        Place a shortcode anywhere in your page (see below): [bannergarden id=”xxx”]

        在页面的任何位置放置一个简码(见下文):[bannergarden id =“ xxx”]

        The xxx is the ID of your campaign what you found at list of campaigns page.

        xxx是您在广告系列列表页面上找到的广告系列的ID。

        The quotes are important!

        引号很重要!

        You have several options to insert this shortcode into your page.

        您可以通过多种方法将此简码插入页面。

          • You can add it to your posts or pages through the WordPress editor.
          • 您可以通过WordPress编辑器将其添加到帖子或页面中。

          • You can use the Banner Garden widget, and place it to your sidebar(s).
          • 您可以使用Banner Garden小部件,并将其放置在侧边栏。

          • Edit the .php file what you want, and insert this code.
          • 编辑所需的.php文件,然后插入此代码。

          So, before your WordPress engine start to render the page, the plugin is search for this shortcode.

          因此,在您的WordPress引擎开始呈现页面之前,插件将搜索此短代码。

          If it founds, it try to process it.

          如果找到,它将尝试对其进行处理。

          About the process method.

          关于处理方法。

          The processor get out the id of the campaign.

          处理器获取广告系列的ID。

          Check, is this campaign exists, if yes, check is this campaign active, and if it is active, check, is the time settings are right.

          检查是否存在该活动,如果是,则检查该活动是否有效,如果活动,则检查时间设置是否正确。

          If everything is all right, it check is there any banner in this campaign.

          如果一切正常,则检查此广告系列中是否有任何横幅。

          If there is/are banner(s), then select one randomly, and replace the shortcode with your media.

          如果有横幅,则随机选择一个,并将短代码替换为您的媒体。

          If any of above condition fails, it will show the default banner what is placed in the plugin dirs media subdirectory named “default_banner.jpg”.

          如果以上任何条件失败,它将显示默认横幅,该默认横幅放置在名为“ default_banner.jpg”的插件dirs媒体子目录中。

          This happens only, if you did not checked out the “Show default banner if anything fails” option.

          仅当您没有签出“如果有任何失败时显示默认横幅”选项时,这种情况才会发生。

          I included a test falsh and a test image banner for you in this media subdirectory.

          在此媒体子目录中,我为您提供了一个测试狂和一个测试图像横幅。

          That’s it.

          就是这样。

          You can read more about this plugin, updates, users comments at http://vaso.sma.hu/blog/banner-garden-plugin-for-wordpress/

          您可以在http://vaso.sma.hu/blog/banner-garden-plugin-for-wordpress/ 上阅读有关此插件,更新和用户评论的更多信息。

          I did work very hard on this very first plugin, it tooks me 4 days, because i know wordpress only since a week.

          我在第一个插件上做得很努力,花了我4天的时间,因为我只有一个星期才知道wordpress。

          Thank You!

          谢谢!

下载地址
https://downloads.wordpress.org/plugin/banner-garden.0.1.3.zip
-EOF-

AI助手支持GPT4.0