[wordpress插件] A Year Ago一年前

wordpress 插件 文章 2020-01-23 06:00 645 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

This plug-in will create a link to a single post that was published exactly one year prior to the post currently being viewed.

此插件将创建指向单个帖子的链接,该链接在当前查看该帖子的一年之前发布。

For example, if the post being viewed was published 2011-01-15, the plug-in will create a link to the post published 2010-01-15.

例如,如果正在查看的帖子发布于2011-01-15,则该插件将创建指向发布的帖子2010-01-15的链接。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload ayearago.php to the /wp-content/plugins/ directory
    2. ayearago.php 上载到 / wp-content / plugins / 目录

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

    5. Place

    6. 放置 <?php ayearago();

      ?> in your theme’s header.php file.

    7. ?> 在您主题的header.php文件中。

下载地址

https://downloads.wordpress.org/plugin/a-year-ago.zip

https://downloads.wordpress.org/plugin/a-year-ago.zip

-EOF-

AI助手支持GPT4.0