• Resolved rlstewart76

    (@rlstewart76)


    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/”&gt;
    </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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jennifer

    (@jentheo)

    Hello,

    We actually have a guide here with some code snippets that you can use to change the title – no template copying required!

    Can you give this a try and see if it works for you?

    Thanks,

    Jennifer

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

    Thanks
    Courtney 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding “Events” to Page Title Header’ is closed to new replies.