This code enables you to display a widgets content after the site title conditionally.
In this example, it only displays the widgets content ( search widget ) on any page using the landing page template.
You can easily change the conditional tag to return a different result:
Simply add the following PHP code to the end of your child themes functions.php file.
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.