[wordpress插件] Author Location作者位置

wordpress 插件 文章 2020-02-23 16:40 517 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Allows authors to set their location, and then display it on a Google Map.

允许作者设置他们的位置,然后将其显示在Google地图上。

Adds a template tag:

添加模板标签: <?php al_list_authors();

?> with the following available arguments:

?> 具有以下可用参数:

    • include_protected_posts=1 : Include protected posts when calculating the latest post.
    • include_protected_posts = 1:计算最新帖子时包括受保护的帖子。

    • echo=1 : Whether to write the map and listing into the page, or return it (so you can assign the HTML to a variable).
    • echo = 1:是将地图和列表写入页面还是返回页面(以便可以将HTML分配给变量)。

    The HTML output is fairly heavily classed, for ease of CSS styling, but if you need to adapt it you can.

    为了简化CSS样式,HTML输出的分类相当严格,但是如果需要对其进行调整,则可以。

    Create a directory in your theme called “view”, and a directory within that one called “author-listings”.

    在您的主题中创建一个名为“ view”的目录,并在其中创建一个名为“ author-listings”的目录。

    Then copy the template files from view/author-location/ in the plugin directory into your theme directory and amend as you need.

    然后将模板文件从插件目录中的 view / author-location / 复制到主题目录中,并根据需要进行修改。

    If these files exist in these directories in your theme they will override the ones in the plugin directory.

    如果这些文件存在于主题的这些目录中,则它们将覆盖plugin目录中的文件。

    This is good because it means that when you update the plugin you can simply overwrite the old plugin directory as you haven’t changed any files in it.

    这很好,因为这意味着更新插件时,您可以简单地覆盖旧的插件目录,因为其中没有更改任何文件。

    All hail John Godley for the code which allows this magic to happen.

    所有 John Godley 都提供了使这种魔术发生的代码。

    Plugin initially produced on behalf of Puffbox.

    插件最初是代表 Puffbox 产生的。

    Is this plugin lacking a feature you want?

    此插件缺少您想要的功能吗?

    I'm happy to accept offers of feature sponsorship: contact me and we can discuss your

    我很高兴接受功能赞助的提议:与我联系,我们可以讨论您的问题

    ideas.

    想法。

    Any issues: contact me.

    任何问题:与我联系

安装步骤

The plugin is simple to install:

该插件易于安装:

    1. Download author-locations.zip
    2. 下载 author-locations.zip

    3. Unzip
    4. 解压缩

    5. Upload author-locations directory to your /wp-content/plugins directory
    6. author-locations 目录上传到您的 / wp-content / plugins 目录

    7. Go to the plugin management page and enable the plugin
    8. 转到插件管理页面并启用插件

    9. Give yourself a pat on the back
    10. 拍拍自己的背

下载地址
https://downloads.wordpress.org/plugin/author-locations.1.0.zip
-EOF-

AI助手支持GPT4.0