Support

Home Forums Event Espresso Premium Event pages have "The Blog" title

Event pages have "The Blog" title

Posted: January 9, 2017 at 8:56 am

Viewing 4 reply threads


anotheropus

January 9, 2017 at 8:56 am

Hello,

How can I change the page title name for events?

Right now they say “The Blog” — so I turned off their page titles.

I prefer to have the event name be the title.

Thank you for the help.

Chris


Josh

  • Support Staff

January 9, 2017 at 1:46 pm

Hi Chris,

This usually involves making edits to the WordPress theme, that’s what’s adding “The Blog” to the title. To be clear though, are you asking about the <title> tag within the html, or the title that’s displayed on the web page (usually wrapped in an h1 or h2 tag)?


Tony

  • Support Staff

January 10, 2017 at 4:55 am

As your using theme X I’m assuming your referring to the ‘landmark’ – http://take.ms/KuN9e

It’s a feature of X to display the blog title if you are on a single post and that post is not an x portfolio item – http://take.ms/yG9dX

You would need to check with them as to why they do that.

To fix this for EE events you will need to setup the Theme X child theme:

https://community.theme.co/kb/how-to-setup-child-themes/

Then within your child theme override the \framework\views\renew\_landmark-header.php

and add something like this:

<?php elseif ( function_exists( 'is_espresso_event' ) && ( is_espresso_event() || is_espresso_venue() ) ): ?>

    <h1 class="h-landmark"><span><?php echo the_title(); ?></span></h1>

Between the two conditionals above to output the event title for EE events.

However note that doing so displays the event name twice – http://take.ms/v0ZMw


anotheropus

January 10, 2017 at 5:08 am

Hello Josh,

Thank you for the help.

On individual Events and Venue pages, the Page Title shows as “The Blog.”

Whereas, respectively it should read, “Events.” and Venues.”

These pages are generated dynamically and so I cannot edit them to change the titles.

I use the X-Theme, which allows me to turn off page titles on a page by page basis–but again, these pages are dynamically generated so I cannot do that.

I’ve turned off page titles site-wide, and instead now, I’m going to use CSS to hide the page titles on these two pages. Not good.

Screenshot of the issue.
VENUE PAGE SCREENSHOT: http://screencast.com/t/Z1fOsX22eIw

(it’s the same for events also)

Thank you for the help.

Chris


Tony

  • Support Staff

January 10, 2017 at 5:19 am

Hi Chris,

Please see my reply above on how you can fix this.

You can change the output for those pages if preferred but with the above it will use the_title.

Viewing 4 reply threads

The support post ‘Event pages have "The Blog" title’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso