• Resolved guidobras

    (@guidobras)


    Hi, thanks for this plugin, it’s great!

    Just wondering what is the best/recommended way to call the plugin from php (passing parameters as well) in a custom theme.

    Is do_shortcofe() fine or is there a better way?

    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @guidobras,

    Indeed, you can do a:

    do_shortcode('[gallery ids="1,2,3" layout="tiles"]');

    If that’s interesting for you, I could add some kind of function available globally with could be called like this:

    build_meow_gallery( $ids, $layout, ... );

    Try to make it work through the do_shortcode first, and then we can make something more solid through calling a function if you like, that will be also slightly faster I believe ??

    Thread Starter guidobras

    (@guidobras)

    Hi Jordy,
    I’m using do_shortcode and is working well.

    If you coud add that globally available function, it would be really excellent.

    Thank you very much

    Plugin Author Jordy Meow

    (@tigroumeow)

    Please contact me through the support: https://meowapps.com/contact. I will implement it and let you beta-test it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best way to call meow gallery from php’ is closed to new replies.