[wordpress插件] Custom Blurb自订模糊

wordpress 插件 文章 2020-04-07 11:21 420 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin will let you pick any post or page or groups of them and sort them in any order.

此插件可让您选择任何帖子或页面或其中的组,并以任何顺序对其进行排序。

And if you dont pick any it will just show the most recent posts.

如果您不选择任何内容,它只会显示最新的帖子。

Most sites are made with groups of posts and specific areas of the screen and this will allow you to do that.

大多数站点都是由帖子组和屏幕上的特定区域组成的,这将使您能够做到这一点。

And you can use one of our premade templates or make your own to have the posts show up in a nice uniform manner

您可以使用我们的预制模板之一,也可以使用自己的模板以统一的方式显示帖子

安装步骤

Plugin Installation

插件安装

    1. in the wp admin, hit Plugins on the left nav
    2. 在wp管理员中,点击左侧导航栏中的插件

    3. find custom-blurb in the list of plugins and hit ‘activate’ if its not activated
    4. 在插件列表中找到custom-blurb,如果未激活,请点击“激活”

    5. now, in the wp admin hit Appearance on the left nav
    6. 现在,在wp管理员中,点击左侧导航栏中的外观

    7. under the Appearance menu theres a submenu item called ‘widgets’ and hit that
    8. 在“外观”菜单下有一个名为“小部件”的子菜单项,然后点击该子项。

    9. you should see Custom Blurb Widget in the list of available widgets
    10. 您应该在可用的小部件列表中看到“自定义模糊小部件”

    11. drag over the widget into one of your widget areas on the right side of the page (eg, “Sidebar 1″)
    12. 将窗口小部件拖放到页面右侧的窗口小部件区域之一(例如,“ Sidebar 1”)

    Getting started

    开始使用

    Ok now its installed into your sidebar.

    好,现在将其安装到侧边栏中。

    Heres how to configure it:

    以下是配置方法:

      1. on the blurb widget thats installed, if the widget window is closed, click on the little down triangle on the right of the title bar.

      2. 在已安装的blurb小部件上,如果小部件窗口关闭,请单击标题栏右侧的向下三角形。

        This should pop open the blurb widget window

      3. 这应该会弹出以打开Blubl小部件窗口

      4. fill out all the data in the fields.

        填写字段中的所有数据。

        As an example, the blurb widget is hard at work right now in this page’s sidebar

        举例来说,现在该页面的侧边栏中,blurb小部件很难工作

        and here’s how we set it up:

        设置方法如下:

        Display Title = “Another Blurb Example”

        显示标题=“另一个模糊示例”

        See more stories url: “/donate”

        查看更多故事网址:“ / donate”

        Default image url: (blank)

        默认图片网址:(空白)

        Number of posts to show: “2″

        显示的帖子数:“ 2”

        Number of thumbnails to show: “0″

        要显示的缩略图数量:“ 0”

        Go ahead and hit “Save”.

        继续并点击“保存”。

      5. Now here’s where it gets fun.

        现在这里很有趣。

        Hit the “Add” button.

        点击“添加”按钮。

        You should now have a popup that says “Find posts”

        现在,您应该有一个显示“查找帖子”的弹出窗口

      6. You can find on all different aspects.

      7. 您可以找到所有不同的方面。

        If you want to choose from posts that have the word “lucky” in the title

        如果要从标题中带有“ lucky”一词的帖子中选择

        then type “lucky” into the “Titles Contains” field.

        然后在“标题包含”字段中输入“ lucky”。​​

        If you want to see all the pages in your site click on the “Pages” checkbox in the Post Types area.

        如果要查看站点中的所有页面,请单击“帖子类型”区域中的“页面”复选框。

        You can also opt to see all posts and pages by checking them both, etc.

        您还可以通过选中所有帖子和页面,等等,选择查看所有帖子和页面。

        If you want to see all pages and posts that have “lucky” in the title, then type “lucky” into the “Titles Contains” field

        如果要查看标题中带有“ lucky”的所有页面和帖子,请在“ Titles Contains”字段中键入“ lucky”

        and check the “Posts” and “Pages” checkboxes in the the Post Types area.

      8. 并选中“帖子类型”区域中的“帖子”和“页面”复选框。

      9. Once you have narrowed your search filters, hit the “Search” button and voila!

      10. 缩小搜索范围后,请点击“搜索”按钮,瞧!

        A list of posts/pages will show up that match your criteria.

      11. 将显示符合您条件的帖子/页面列表。

      12. Check on any of the posts that you want to show up in your blurb widget
      13. 检查要显示在Blur小部件中的任何帖子

      14. Hit the “Use this Post” button.
      15. 点击“使用此帖子”按钮。

      16. You will now see the posts you selected in the widget area.
      17. 您现在将在小部件区域中看到您选择的帖子。

      18. If you dont like the order they are showing up in, you can drag them around to your hearts content.

      19. 如果您不喜欢它们显示的顺序,则可以将它们拖到心中满意的地方。

        10.Dont forget to hit “Save”!!

      20. 10.别忘了点击“保存”!

      21. Now check your blog and blurb
      22. 现在检查您的博客并进行模糊处理

      The Blurb Template

      模糊模板

      Ok well we’ve included a bunch of templates you can copy and paste from.
       

      好的,我们提供了许多模板,您可以从中复制和粘贴模板。
       

      You can certainly make your own but you will probably need some PHP experience or someone with PHP knowledge to make it go smoothly.
       

      您当然可以自己制作,但您可能需要一些PHP经验或具有PHP知识的人才能顺利进行。
       

      These are all found in the plugins widget/template folder.

      这些都可以在插件的widget / template文件夹中找到。

      The “default” template is whats in use – just copy and paste whatever template you want into that default template.

      “默认”模板正在使用中-只需将所需的任何模板复制并粘贴到该默认模板中即可。

      And then you can adjust all the CSS with the css style sheets found in plugin CSS folder.

      然后,您可以使用插件CSS文件夹中的CSS样式表调整所有CSS。

      And for all you scripties – if you wanna add jQuery stuff – just pop edit the scripts found in the JS folder.

      对于您所有的脚本(如果要添加jQuery内容),只需弹出编辑JS文件夹中找到的脚本即可。

      Advanced concepts

      高级概念

      If you know how to create widget areas within your template then actually you can put these blurbs all over the place

      如果您知道如何在模板中创建窗口小部件区域,那么实际上您可以将这些内容放到整个地方

      not just the sidebar.

      不只是侧边栏。

      There are plenty of client sites we made where they the entire page was covered in widget areas

      我们建立了许多客户站点,它们的整个页面都覆盖在小部件区域中

      and the blurbs just filled in the rest.

      剩下的内容就填满了。

      Even more convenient is the use of blurbs to control which posts you want to

      更加方便的是使用Blubs来控制您要发布的帖子

      hilite in your slider.

      滑条中的hilite。

      Think about it…

      考虑一下...

下载地址
https://downloads.wordpress.org/plugin/custom-blurb.zip
-EOF-

AI助手支持GPT4.0