[wordpress插件] CollectionPressCollectionPress

wordpress 插件 文章 2020-03-27 14:20 509 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

CollectionPress provides a variety of features for building author or researcher pages within WordPress.

CollectionPress提供了多种功能来在WordPress中构建作者或研究人员页面。

Items archived in DSpace can also be displayed through CollectionPress.

在DSpace中存档的项目也可以通过CollectionPress显示。

Prerequisites

先决条件

You need to be running a DSpace instance which is using the KnowledgeArc REST API.

您需要运行一个使用 KnowledgeArc REST API的DSpace实例

The core REST API currently has limited functionality that is required for CollectionPress to deliver a full set of features.

目前,核心REST API的功能有限,CollectionPress才需要提供全部功能。

In particular, CollectionPress makes use of the DSpace Discovery (a simple wrapper for Apache Solr), which is currently only exposed via the KnowledgeArc REST API.

特别是,CollectionPress利用了DSpace Discovery(Apache Solr的简单包装),该功能目前仅通过KnowledgeArc REST API公开。

The CollectionPress roadmap includes supporting the DSpace REST API as it develops.

CollectionPress路线图包括在开发过程中支持DSpace REST API。

Getting Started

入门

    1. Log into your WordPress admin,
    2. 登录您的WordPress管理员,

    3. Install CollectionPress,
    4. 安装CollectionPress,

    5. Configure CollectionPress by setting up a connection your DSpace instance (Settings -> CollectionPress),
    6. 通过建立您的DSpace实例的连接(设置-> CollectionPress)来配置CollectionPress,

    7. Create a Page (Pages -> Add New).

    8. 创建页面(页面->添加新页面)。

      This page will be used for displaying your DSpace items,

    9. 此页面将用于显示您的DSpace项目,

    10. Select the Page you have just created in step 4 using the Item View Page dropdown, available in the CollectionPress general settings (Settings -> CollectionPress),
    11. 使用 Item View Page (项目查看页)下拉菜单选择您刚刚在步骤4中创建的页面,该下拉列表可在CollectionPress常规设置(设置-> CollectionPress)中找到,

    12. Create a page or blog post.

    13. 创建页面或博客文章。

      Add the collectionpress shortcode to display an author’s items:

    14. 添加collectionpress简码以显示作者的项目:

    [collectionpress list=”items” author=”Author Name”]

    [collectionpress list =” items” author =“作者名”]

    You can also create Author Pages using the CollectionPress Author Pages manager (Authors -> Add).

    您还可以使用CollectionPress作者页面管理器(作者->添加)来创建作者页面。

    Settings

    设置

    Available settings for configuring CollectionPress are:

    用于配置CollectionPress的可用设置为:

    Rest Url

    其他网址

    Rest Url is used to configure the DSpace REST endpoint.

    Rest Url用于配置DSpace REST端点。

    An example endpoint might look like:

    一个示例端点可能看起来像:

    http://myarchive.tldest

    http://myarchive.tldest

    Item View Page

    项目查看页面

    An item page is used to display a DSpace item directly via the REST API.

    项目页面用于直接通过REST API显示DSpace项目。

    You will need to create a WordPress Page and assign it using the Item View Page dropdown in order to view a DSpace item in WordPress.

    您将需要创建一个WordPress页面并使用“项目查看页面”下拉列表进行分配,以便在WordPress中查看DSpace项目。

    Author List Page

    作者列表页面

    The author list page displays a list of Author Pages.

    作者列表页面显示“作者页面”列表。

    You will need to create a WordPress Page and assign it using the Author List Page dropdown in order to browse authors.

    您将需要创建一个WordPress页面并使用“作者列表页面”下拉列表进行分配,以便浏览作者。

    Author Pages

    作者页面

    CollectionPress provides a feature called Author Pages.

    CollectionPress提供了一个称为“作者页面”的功能。

    Author Pages can be used for displaying information about an author or researcher, such as name, bio and location.

    作者页面可用于显示有关作者或研究人员的信息,例如姓名,简历和位置。

    You can also configure the Author Page to display the author’s items.

    您还可以配置“作者页面”以显示作者的项目。

    To manage your Author Pages, click on “Authors” from the wp-admin main menu.

    要管理您的作者页面,请从wp-admin主菜单中单击“作者”。

    Creating an Author Page

    创建作者页面

    To create an author page, log into WordPress admin and select Authors -> Add from the Dashboard menu or select Authors -> All and click on Add from the Authors page.

    要创建作者页面,请登录WordPress admin,然后从“仪表板”菜单中选择“作者”->“添加”,或选择“作者”->“所有”,然后从“作者”页面单击“添加”。

    Once in the “Add New” page, specify your author’s details.

    在“添加新”页面中,指定作者的详细信息。

    When typing the author’s name, a controlled list of names are retrieved from DSpace;

    输入作者姓名时,将从DSpace检索姓名的受控列表;

    in order for DSpace items to be listed in the Author Page, the author name must exactly match an author name in DSpace.

    为了使DSpace项目在“作者”页面中列出,作者姓名必须与DSpace中的作者姓名完全匹配

    Author Info

    作者信息

    You can use the Author Info section to specify what is shown on the author page as well as link the author page to a registered WordPress author.

    您可以使用“作者信息”部分指定作者页面上显示的内容,以及将作者页面链接到注册的WordPress作者。

    Show items for this Author

    显示该作者的项目

    Tick to show the DSpace items corresponding to the Author’s name.

    勾选以显示与作者姓名对应的DSpace项目。

    The author’s name must exactly match an author in DSpace.

    作者的姓名必须与DSpace中的作者完全匹配。

    Show posts for this Author

    显示该作者的帖子

    Tick to show blog posts belonging to the author.

    勾选以显示属于作者的博客文章。

    You must link the author page to a registered WordPress author for this feature to work.

    您必须将作者页面链接到注册的WordPress作者,才能使用此功能。

    Select Author

    选择作者

    Select the registered WordPress author to link to the Author Page.

    选择注册的WordPress作者以链接到作者页面。

    You only need to link a WordPress author to an author page if Show posts for this Author is Yes.

    如果显示该作者的帖子,则只需将WordPress作者链接到作者页面。

    Link a Registered User to an Author Page

    将注册用户链接到作者页面

    Author Pages can also be linked to existing WordPress authors.

    作者页面也可以链接到现有的WordPress作者。

    Linking an Author Page to a registered author allows you to display the registered author’s WordPress blog posts within the Author Page.

    将作者页面链接到注册作者后,您可以在作者页面中显示注册作者的WordPress博客文章。

    You can link a registered author by editing the Author Page:

    您可以通过编辑作者页面来链接注册作者:

      • Scroll to “Author Details”,
      • 滚动到“作者详细信息”,

      • Check “Show Posts for this author”,
      • 选中“显示该作者的帖子”,

      • Select the registered WordPress author from the drop down list,
      • 从下拉列表中选择注册的WordPress作者,

      • Save.
      • 保存。

      Shortcode

      简码

      The CollectionPress shortcode allows you to include DSpace item lists within blog posts, pages and other content which can parse shortcode.

      CollectionPress短代码使您可以在博客文章,页面和其他可以解析短代码的内容中包含DSpace项目列表。

      You do not need to use the CollectionPress shortcode in an Author Page.

      您不需要在“作者页面”中使用CollectionPress短代码

      Instead, tick Show items for this Author in the Author Details section of the Author Page editor.

      而是在“作者页面”编辑器的作者详细信息部分中,勾选显示该作者的项目

      The basic CollectionPress shortcode.

      基本的CollectionPress简码。

      Syntax:

      语法:

      [collectionpress list=”authors|items”]

      [collectionpress list =”作者|项目”]

      Params:

      参数:

      list

      列表

      The type of list to display.

      要显示的列表类型。

      The default is “items”.

      默认值为“项目”。

      DSpace Items by Author

      作者的DSpace项目

      Lists the items associated with an author.

      列出与作者相关的项目。

      Syntax:

      语法:

      [collectionpress list=”items” author=”Author Name”]

      [collectionpress list =” items” author =“作者名”]

      Params:

      参数:

      author

      作者

      The author parameter must exactly match the author name in DSpace.

      author参数必须与DSpace中的作者姓名完全匹配。

      List Authors

      列表作者

      Lists all authors who have an Author Page.

      列出具有“作者页面”的所有作者。

      Syntax:

      语法:

      [collectionpress list=”authors” limit=”1″]

      [collectionpress list =” authors” limit =“ 1”]

      Params:

      参数:

      limit

      限制

      The number of records to display per page.

      每页显示的记录数。

      Template Overriding

      模板覆盖

      CollectionPress output can be overridden in your WordPress Theme.

      CollectionPress输出可以在您的WordPress主题中覆盖。

      All templates are located in frontend/template.

      所有模板都位于前端/模板中。

      To override, copy files from frontend/template to your theme’s collectionpress directory then modify to meet your needs.

      要覆盖,请将文件从前端/模板复制到主题的collectionpress目录,然后进行修改以满足您的需求。

下载地址
https://downloads.wordpress.org/plugin/collectionpress.1.0.0.zip
-EOF-

AI助手支持GPT4.0