Linux 软件免费装
Banner图

Network Posts Extended

开发者 johnzenausa
superfrontender
更新时间 2024年8月13日 10:16
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.6.1
版权: GPLv2 or later
版权网址: 版权信息

标签

network global posts network posts global posts multisite posts shared posts display multisite posts

下载

7.3.5 7.6.5 7.7.1 7.3.9 7.4.2 7.4.3 7.4.6 7.6.6 7.6.7 7.6.8 7.6.9 7.7.0 7.7.2 7.2.6 7.3.8 7.4.0 7.4.4 7.4.8 7.5.2 7.5.0 7.3.7 7.3.6 7.5.7 7.5.8 7.3.3 7.5.4 7.5.6 7.5.9 7.4.7 7.4.9 7.4.1 7.5.5 7.6.1 7.6.2 7.6.3 7.5.1 7.5.3 7.6.0 7.6.4 7.3.4

详情介绍:

屏幕截图:

  • 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.

常见问题:

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/'.