Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the exact same problem. Anyone have an idea how to resolve this?

    Maybe more info could help shed some light on the problem…

    • I am not actually running the plugin in question – it is incorporated in the theme I’m using – the Balita WP e-Commerce theme
    • the mysterious “/> with accompanying styled text which is obviously causing the problem only appear in top left corner when <span> or <object> is included into the content (e.g. when text styling is applied)
    • the “/> disappears if I comment out the wp_head in the header – but that is not an exceptable solution 😉 😉

    Here is the source code of the header.php.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    The unwanted extra text that shows up when <span> or <object> is inserted into content:

    <h3><span style="color: #1d2de1;">A sweater you won't be able to go without once you've tried it.</span></h3>
    <h3></h3>
    <h3><span style="color: #ff0000;">Cotton and microfibr.</span></h3>
    <h4></h4>
    <h4><strong><span style="color: #000000;">Wear it as you like!</span></strong></h4> " />

    The text is styled (no code visible, except the ” /> at the end).

    I am sorry I pasted too long a code in my former post. I really should have read the Forum Rules more closely.

    Here is the link to the Balita header source code: http://pastebin.com/dcNg2TLj.

    If anyone has a suggestion on how to tackle this problem, I’d really appreciate it.

    Found it :)!

    In my case (with the Balita theme) there is a piece of code in /wp-content/themes/balita/resources/core.php, at the very bottom of the file: See the code here.

    There seems to be a problem with the “description” line:

    echo "\n".'<meta property="og:description" content="'.$post->post_content.'" />';

    Once I commented it out, everything fell into place.

    Any ideas on how to change the .$post->post_content. part to make it work (i.e. make it not print out at the top left corner of the page) when not commented out?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Facebook Open Graph Meta in WordPress] Not working for me but inserts mysterious "/&am’ is closed to new replies.