wordpress - Meta tags showing dynamically but share button can't read open graph -
i have problem in wordpress site. trying add social share in single page addthis html inline button. have not used plugin because post showing database(it's not wordpress post). have added code addthis
<div class="addthis_inline_share_toolbox"></div> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-599ab21e622f447a"></script>
meta tag: used meta tag dynamically. there sample.
<meta property="og:title" content="the title"/> <meta property="og:description" content="the description"/> <meta property="og:type" content="article"/> <meta property="og:site_name" content="demo"/> <meta property="og:image" content="https://www.w3schools.com/html/pic_mountain.jpg"/>
now, when post open in single page, meta tags have changed dynamically. can see inspect element
or view page source
.
problem when click social share button share post (share window opened) showing site name , homepage description. popup not showing data of meta tag, showing page source
or inspect element
wiki
Comments
Post a Comment