[wordpress插件] Browse Content by My Solr Server通过我的Solr服务器浏览内容

wordpress 插件 文章 2020-03-11 19:40 488 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Browse Content by My Solr Server widget allows to navigate through WordPress content by standard WordPress attributes (categories, tags and authors) and custom fields.

“按我的Solr服务器浏览内容”小部件允许按标准WordPress属性(类别,标签和作者)和自定义字段浏览WordPress内容。

You can see a demo at http://www.eolya.fr/blog/

您可以在http://www.eolya.fr/blog/ 上观看演示。

安装步骤

Prerequisite

先决条件

Install and activate Advanced Search by My Solr Server plugin 2.0.0 and greater (https://wordpress.org/extend/plugins/advanced-search-by-my-solr-server/

通过My Solr Server插件2.0.0及更高版本安装并激活 Advanced Search (https://wordpress.org/extend/plugins/advanced-search-by-my-solr-server/

).

)。

Index your blog content into Solr (see Solr hosting provider here : http://www.mysolrserver.com/)

将您的博客内容编入Solr中(请参阅此处的Solr托管提供商:http://www.mysolrserver.com/)

Installation

安装

    1. Upload the browse-content-by-my-solr-server folder to the /wp-content/plugins/ directory
    2. browse-content-by-my-solr-server 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the Plugins menu in WordPress
    4. 通过WordPress中的 Plugins 菜单激活插件

    5. Drad & drop the widget in the sidebar
    6. 将小部件拖放到边栏中

    7. Edit the widget settings
    8. 编辑小部件设置

    Configuration

    配置

      1. Provide a widget title
      2. 提供小部件标题

      3. Provide the standard WordPress attributes (categories, tags and authors) and custom fields to be used in the widget
      4. 提供要在窗口小部件中使用的标准WordPress属性(类别,标签和作者)和自定义字段

      5. Select the template file from you theme to be used to show posts list.

      6. 从主题中选择用于显示帖子列表的模板文件。

        By default, the search.php template is used.

        默认情况下,使用 search.php 模板。

        You can chose to create a specific template.

        您可以选择创建一个特定的模板。

        For exemple, with the default WordPress themes, you can copy search.php to browse.php and remove the line that display the message “Search Results for:”.

        例如,使用默认的WordPress主题,您可以将search.php复制到browser.php,并删除显示消息“ Search Results for:”的行。

        A browse.php sample file is provided in the sample directory.

      7. 示例目录中提供了一个browser.php示例文件。

      Customize the posts list

      自定义帖子列表

      As explained just before, you can create a dedicated template file in your theme based for example on search.php.

      如前所述,您可以基于例如search.php在主题中创建专用模板文件。

      This template is in charge to implement the WordPress loop.

      该模板负责实现WordPress循环。


      <?php if(have_posts()):?>



      <?php while(have_posts()):the_post();

      ?>

      ?>



      <?php结束;

      ?>

      ?>

      Customize the widget display

      自定义窗口小部件显示

      The widget uses the template files template/mssbc_default.php and template/mssbc_default.css.

      该小部件使用模板文件 template / mssbc_default.php template / mssbc_default.css

      You can implement your own template by copying theses two files as mssbc_custom.php and mssbc_custom.css.

      您可以通过将这两个文件复制为 mssbc_custom.php mssbc_custom.css 来实现自己的模板。

      These two new files can be located in the widget’s template directory or in your theme’s main directory.

      这两个新文件可以位于小部件的模板目录或主题的主目录中。

下载地址
https://downloads.wordpress.org/plugin/browse-content-by-my-solr-server.2.0.4.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Comment-Emailer如何发送电子邮件
[wordpress插件] Amazon Related Products亚马逊相关产品
[wordpress插件] BUKAZU Search widgetBUKZU搜索小部件
[wordpress插件] Defender WordPress Security, Malware Detection, and FirewallDefender WordPress安全性,恶意软​​件检测和防火墙
[wordpress插件] Artichoke朝鲜蓟
随便看看
1月下旬的流量主结算单还没发? 353
当前行为疑似非本人操作,为保障资金安全,暂时无法完成交易,这是怎么回事? 1529
JSAPI 调起支付的时候提示缺少参数appId? 1670
关于APP实现提现到微信零钱功能。 855
如果没有申请微信公众号,只申请了微信支付,请问是不是不能在微信浏览器内发起微信支付? 382
ios设备上调取支付接口不行(体验版可以,线上版不行),安卓没问题。有人知道是什么情况吗? 591
微信支付接口返回SIGN_ERROR,原因? 4699
首次进入小程序,个人页面会加载所有数据。item有错误吗? 369
小程序分享方法图片地址可以是临时路径吗? 503
关于微信小程序云开发调用api返回内容问题? 439