• Can i create shortcode that can be used throughout all sites in a WP Multisite network? If not, maybe you can implement this features, like [blog_id=1 shortcode_id=8] to use the same shortcode content across multisites. thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @lamanrasmi,

    Thanks for using Shortcoder plugin. Currently, the plugin does not support fetching shortcodes from other sites.

    This is because of questions on access and security. An admin of site1 should be not able to access shortcodes of site 2 which they are not owner of. Please do let me know if you have any other ideas to solve this problem. I can help write a shortcode to achieve this if things are feasible.

    Thanks

    Thread Starter Haris Rifqi

    (@lamanrasmi)

    Hi, thanks for the reply. My use case is I’m building a WaaS using WP ultimo where each subsites will only have a set of plugin enabled only for booking purposes. No blog posting available on the network. Through out the subsites, there will be many sections that display generic content like the User Guide page, some element titles, etc.

    Currently i’m using this plugin https://www.ads-software.com/plugins/rps-include-content/ but it will be great if your plugin can do the same.

    Now, I just have to set the content on the main site and embed the shortcodes in the Template site. So every time a new user subscribed to my WaaS, they will get a clone copy of the template site. All the generic wordings & contents will automatically re-use whatever content I set on the main site. This make it faster & easier when I as the superadmin want to revise or update the contents for all subsites. Otherwise, i have to login into each subsites and do the edit one by one.

    Mainly this is very useful features for multisite superadmin, thus maybe you can add only superadmin role will have access to the plugin settings, etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite global shortcode’ is closed to new replies.