Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ben Huson

    (@husobj)

    Hi

    Are you appending the the subtitle to the title including the HTML via a filter?

    It appears if you look at the HTML of the page that the “WordPress Facebook Open Graph protocol plugin” is outputting an “go:title” tag where the value is escaped HTML:

    Greetings From the Editors! <br><i> By Cassie Langstraat and Hannah Apricot Eckberg</i>

    Looking at that plugin if appears the title is run through a filter before it is output in the Opengraph Facebook tag so you could use the wpfbogp_title filter to wp_strip_all_tags() or output the title without the the subtitle (beware of causing infinite filter loops if you try to do that).

    https://github.com/chuckreynolds/WPFBOGP/blob/master/wp-facebook-ogp.php#L137

    Does that help?

    Ben

    Thread Starter ephemeralcas

    (@ephemeralcas)

    I am quite confused by your question and answer. But I will try my best to answer and understand.

    You asked: Are you appending the the subtitle to the title including the HTML via a filter?

    I don’t know anything about filters. In fact, this is the first time I have heard of them. But, I just deleted the facebook open graph plugin and that eliminated the problem with the subtitle.

    I am still have major problems with my featured image/getting images onto facebook.. But that’s a different story.

    Plugin Author Ben Huson

    (@husobj)

    I wasn’t sure how you were getting the subtitle to show in your templates so see how that could be affecting the Facebook title.

    Have you implemented the subtitles yourself?

    Thread Starter ephemeralcas

    (@ephemeralcas)

    Oh Jesus. I just realized I have been using the secondary title plugin, not this WP subtitle one.

    Sorry for wasting your time!

    Plugin Author Ben Huson

    (@husobj)

    No worries 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘subtitle font data showing up in my facebook’ is closed to new replies.