Support

Home Forums Event Espresso Premium Close span-tag

Close span-tag

Posted: April 4, 2016 at 3:13 am


Zuckerbaeckerei

April 4, 2016 at 3:13 am

Hi
I’ve noticed that at the end of my event overview there is a span-tags that doesn’t get closed. (One per event)
http://weiterbildung.bplaced.net/wordpress/?page_id=15

I tried to fix this by myself but haven’t found the correct file.
Any suggestions where I can close this tag in my code?

Thanks


Lorenzo Orlando Caum

  • Support Staff

April 4, 2016 at 5:58 am

Hello,

I was able to see the unclosed span tag on the continue reading link. Are you seeing the same thing on the blog archives page for the site?


Lorenzo


Zuckerbaeckerei

April 4, 2016 at 7:46 am

Hi
I don’t have a blog archives page for my site.

Is this error only occuring on my site?
I thought this would be a general problem because I just set the plugin up again.
(I deleted the Plugin from my side, downloaded the files from the EE site and uploaded it again)

Do you have any suggestion how i can fix this?

Thanks


Tony

  • Support Staff

April 4, 2016 at 11:47 am

Its not a general issue, EE4 does not add spans to the more link text, but it does apply any changes that plugins, or more likely you theme are applying to the more link.

Have you added any custom functions to change the ‘more link text’ at all?

If you temporarily switch to a default theme such as twentyfourteen and view that same page, do you see the same issue?


Tony

  • Support Staff

April 4, 2016 at 11:58 am

I had a quick look on your site and installed the theme that you have, Vantage right?

Its an issue with the theme that they need to fix. I donwloaded it directly from the link above an installed it on a test site. The problem is this – http://take.ms/JGWos

Its within \vantage\inc\template-tags.php line 458.

Needs to change from this:

return '<a class="more-link" href="' . get_permalink() . '">' . esc_html( siteorigin_setting('blog_read_more') ) .'<span class="meta-nav">&rarr;</span></a></span';

to this:

return '<a class="more-link" href="' . get_permalink() . '">' . esc_html( siteorigin_setting('blog_read_more') ) .'<span class="meta-nav">&rarr;</span></a>';

I’d recommend contacting the theme developers if you have an account with them and request the fix that within the theme themselves.


Zuckerbaeckerei

April 5, 2016 at 1:31 am

Wow. Thanks a lot.
I downloaded the theme only as an example so I don’t really need it.

However this helped me to see that I need to check more files next time.

The support post ‘Close span-tag’ 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