[wordpress插件] AC Custom Loop ShortcodeAC自定义循环简码

wordpress 插件 文章 2020-01-24 20:40 549 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

A simple WordPress plugin that creates WordPress shortcode that will loop through posts, pages, or custom post types and display them on your website or blog.

一个简单的WordPress插件,可创建WordPress短代码,该短代码将遍历帖子,页面或自定义帖子类型,并将其显示在您的网站或博客上。

A typical use would be to show your latest post on your homepage.

典型的用法是在您的首页上显示您的最新帖子。

安装步骤

Use WordPress’ Add New Plugin feature, searching “AC custom loop”, or download the archive and:

使用WordPress的“添加新插件”功能,搜索“ AC自定义循环”,或下载存档,然后:

    1. Upload the plugin files to the /wp-content/plugins/ac-wp-custom-loop directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / ac-wp-custom-loop 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Add the shortcode [ac_custom_loop] to the content area of any page, post or custom post type or to any widget that supports shortcode.
    6. 将简码[ac_custom_loop]添加到任何页面,帖子或自定义帖子类型的内容区域或任何支持简码的小部件中。

    7. By default the shortcode will display your latest 4 post, you can use the ‘type’ and ‘show’ arguments to customise the type of post that are shown and how many eg.

    8. 默认情况下,简码将显示您最新的4条帖子,您可以使用“类型”和“显示”参数来自定义所显示的帖子类型和数量(例如)。

      [ac_custom_loop type=”page” show=”3″] would show the last three published pages.

    9. [ac_custom_loop type =” page” show =“” 3”]将显示最近发布的三个页面。

下载地址

https://downloads.wordpress.org/plugin/ac-custom-loop-shortcode.zip

https://downloads.wordpress.org/plugin/ac-custom-loop-shortcode.zip

-EOF-

AI助手支持GPT4.0