Adding “Events” to Page Title Header
-
I recently installed this plugin for a new site I’m customizing for a friend (using the Soma Lite theme). The plugin removes the main page title in the header on the Events page/slug. Although it has “Events for February 2018” under the main page title header and above the calendar, he still wants “EVENTS” in the main header like the rest of the page titles, between the <h1> tags (see below).
How do I override the .php file to make this work? Since I’m using the default page template, I’ve copied that .php file and placed it into a new folder under the theme directory. But I’m not sure exactly where to place the html code that I want to override. Do I place it before or after “get_header();” in the .php file?
<!– Main section –>
<section id=”page-title” style=”background:#dd3333;”>
<div class=”container”>
<div class=”row”>
<div class=”col-md-12″>
<div class=”page-heading”>
<h1 class=”wow fadeInDown” data-wow-delay=”1s”></h1>
<p class=”wow fadeInUp” data-wow-delay=”2s”></p>
</div>
<div class=”bread-crumb” typeof=”BreadcrumbList” vocab=”http://schema.org/”>
</div>
</div>
</div>
</div>
</section>Please let me know if I’m not making sense. It’s been a while since I’ve attempted to put together a website and I’m trying to get back in the game, slowly but surely. Thanks in advance for your assistance.
The topic ‘Adding “Events” to Page Title Header’ is closed to new replies.