[wordpress插件] AsideShop商店

wordpress 插件 文章 2020-02-21 23:20 559 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

AsideShop is a WordPress plugin which allows you to show aside posts on your blog’s front page in a different way without theme template modification.

AsideShop是一个WordPress插件,可让您以其他方式在博客首页上显示旁听帖子,而无需修改主题模板。

Features:

功能:

    • No need to edit and modify theme templates – use your own.
    • 无需编辑和修改主题模板,只需使用自己的模板即可。

    • Easily create small templates within WordPress Administration Panel to display posts differently on the front page.
    • 在WordPress管理面板中轻松创建小模板,以在首页上以不同方式显示帖子。

    • Templates can contain dozens of pre-defined tags to use for posts and comments (e.g. %posts_title%, %comments_count%, etc.).
    • 模板可以包含数十个用于帖子和评论的预定义标签(例如,%posts_title%%comments_count%等)。

    • Assign templates to categories which contain aside posts.
    • 将模板分配给包含旁帖的类别。

    • Testing mode lets you preview the changes on the front page before the world sees it.
    • 测试模式使您可以在世界看到之前在首页上预览更改。

    • No extra data is added to categories or posts – AsideShop minds its own settings.
    • 没有额外的数据添加到类别或帖子– AsideShop会考虑自己的设置。

    • Upon AsideShop deactivation, all your posts are displayed as regular posts.

    • 停用AsideShop后,您所有的帖子都显示为常规帖子。

      Non-destructively.

    • 无损。

    • Works fine with text filters (Markdown, Textiler), caching plugins (WP_Cache, WP_Super_Cache) and other plugins.
    • 与文本过滤器(Markdown,Texterer),缓存插件(WP_Cache,WP_Super_Cache)和其他插件配合很好。

    • May not work with plugins and themes which use The Loop in uncommon way.
    • 可能不适用于以不常见的方式使用 The Loop 的插件和主题。

    AsideShop is primarily intended to use with aside posts but you can use it to have posts parsed differently according to the categories the posts are placed in.

    AsideShop主要用于旁听帖子,但是您可以使用它来根据帖子所在的类别对帖子进行不同的解析。

    ChangeLog is available on the Other Notes tab.

    ChangeLog可在其他说明标签上找到。

    ChangeLog

    ChangeLog

    1.2

    1.2

      1. Fixed a bug which caused a disappearance of post tags if %post_tags% tag was used in AsideShop template.

        修复了一个错误,该错误导致在AsideShop模板中使用%post_tags%标签时,post标签消失了。

        (Credit goes to tquizzle for pointing this out.)

        (要指出这一点,请转至问题。)

      2. You should not upgrade to AsideShop 1.2 if you are using WordPress 2.2.

        如果您使用的是WordPress 2.2,则不应升级到AsideShop 1.2。

      1.1

      1.1

        1. Fixed a bug which causes endless loop on certain WordPress 2.8 and 2.9 systems.

        2. 修复了导致某些WordPress 2.8和2.9系统无休止循环的错误。

          Now uses the_post hook instead of WP_Query override.

          现在使用 the_post 钩子而不是WP_Query覆盖。

          (For WordPress 2.7 and earlier versions WP_Query override is still used but I will drop support for these versions in near future.)

        3. (对于WordPress 2.7和更早版本,仍使用WP_Query覆盖,但不久以后我将不再支持这些版本。)

        4. Credit goes to Chris McLaren for his work on making AsideShop on WordPress 2.8 and 2.9 systems possible.<

        5. 为了使WordPress 2.8和2.9系统上的AsideShop成为可能的工作,请 Chris McLaren

          /li>

          / li>

        1.0.9

        1.0.9

          1. Tested with WordPress 2.8 and 2.9.
          2. 经过WordPress 2.8和2.9测试。

          1.0.8

          1.0.8

            1. Bug fixed which caused checkboxes on settings page check and uncheck in unintended matter.
            2. 修复了导致设置页面上的复选框选中并取消选中意外内容的错误。

            3. Tested with WordPress 2.7 beta1.
            4. 经过WordPress 2.7 beta1测试。

            1.0.7

            1.0.7

              1. Added Search View option to enable/disable aside post parsing in search result pages.
              2. 添加了“搜索视图”选项,以启用/禁用搜索结果页面中的帖子解析。

              3. Added new tag – %post_date_regular% to display post date on every aside post not just the lastest one in particular day.
              4. 添加了新标签– %post_date_regular%,以在每条旁架帖子上显示帖子日期,而不仅仅是特定日期的最新帖子。

              1.0.6

              1.0.6

                1. Checked compatibility with WordPress 2.6.
                2. 已检查与WordPress 2.6的兼容性。

                3. Fixed a bug when AsideShop shows an error if installed on a fresh WordPress installation.
                4. 修复了AsideShop在全新的WordPress安装上显示错误时的错误。

                5. When installed on a fresh WordPress installation, ‘parse on Front Page’ option is selected by default.
                6. 在全新安装的WordPress上安装后,默认情况下会选中“在首页上解析”选项。

                1.0.5

                1.0.5

                  1. Added new tags %post_categories% and %post_tags% to display categories and tags of aside posts.

                  2. 添加了新标签%post_categories%%post_tags%,以显示旁边帖子的类别和标签。

                    Multiple categories or tags will be separated by commas.

                    多个类别或标签将以逗号分隔。

                    (%post_tags% will only work with WordPress 2.3 and later releases.)

                  3. %post_tags%仅适用于WordPress 2.3及更高版本。)

                  4. Added Italian translation by Gianni Diurno.
                  5. 通过 Gianni Diurno 添加了意大利语翻译。

                  6. Spanish translation files were renamed from asideshop-es to asideshop-es_ES.

                  7. 西班牙语翻译文件从 asideshop-es 重命名为 asideshop-es_ES

                    This should work with common Spanish translations.

                  8. 这应该适用于常见的西班牙语翻译。

                  1.0.4

                  1.0.4

                    1. Added options to choose whether templates should be parsed on front, category, tag, date, author, archive view pages.
                    2. 添加了用于选择是否应在首页,类别,标签,日期,作者,存档视图页面上解析模板的选项。

                    3. Default template is offered upon adding new template.
                    4. 添加新模板后会提供默认模板。

                    5. Added Spanish translation by Marcelo Lynch.
                    6. 通过 Marcelo Lynch 添加了西班牙语翻译。

                    1.0.3

                    1.0.3

                      1. Settings panel has WordPress 2.5 native looks.

                      2. “设置”面板具有WordPress 2.5本机外观。

                      Translation

                      翻译

                      If you wish to translate AsideShop, use asideshop.pot file which is included in the download.

                      如果您想翻译AsideShop,请使用下载中包含的 asideshop.pot 文件。

                      E-mail me at miro [at] apollo [dot] lv and I will include your translation in future releases.

                      给我发电子邮件至 miro [at] apollo [dot] lv ,我将在以后的版本中包含您的翻译。

                      Known Issues

                      已知问题

                        • If AsideShop plugin is enabled, logged in user won’t see Edit This Post link as there is no such tag to use in templates.

                          如果启用了AsideShop插件,则登录用户将不会看到编辑此帖子链接,因为模板中没有可使用的此类标签。

                        • If AsideShop plugin is enabled, templates created in WordPress Administration Panel have higher priority than those create in theme templates (using is_aside() function).

                          如果启用了AsideShop插件,则在WordPress管理面板中创建的模板比在主题模板中创建的模板(使用 is_aside()函数)具有更高的优先级。

                        • If text filter plugins are used (Textile, Markdown, etc), WordPress wraps the text in paragraph tags (

                          ..

                          ) while parsing.

                          如果使用文本过滤器插件(Textile,Markdown等),则WordPress在解析时会将文本包装在段落标签(

                          .. )中。

                          Therefore if you use %post_content_filtered% tag in AsideShop templates, the text will also be wrapped in paragraph tags.

                          因此,如果您在AsideShop模板中使用%post_content_filtered%标记,则文本也将包裹在段落标记中。

                        • If a post is placed in several categories and at least one category of these is selected as containing aside posts, the post will be displayed as an aside post according to the template which is assigned to the first category (in alphabetical order)

                          如果帖子被放置在多个类别中,并且其中至少一个类别被选择为包含旁白帖子,则该帖子将根据分配给第一类别的模板(按字母顺序)显示为旁白帖子。

                          .

                        • If you split aside post with tag, only the part before is displayed with

                          如果使用 <!-more-> 标签将帖子分开,则仅将 <!-more-> 之前的部分显示为

                          >%post_content% and %post_content_filtered% tags.

                          >%post_content%%post_content_filtered%标记。

安装步骤

How to Install

如何安装

    1. Download the plugin archive and extract the files it contains.
    2. 下载插件档案并提取其中包含的文件。

    3. Upload extracted asideshop/ folder to the /wp-content/plugins/ directory of your blog.
    4. 将提取的 asideshop / 文件夹上载到博客的 / wp-content / plugins / 目录。

    5. Activate the AsideShop plugin through the ‘Plugins’ menu in WordPress Administration Panel.
    6. 通过WordPress管理面板中的“插件”菜单激活AsideShop插件。

    7. Look for AsideShop submenu under Settings menu in WordPress Administration Panel.
    8. 在WordPress管理面板中的“设置”菜单下查找AsideShop子菜单。

    How to Configure

    如何配置

      1. Create a posts category (in WordPress Administration Panel under Manage > Categories) which will contain your aside posts, e.g.

      2. 创建一个帖子类别(在WordPress管理面板中的管理> 类别下),其中将包含您的备用帖子,例如

        Asides if you don’t have one already.

      3. (如果您还没有)。

      4. Go to AsideShop settings page (look under Settings (WordPress 2.5 and later) or Options (older versions)).
      5. 转到AsideShop设置页面(在设置(WordPress 2.5及更高版本)或选项(旧版本)下查看)。

      6. Click on Add Template button and create a template for you aside posts.

      7. 点击添加模板按钮并为您创建一个模板,以供您放置帖子。

        All the tags available for use will be displayed under the text input box.

      8. 所有可使用的标签将显示在文本输入框下方。

      9. Click on Save Changes (WordPress 2.5 and later) or Update AsideShop Options (older versions) button to save the template.
      10. 点击保存更改(WordPress 2.5及更高版本)或更新AsideShop选项(旧版本)按钮以保存模板。

      11. Select the category that contains (or will contain) aside posts and assign the template you just created.
      12. 选择包含(或将包含)旁边帖子的类别,并分配刚刚创建的模板。

      13. Select Enable AsideShop for testing option and check whether your blog’s front page looks alright.

      14. 选择启用AsideShop进行测试选项,然后检查您的博客首页是否正常。

        Your aside posts will be displayed inline with another posts.

      15. 您旁听的帖子将与其他帖子一起在线显示。

      16. If the front page seems to work fine, select Enable AsideShop option.

      17. 如果首页似乎工作正常,请选择启用AsideShop 选项。

        That’s it.

      18. 就是这样。

下载地址
https://downloads.wordpress.org/plugin/asideshop.1.2.zip
-EOF-

AI助手支持GPT4.0