• I noticed a few months ago that when social tags are enabled, the title of my site is missing from the link preview on Facebook.
    So instead of ‘Title of my article – my website’ it shows simply ‘Title of my article’.
    Prior turning on social tags it was displayed as the first example.

    I don’t know if it’s a bug or an intended feature because Facebook’s webmasters guide says the og:title should be displayed without any branding, but I headed to the plugin editor and changed it, so it worked as I wished.

    Everything was fine, but today I accidentally updated the plugin, and now my changes are gone and I don’t remember what parts I’ve edited.
    Could you please tell me what part needs to be changed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcel

    (@marceljm)

    Hi, @sutululu .

    Indeed what you want is not recommended by Facebook.

    Anyway, you could edit includes/html/social.html and replace the first line by
    <meta property="og:title" content='<?php echo $title . "- my website" ?>' />

    Let me know if that works.

    Thread Starter sutululu

    (@sutululu)

    Thank you, it works perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying branding with social tag’ is closed to new replies.