How to make post title appear before the blog title when sharing on social media?


#1

Hi, Hope you all will be glowing :slight_smile:

I am experiencing an issue, whenever i share my blog post on social media, blog title appears first and post title appears after it. I had made some changes and now just blog title appears when shared on facebook. Please help

Here is my template code looks like:

` <b:if cond=‘data:blog.pageType == “index”’> <data:blog.pageTitle/> <b:else/> <b:if cond=‘data:blog.pageType != “error_page”’> <data:blog.pageName/> <b:else/> 404: <data:blog.title/> </b:if> </b:if>

`

#2

og:title code missing for facebook paste this <meta expr:content='data:blog.pageName' property='og:title'/> and save. Now check and tell me