• Resolved lutzkind

    (@lutzkind)


    Hi,

    i would like to be able to use more then one shortcode per page. Right know there seems to be a limitation for that.

    Thanks

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

    (@e4jvikwp)

    Hi,

    Yes, that is true. Only one shortcode per page will be rendered.

    However, this is not really a limitation, it’s how one execution of our plugin produces one single buffer, and so the latter shortcode will replace the content of any previous shortcode placed on the same page.

    The architecture of our plugin has been written to follow the Model-View-Controller (MVC) pattern, which is a programming standard, not only in PHP, especially for what concerns object-oriented-programming (OBP). One single buffer is currently being generated to render the content of a “View”, which is a complex page indicated by the Shortcode.

    You are free to use as many widgets as you want on a single page, but you should only use one Shortcode on the same page. Moreover, Shortcodes generate complex contents, full of information, and so you shouldn’t need to have more than one shortcode on the same page.

    We hope this helps!

    Best regards,
    The VikWP Team

    Thread Starter lutzkind

    (@lutzkind)

    Ok thanks,

    the practical use for me in this case would be, showing the search shortcode together wth general availability on one site, to give an overview to the customer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘multiple shortcodes per page’ is closed to new replies.