[wordpress插件] Ajax Scroll阿贾克斯滚动

wordpress 插件 文章 2020-02-14 04:40 598 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

AJAX Scroll links an AJAX-enabled page scroller to the standard next and previous post links.

AJAX滚动将启用AJAX的页面滚动器链接到标准的下一个和上一个帖子链接。

Clicking on a next or previous link will cause the current page to fade and slide out;

单击下一个或上一个链接将使当前页面淡出并滑出;

the following page will slide and fade in.

接下来的页面将滑动并淡入。

安装步骤

    1. Download the zip file, unzip it, and place it in your /wp-content/plugins directory.

    2. 下载zip文件,将其解压缩,然后将其放在/ wp-content / plugins目录中。

    3. Activate the plugin via the ‘Plugins’ menu in WordPress.

    4. 通过WordPress中的“插件”菜单激活插件。

    5. In your theme, before calling the “previous_posts_link” or “next_posts_link” functions, declare a global variable “as_elem_id” and store the ID of the content container.

    6. 在您的主题中,在调用“ previous_posts_link”或“ next_posts_link”函数之前,声明一个全局变量“ as_elem_id”并存储内容容器的ID。

      (In the default WordPress theme, this is “content”.)

    7. (在默认的WordPress主题中,这是“内容”。)

    For example,

    例如,

    $as_elem_id = ‘some_value’;

    $ as_elem_id =‘some_value’;

    where is the element ID of the post container where the contents will be replaced.

    其中是将替换内容的邮政集装箱的元素ID。

下载地址

https://downloads.wordpress.org/plugin/ajax-scroll.0.42.zip

https://downloads.wordpress.org/plugin/ajax-scroll.0.42.zip

-EOF-

AI助手支持GPT4.0