विवरण
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.
स्थापना
This plugin can be installed as any other WordPress plugin.
Requirements
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“DeMomentSomTres Display Posts Shortcode” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“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.