QUESTION Call plugin from template.php - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: QUESTION Call plugin from template.php (/showthread.php?tid=6568) |
Call plugin from template.php - lukinhasb - 2014-07-15 I'm trying to embed a plugin directly on template.php, what is the right way to call, let's say, this function? (% gallery name=my-slideshow %) Thanks a lot! RE: Call plugin from template.php - shawn_a - 2014-07-15 Thats not a function it is a shortcode. The gallery plugin you are using most surely provides a function for you to use. You need to ask in proper thread for that plugin. RE: Call plugin from template.php - lukinhasb - 2014-07-15 (2014-07-15, 01:03:11)shawn_a Wrote: Thats not a function it is a shortcode. I thought there could be some kind of universal function to call plugins from templates Thanks, I'll see what I can come up with, the plugin I'm using it I18N Gallery by the way RE: Call plugin from template.php - lukinhasb - 2014-07-15 In case anyone need it in the future, it's as shawh said, seems to be a plugin-related function. Here's the 118N Gallery code, for example: PHP Code: <?php |