rwnfrnnd on "[Plugin: Post Content Shortcodes] Shortcode inside post is filtered out"

ساخت وبلاگ

Instead of "blog_id" try the "blog" attribute as explained in the FAQ section;

How do I pull posts from another blog in the network?

Use the blog attribute to specify which site/blog the post should be pulled from. The blog attribute can accept a blog ID (numeric) or a blog name (the slug of the blog).

Will this plugin work in a multisite environment?
Yes. You can safely network-activate this plugin, or even use it as a mu-plugin. To pull a post with a slug of 'this-is-my-cool-post' from a blog with an ID of 10 and a slug of 'mycoolsite', the usage would look something like:

[post-content post_name="this-is-my-cool-post" blog=10]

or

[post-content post_name="this-is-my-cool-post" blog="mycoolsite"]

That's working in my network.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 286 تاريخ : جمعه 8 مرداد 1395 ساعت: 9:34