Tag Info

Hot answers tagged


to link plugin and theme, I recommend you to use hooks. In the theme, you create a new hook with do_action("under_the_picture");. And in the plugin you make a hook like this : add_action("under_the_picture", function () { echo "plugin data to display under the picture"; }); then when the plugin is not activated, the theme place "under_the_picture" is ...

Only top voted, non community-wiki answers of a minimum length are eligible