[wordpress插件] Ajax Archives阿贾克斯档案馆

wordpress 插件 文章 2020-02-13 08:00 547 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Display your archives in collapsible mode using ajax and jQuery.

使用ajax和jQuery以可折叠模式显示档案。

Each subnode is loaded via ajax as per user request, so not whole archive is loaded each time your archives page is displayed.

每个子节点都是根据用户请求通过ajax加载的,因此,每次显示存档页面时,不会加载整个存档。

If you have performance problems or server issues with other archive plugins, try this one and enjoy.

如果您在使用其他存档插件时遇到性能问题或服务器问题,请尝试使用此插件并享受乐趣。

It also displays the post count for each year and for each month and the comment count for each post.

它还显示每年和每月的帖子数以及每个帖子的评论数。

And uses your current wordpress date_format to format the dates.

并使用您当前的wordpress date_format格式化日期。

安装步骤

    1. Upload ajax-archives entire folder to the /wp-content/plugins/ directory
    2. 将整个 ajax-archives 文件夹上载到 / wp-content / plugins / 目录

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

    5. Now you can use template tag to show the archive on your template.
    6. 现在您可以使用 <?php ajaxar_get_years();?> 模板标记在模板上显示存档。

    7. Or you can put [ajaxar] under a page or post content that will be replaced by the archive.
    8. 或者您可以在页面下放置 [ajaxar] 或发布将由存档替换的内容。

    You can use following css classes to style the list:

    您可以使用以下CSS类来设置列表样式:

    .ajaxar_years ul for years

    .ajaxar_years ul

    .ajaxar_months ul for months

    .ajaxar_months ul 个月

    .ajaxar_posts ul for posts

    .ajaxar_posts ul 用于帖子

    .ajaxar_year_item li year item

    .ajaxar_year_item li 年项目

    .ajaxar_month_item li month item

    .ajaxar_month_item li 月项目

    .ajaxar_post_item li post item

    .ajaxar_post_item li 发布项目

下载地址

https://downloads.wordpress.org/plugin/ajax-archives.1.0.zip

https://downloads.wordpress.org/plugin/ajax-archives.1.0.zip

-EOF-

AI助手支持GPT4.0