Support » Plugin: WP Chrono » Multisite Compatibility

  • Resolved onur2

    (@onur2)


    Hello,

    I am using multisite.

    My main site and subsite is using same theme.

    If I add this shortcode [wpch-currentdate] to subsite’s menu, it works.

    But if I add same code to main site’s menu, it’s not working.

    Where is the problem ?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author milan.latinovic

    (@milanlatinovic)

    Hi onur2,

    I tested this plugin on my local multisite and it is working correctly. Can you give me more details about this issue and we will find a way to resolve it.

    What are the URLs of your main site and sub site?
    What do you see inside your main site? Does it print a shortcode as is?
    Where have you installed and activated the plugin?
    (please check if you activated plugin only on subsite with “Activate plugin” or have you activated plugin on main web site with “Network activate” option). Plugin should be activated on each web site where you want to use it.

    Note: WordPress has a mechanism to force shortcode either to execute or to simply print out as a plain text. When I see web sites, that will help me figure out the possible issue. 🙂

    All best,
    Milan

    Thread Starter onur2

    (@onur2)

    Hello,

    I try 2 method.

    Activating network
    Activating each sites.

    There is nothing difference both.

    My main site link is /
    My sub site link is /sometitle/

    I paste the shortcode to subsite’s menu item title, and it’s working perfectly,

    But If I paste the shortcode to main site’s menu item title, it’s not working. It’s printing shortcode as plain text.

    Plugin Author milan.latinovic

    (@milanlatinovic)

    Hi again onur2,

    I tested my plugin again on WordPress multisite (both on main site and on subsite) and it is working the same if the templates are the same. I strongly believe that the issue you are having is not related to plugin it self, but to your WordPress multisite setup or template.

    Most of the templates forbid execution of shortcodes within a navigation. If you want to investigate this issue further you can check if your template has do_shortcode() function inside navigation. This function allows WordPress to execute shortcodes, you can try to add it to the template (if you are the author) or contact theme author to resolve this.

    More information about shortcode executions can be found here: https://developer.wordpress.org/reference/functions/do_shortcode/

    In any case, there is nothing pointing out to this being a plugin bug. Your next steps should be: 1) examining your template (or templates), 2) contacting template author and 3) experimenting with do_shortcode() function.

    Hopefully, you will be able to resolve this issue and setup your web site as you wish.

    All best,
    Milan

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