• I’ve tried a bunch of things. It’s a custom theme I wrote, so I’ve adjusted the title tag a few times on the page and tried some things there. I’ve also tried changing things on Yoast SEO (which may have been the cause for other people online who had this issue), but it doesn’t seem to be from Yoast.

    I don’t think its Add To Any because that plug in doesn’t have that option, plus, even if I just post the link into the Facebook share box, the title still comes up on the end, like “Title – Blog Title”

    Does anyone know how to remove the title when sharing on Facebook?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Search theme header for <meta property=”og:title”

    Thread Starter JMunce

    (@jmunce)

    There isn’t one in the header.php

    Are open graph meta tags enabled in Yoast? Generally Yoast will just take your meta title for it’s open graph tags. You can write them yourself with php.

    Also check in Facebook debugger https://developers.facebook.com/tools/debug/ how exactly the snippet is constructed. While you there, check also how Facebook scrapes your URL

    Depends how theme is coded. Could be function for that in functions.
    Try with some Open Graph Facebook plugin…
    Ask on Yoast SEO plugin support, I think it has open graph for social sites too.

    Thread Starter JMunce

    (@jmunce)

    Thanks everyone. From Local Fame’s tip off, I went into Facebook’s debugger and then added

    <meta property=”og:title” content=”<?php the_title(); ?>” />

    to my <head>

    This fixed it. If anyone coming across this sees any errors this might cause or issues with it, though, please let me know.

    Thanks again

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove site title from end of post title when sharing on Facebook’ is closed to new replies.