[wordpress插件] A Long Time Ago很久以前

wordpress 插件 文章 2020-01-23 00:20 506 0 全屏看文

AI助手支持GPT4.0

评分

80

80

描述

A Long Time Ago is a WordPress plugin that replaces the default post time (for example: “Posted on 01/01/2011 at 11:11”) with “Posted x time ago” (examples: “Just now”,

A Long Time Ago是一个WordPress插件,将默认的发布时间(例如:“ Posted on 01/01/2011 at 11:11”)替换为“ Posted x time ago”(例如:“ Just now”,

“2 hours ago”, “Yesterday”, “on Thursday”, “3 weeks ago”, “1 year ago”).

“ 2小时前”,“昨天”,“周四”,“ 3周前”,“ 1年前”。

Enjoy!

享受!

Features Include:

功能包括:

    • Translation-ready.

    • 已准备好翻译。

      Includes English, Polish and Spanish.

    • 包括英语,波兰语和西班牙语。

    • [time_ago] shortcode allowing to place the time within posts and plugins.
    • [time_ago] 短码允许将时间放置在帖子和插件中。

    • ISO-formatted HTML element
    • ISO格式的
    • special cases: “just now” and “yesterday”
    • 特殊情况:“现在”和“昨天”

    Bonus:

    奖金:

      • Function improving display of weekdays when using Polish language
      • 使用波兰语时可改善工作日显示的功能

安装步骤

    1. Upload long-time-ago folder to the /wp-content/plugins/ directory or go to your WordPress Admin Panel -> Plugins -> Add New ->

    2. long-time-ago 文件夹上传到 / wp-content / plugins / 目录,或转到WordPress管理面板->插件->添加新内容->

      Upload (wp-admin/plugin-install.php?tab=upload)

    3. 上传( wp-admin / plugin-install.php?tab = upload

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

    6. Use time_ago() to place the posted on date in your templates or get_time_ago() to retrieve it.

    7. 使用 time_ago()发布日期放入模板中,或使用 get_time_ago()进行检索。

      You can also use the [time_ago] shortcode.

    8. 您还可以使用 [time_ago] 简码。

下载地址

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

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

-EOF-

AI助手支持GPT4.0