Placing a plugin in a theme
-
I believe I know the answer to this which is to use the do_shortcode option but I wanted to verify that this was the only way to do this.
What I was wondering was, if I create a plugin and I wanted it to put a banner just under the top of the home page, can I do that from the plugin or do I have to add the do_shortcode option in the template itself. Example: I have a theme that has a bootstrap gallery slider at the top and I would like to put a banner underneath the gallery slider that would display upcoming events, news, or important information. Now I have this working using a child theme and then copying and modifying the header.php file from the original theme with the do_shortcode command.
I hope I have explained this clearly enough.
- The topic ‘Placing a plugin in a theme’ is closed to new replies.