Network Posts Extended

Description

The plugin is designed to list posts, pages, and custom post types from across entire WordPress multisite network on any given page for any subdomain and the main blog.

If you would like to list all posts in a WordPress multisite installation on any other blog in the network this plugin will do that for you. Let’s say you want to list the posts from all blogs or selected blogs on the main site you may do so with pagination or limit the amount of posts. You may also list the main blog in a multisite installation on any sub blog. You may list posts from blog1 and blog2 on blog3 or the main blog. Any combination is possible. This makes a perfect WordPress Multisite Posts listing plugin. You may also filter the listing anyway you desire by title keyword or category. Even custom categories.

7.7.1

Added two parameters. hide_post_date_meta_info and (these both must be used together) wrap_post_date_start & wrap_post_date_end so you may customize the post date. For example wrap_post_date_start=’

‘ wrap_post_date_end=’

‘. If you want to hide the post date information altogether you can set hide_post_date_meta_info=’false’. Default is ‘true’.

7.7.0

Just confirmed compatibility with the latest version of WordPress.

7.6.9

Add three new attributes wrap_source=’true/false’. Default is true but when set to false all items will be at same level for better arranging of items via css. show_author_avatar=’true/false’. Default is false. Shows the members default avatar. author_avatar_size=’x’ where x is the size in pixels. So if you enter 16 the avatar will be sixteen pixels wide and sixteen pixels high.

7.6.6

Added new attributes main_title= which acts like the older title= but includes wrap_custom_title_start/end so you may wrap the title with additional HTML. Plus the ability to give the title a custom link using main_title_link=’custom-url’.

7.6.4

Now works with plugin Pages with category and tag. Used to throw a for each error when listing by taxonomy from pages.

7.6.3

Fixed PHP8 error and also added attribute where you may now open links in a new window. img_link_open_new_window=’false’ is the default. Set it to true to activate it.

7.6.2

Fixed bug where it wasn’t listing ACF fields in a consistent order.

7.6.1

Fixed bug where if show_ratings is set to true and star rating plugin not installed causes php errors for empty tables.

7.6.0

Added to new parameters. 1) main_title=’custom-title’ and 2) main_title_link=’https://mysite.com/custom-link’ so you may now add a custom title to each list and have it link to any page, post or website you desire.

7.5.8

Fixed but where page_has_no_child=’true’ wasn’t working. Moved pagination links to their own div so will remain on bottom of post lists.

7.3.9

Fixed error where it now works with both the free and paid version of Advanced Custom Fields through JSON call up.

7.3.8

Works with ACF fields loaded by json.

List of Arguments

This list of arguments have been moved to https://agaveplugins.com/npe-tutorial

Shortcode Examples:

  1. [netsposts post_type=’page’] – Will only show a list of pages from all sites.
  2. [netsposts post_type=’books’ – Will only show posts in the custom post type of books.
  3. [netsposts include_blog=’3,11′ – Will only show posts from the sites with the ID of 3 and 11. No other posts will be shown.

Key Features:

  • Shows posts with excerpts from content or manual excerpt field.
  • Can limit length of excerpt by letters or words.
  • Has the option to show full content of posts.

Screenshots

  • Using argument use_layout='inline'.
  • Showing custom thumbnail size by using size='custom-thumbnail-size'
  • Can be displayed in multiple columns with some css editing.
  • Image resizing. You may set up custom image sizes and regenerate thumbnails.

FAQ

Why is the plugin is only pulling in posts from main blog only?

There are two answers to this question. 1) You have include_blog='1' inside the shortcode. Simply remove this. 2) The other blogs are not setup as public. When you go in to network admin area and visite sites > (any subsite) > edit you will see a list of four checkboxes. Make sure the one marked public is checked. If a site is marked as private, spam, etc… anything other than public this plugin will not show it (as it shouldn’t for security reasons).

Should I network activate the plugin?

You may network activate the plugin so it is available on all sites or activate individually. When network activated there will be a new menu for the plugin under settings > Network Posts Thumbnails which will allow you to give certain permissions to blog owners when it comes to the thumbnail sizes. You may allow to create new sizes just on their blog or across the entire network which will affect everybody. I recommend only to allow it for their blog only. This allows you to also include it as a custom feature if you want to charge for this capability.

May I only include an x amount of posts that I choose?

Yes, use include_post= and put in your posts in comma separated format surrounded by double quotes. Example include_post='5,78,896'.

My title is too long and looks ugly, anyway I can shorten it?

You may shorten it using the argument title_length='10' will rounded it off to the last complete word before it reaches 10 characters.

I would like to just show an X amount of random posts on the home page. Is it possible?

Use the following arguments: random='true' and list='10' will show ten different posts randomly whenever the page is loaded. If you add list="15" it will show fifteen different posts randomly.

May I order my posts in specific order by date or title?

Yes you may give specific ordering of your posts or pages via alphabetical order (by title), by date or page or post ID specific order.

Does this plugin list pages from woocommerce?

Yes it now does as of version 0.1.4. You may list via page/post id or via taxonomy='custom woocommerce category'. Woocommerce default directory/taxonomy is product show you would just use the argument taxonomy='Product' which is the title of the directory. (Not case sensitive)
Note: Also works with Tips and Tricks eStore plugin.

Will this plugin also include the prices from the products I create with the Woocommerce and eStore plugins?

Yes it will including the following argument: include_price='woocommerce' or include_price='estore'. If for some reason you have both plugins installed you would use include_price='estore|woocommerce' if you want to list them both.

Why when I use the following argument wrap_start="<div style="color:blue;">" and wrap_end="</div>" the text does not change color?

That is because since double quotes are used after the = sign they must be changed to single quotes and use double quotes in the html. For example you would have to have wrap_start='<div style="color:blue;">'. Notice the double quotes in the html Do not forget to change the closing argument to wrap_end='</div>'

Does this plugin work with custom post types. That is post_type='custom-post-type'?

Yes it now works with custom post types.

Can I show full post from any blog on any site?

Yes you can by using the following argument full_text='true'

I have custom image sizes I have already created and uploaded. How can I use them with your plugin without having to go through the process of re-creating image sizes with your plugin?

You can use them directly as a featured image or you can install the plugin https://wordpress.org/plugins/featured-image-from-url/ and put in the link directly to the images. This plugin will automatically switch to the one listed here. Don't forget to change size='H,W' to the dimensions of the featured image.

The default layout is quite ugly. How do I improve it?

Using css I have made this plugin very flexible. It now contains two default layouts. Their names are "default" and "inline". You may choose either one by using use_layout='default' or use_layout='inline'.

Can I use shortcode attributes in dynamically created url?

Yes you may now use the shortcode attributes in a url. Example: http://localhost/wordpress/home-page/?column=infinite&include_blog=1,2,3&taxonomy=wordpress-develop,second-posts

Where do I put the shortcodes?

Paste the shortcode on any page, post or custom post type using the Text not the Visual area of the posts editor field.

How do I use this plugin in widgets?

Use the default WordPress text widget and post the code in there under the Text not Visual code area so it will not mess with the shortcode. This widget is now automatically shortcode ready. No need for a special widget or plugin to activate shortcodes in widgets.

Is it possible to include custom post type meta information?

As long as you use the Advanced Custom Fields Plugin it will be possible to do so. Read the readme.txt file for arguments to add to the shortcode.

Can I offset posts by skipping the three most recent posts and choose which category I’d like to offset?

Yes you now can with the following two arguments. 1) taxonomy_offset_names=” and 2) taxonomy_offsets=”. So for example if you wanted to offset three different categories it would look like so: [netsposts taxonomy_offset_names=’books,flowers,sports’ taxonomy_offsets=’5,4,10′] then books would be offset by 5, flowers 4, and sports 10. To offset by tags include the following argument: taxonomy_offset_type=” so it will now work with tags. As of now the only argument it accepts are category, or tag, or any. So if you want to offset by certain tag you would add taxonomy_offset_type=’tag’. Default it offsets by post type when argument is not used.

I have my my multisite installed in a subfolder and the permalinks sometimes adds a /blog/ to the permalink. How can I remove this?

Add the following argument: remove_blog_prefix='true'.

Will this plugin work on a non-multisite/single site installation?

No it will not but you may get the single site version here: Single Site Posts Extended

May I use an ACF custom field to order my posts? I want to order by peoples last name

You may do so using the following argument: order_by_acf='field_name asc/desc' but only use asc or desc depending on the direction you would like. It works both numerically and alphabetically.

How do I create a title for the particular list and make it link to any page I like?

You do so with the following parameters. 1) main_title=’List of Blogs About Bikes’ main_title_link=’https://mysite.com/my-bike-page/’.

Reviews

June 8, 2022 1 reply
Creating your shortcode selections to get exactly what you want takes some time, but once you've done that, this is a great plugin for displaying multisite posts. Thanks so much.
May 30, 2022
much appreciated continued development earns 5 stars+
March 2, 2022
When I was about to give up, I casually found this plugin. A great find. I didn't have to give up specializing a subsite in news or harming the performance of the main site. Quando eu estava prestes a desistir, encontrei casualmente esse plugin. Um grande achado. Não precisei desistir de especializar um subsite em notícias e nem de prejudicar o desempenho do site principal.
September 25, 2021
Really Excellent plugin, best support ever. The only plugin with this functions in the Wordpress repository. Very flexible. I could use css even to change the order of the items (title, description, etc). And works with any post type. So it´s a very powerfull plugin wich allow you to build your shortcode in the exactly way you need.
May 31, 2021
No other word can say, just Amazing! Amazing Plugin with an amazing support too
Read all 28 reviews

Contributors & Developers

“Network Posts Extended” is open source software. The following people have contributed to this plugin.

Contributors

“Network Posts Extended” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Network Posts Extended” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.