跳到内容

DeMomentSomTres Display Posts Shortcode

v2.5

Marc Queralt i Bassa · 2013年11月17日 上架

Display a listing of posts using the [display-posts] shortcode allowing multiple network instances.

正在使用
10+
评分
暂无
累计下载
3,218
最近更新
2024年11月25日
需要 WordPress 3.0+已测试到 4.1.42

Based on development by Bill Erickson (http://www.billerickson.net/shortcode-to-display-posts/). We have added support to multisite in order to be capable of reading any other blog in the network.

The DeMomentSomTres Display Posts Shortcode was written to allow users to easily display listings of posts without knowing PHP or editing template files and extendend to take the maximum profit from a network install with multiple blogs.

Usage

Add the shortcode in a post or page, and use the arguments to query based on tag, category, post type, and many other possibilities (see the Arguments). I’ve also added some extra options to display something more than just the title: include_date, include_excerpt, and image_size.

Add the parameter blog_id to change the network instance number.

See the WordPress Codex for information on using the arguments.

The parameter metaorderby allows to order based on a metafield or customfield value. The parameter metaorderbynum does the same but considering the values as numbers.

History & Raison d’être

A customer of us needed a multisite website to implement multiple languages and she was using DeMomentSomTres Language Plugin. Although they could have many blogs they didn’t want to keep 3 blogs informed. However they wanted to show the blog in all the subsites. So we build this plugin allowing to show blog content from other sites in the multisite installation.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums