Awesome!

Name has been added to your Follow page.

My Follow Page

Name has been removed from your Follow page.

My Follow Page

Login



Network Posts Extended

5 Avg. Rating
500 Installs
Tested with WordPress 5.8.1

by John Cardell, Andrey Islentiev.

The plugin is designed to share posts, pages, and custom post types from across entire WordPress multisite network on any given page for any subdomain …

The plugin is designed to share posts, pages, and custom post types from across entire WordPress multiste network on any given page for any subdomain and the main blog. You may list them in single or double column mode. Add custom css styling to your text, images, whole container and title.

You can specify categories and tags. All posts will be shown in ascending and descending order by date or post ID. You can specify how old (in days) the collected posts may be. Also you can specify how many posts should be displayed from each blog. You can set thumbnails image size and style or disable them.

You may also include or exclude posts, pages, categories, and blogs by using the appropriate arguments. They are all listed at the end of this file.

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.

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