• Resolved goshenw

    (@goshenw)


    When I share my website: https://www.geelongkites.com.au eg, to Facebook…
    It shows some additional code along with what it should grab: some descriptive /opening text from the front page.

    It grabs the part of the code:

    '; } }); }); })(jQuery);
    			</script>
    
    <p>?</p>
    <p>Welcome to Geelong Kites...

    and renders it as: ‘; } }); }); })(jQuery); Welcome to Geelong Kites…

    I can see where the code is, but not where it comes from, or how to stop it from showing (without breaking something).

    Does anyone have any ideas to resolve this?
    My theme is ‘Tiger’ but I’m not sure if it’s specifically related to the theme or not.

    Many thanks,
    Goshen

Viewing 4 replies - 1 through 4 (of 4 total)
  • deleted*

    Nevermind I just noticed you were referring to Facebook.

    Chances are it’s grabbing source up to a point.

    Thread Starter goshenw

    (@goshenw)

    This is how it looks:

    If it’s only facebook who just not reading the page right, then no big deal really – but if there was something not quite right with the code, then I thought better to fix it.

    Many thanks.

    Joseph Dickson

    (@josephdickson)

    My guess is it’s reading the apostrophe as a signal to string text.

    There could also be an unclosed tag in your php somewhere.

    Have you read up on the opengraph protocol?
    https://ogp.me/

    Sorry I’m not much help here I based my own site from Open Graph and it just so happens it works with others.

    Thread Starter goshenw

    (@goshenw)

    thanks for the info… I’m not up with OGP, but I’ll mark this topic as resolved, as a fix wasn’t so obvious – and since it’s really not an important issue at this time. Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Website description shows 'code' when shared’ is closed to new replies.