silverchief
asked 11 years ago

Hi guys –

I bought this theme the other day, started implementing it this morning, and noticed there seems to be something broken … looks like there is an extra “…”/>” near the top left of the template on certain pages –

http://cltplus.com/music/coming-soon-paper-tongues/
http://cltplus.com/business/android-provides-hackers-an-easy-way-into-your-life/

Any idea what the problem could be?

Thanks –

Brad / CLTplus.com

2 Answers
silverchief
answered 11 years ago

I tracked it down to some kind of conflict between the theme and the Jetpack plugin. Not sure what part of the plugin is causing it, or what is conflicting, but could be the commenting part.

DominicStaff
answered 11 years ago

To remove …”/> . you can open the functions.php file / go to line 499
Replace the following code:


echo '<meta property="og:description" content="'.get_the_excerpt().' "/>';

with new code:


echo '<meta property="og:description" content="'.esc_html( get_the_excerpt() ).'"/>';

 

Hope this helps !
Regards,
Dominic

Powered by DW Question & Answer Pro