Support

Home Forums Event Espresso Premium Permalink is not displaying Events Reply To: Permalink is not displaying Events

Reply To: Permalink is not displaying Events

Author Replies
Josh # Posted on March 5, 2018 at 2:34 pm

That’s actually caused by a few places in the theme’s code where they incorrectly use the_title(). Here’s how that can be fixed:

1) open up the theme’s includes/single-featured-format.php and on the lines of code starting on line 204 change from:

<div class="featured-image">
<a data-title="<?php the_title(); ?>" href="<?php echo $full_image[0]; ?>" rel="prettyPhoto">
<img itemprop="image" src="<?php echo $image['url']; ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"/>

change that to:

<div class="featured-image">
<a data-title="<?php the_title_attribute(); ?>" href="<?php echo $full_image[0]; ?>" rel="prettyPhoto">
<img itemprop="image" src="<?php echo $image['url']; ?>" alt="<?php the_title_attribute(); ?>" title="<?php the_title_attribute(); ?>"/>
Do NOT follow this link or you will be banned from the site!