• Resolved EhsanMomeni

    (@ehsanmomeni)


    Hi,

    Need some help with changing the meta property og:title.

    My blog is called “Den brutala sanningen” and has a tagline “ifk göteborg i medgång och sorg”. (http://blogg.senastgaisvann.se).

    When I use the Facebook Debugger it gives me:

    <meta property=”og:site_name” content=”Den brutala sanningen” />
    <meta property=”og:title” content=”Den brutala sanningen – ifk göteborg i medgång och sorg” />

    So when I want to link my blog to FB, the headline is:
    “Den brutala sanningen – ifk göteborg i medgång och sorg”, but I only what it to say “Den brutala sanningen”

    Is it possible to change the meta property for og:title?

    https://wordpress.org/plugins/nextgen-facebook/

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

    (@jsmoriss)

    I’m guessing this for the home page, and the home page in an index (not a static page), correct?

    If you use one of the supported SEO plugins, NGFB (the Pro version) can use the title supplied by the SEO plugin. If not, then it uses the value returned by wp_title().

    You could use the ‘ngfb_title_seed’ or ‘ngfb_title’ filter hooks to define / modify the og:title value. More info here: http://surniaulula.com/codex/plugins/nextgen-facebook/filters/. This list is still a ‘work in progress’. NGFB actually offers well over 100+ different filters and actions.

    The og:site_name can be modified from the NGFB General settings page, but you probably knew that already. 😉

    NGFB expects wp_title() to return an accurate / usable title. Themes and plugins often hook into wp_title() to modify the default value. See http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_title for more info.

    js.

    Thread Starter EhsanMomeni

    (@ehsanmomeni)

    Hi,

    Thank you for you quick replay.

    Thanks to your tip, I look at my SEO plugin and found a shortcode for the tagline which I removed, and now it works just the way I want it to.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing og:title’ is closed to new replies.