Title: DeMomentSomTres Display Posts Shortcode
Author: Marc Queralt i Bassa
Published: <strong>2013 年 11 月 17 日</strong>
Last modified: 2024 年 11 月 25 日

---

搜索插件

![](https://ps.w.org/demomentsomtres-display-posts-shortcode/assets/banner-772x250.
png?rev=806633)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/demomentsomtres-display-posts-shortcode_f3b958.
svg)

# DeMomentSomTres Display Posts Shortcode

 作者：[Marc Queralt i Bassa](https://profiles.wordpress.org/marcqueralt/)

[下载](https://downloads.wordpress.org/plugin/demomentsomtres-display-posts-shortcode.zip)

 * [详情](https://cn.wordpress.org/plugins/demomentsomtres-display-posts-shortcode/#description)
 * [评价](https://cn.wordpress.org/plugins/demomentsomtres-display-posts-shortcode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/demomentsomtres-display-posts-shortcode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/demomentsomtres-display-posts-shortcode/#developers)

 [支持](https://wordpress.org/support/plugin/demomentsomtres-display-posts-shortcode/)

## 描述

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](https://codex.wordpress.org/Class_Reference/WP_Query) 
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](http://demomentsomtres.com/english/wordpress-plugins/demomentsomtres-language/).
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.

## 安装

This plugin can be installed as any other WordPress plugin.

#### Requirements

 * Uses [DeMomentSomTresTools Plugin](http://demomentsomtres.com/english/wordpress-plugins/demomentsomtres-tools/).

## 评价

此插件暂无评价。

## 贡献者及开发者

「DeMomentSomTres Display Posts Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Marc Queralt i Bassa ](https://profiles.wordpress.org/marcqueralt/)
 *   [ Neha Tehreem ](https://profiles.wordpress.org/nehatehreem/)

[帮助将「DeMomentSomTres Display Posts Shortcode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/demomentsomtres-display-posts-shortcode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/demomentsomtres-display-posts-shortcode/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/demomentsomtres-display-posts-shortcode/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/demomentsomtres-display-posts-shortcode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/demomentsomtres-display-posts-shortcode/)。

## 更新日志

#### v2.5

 * Compatibility WP 6.7

#### v.2.4.1

 * parameter imagenolink to show thumbnails without links. Video thumbnail compatibility
   issue.

#### v2.4

 * Parameter imageaftertitle if set to true

#### v2.3

 * Parameter excludecategory

#### v2.2

 * Parameter old
 * Parameter empty

#### v2.1.3

 * order_by parameter in shortcode acts exactly as orderby

#### v2.1.2

 * Multisite error on empty queries solved.

#### v2.1

 * Empty query message

#### v1.1

 * metaorderby attribute added
 * metaorderbynum attibute added
 * administration page
 * open using javascript

#### v1.0

 * Initial version based on 2.2 by Bill Erickson.
 * Network parameter added.

## 额外信息

 *  版本 **2.5**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **4.1.42**
 *  语言
 * [English (US)](https://wordpress.org/plugins/demomentsomtres-display-posts-shortcode/)
 * 标签
 * [page](https://cn.wordpress.org/plugins/tags/page/)[pages](https://cn.wordpress.org/plugins/tags/pages/)
   [posts](https://cn.wordpress.org/plugins/tags/posts/)[query](https://cn.wordpress.org/plugins/tags/query/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/demomentsomtres-display-posts-shortcode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/demomentsomtres-display-posts-shortcode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/demomentsomtres-display-posts-shortcode/reviews/)

## 贡献者

 *   [ Marc Queralt i Bassa ](https://profiles.wordpress.org/marcqueralt/)
 *   [ Neha Tehreem ](https://profiles.wordpress.org/nehatehreem/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/demomentsomtres-display-posts-shortcode/)