Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
0 points
Beginner
I’m finding that the share button for Facebook is returning the wrong details. After researching this further apparently I need to add this to the meta information:
<meta property=”og:description” content=” ” />
I’ve done this by editing header.php but for some reason the only variables I can get to pick up any information are:
<meta property=”og:description” content=” <? the_title(); ?>” />
and
<meta property=”og:description” content=”<? bloginfo(‘name’); ?> ” />
What I really want is to pick up the contents of the listing or even just the listing excerpt. I’ve tried using
<meta property=”og:description” content=”<? the_content(); ?> ” />
but nothing is picked up. I’ve tried every variation possible but just can’t get any more than the Title and Blog Name to show.
Any suggestions on what else I should try would be greatly appreciated.
I’m finding that the share button for Facebook is returning the wrong details. After researching this further apparently I need to add this to the meta information:
<meta property=”og:description” content=” ” />
I’ve done this by editing header.php but for some reason the only variables I can get to pick up any information are:
<meta property=”og:description” content=” <? the_title(); ?>” />
and
<meta property=”og:description” content=”<? bloginfo(‘name’); ?> ” />
What I really want is to pick up the contents of the listing or even just the listing excerpt. I’ve tried using
<meta property=”og:description” content=”<? the_content(); ?> ” />
but nothing is picked up. I’ve tried every variation possible but just can’t get any more than the Title and Blog Name to show.
Any suggestions on what else I should try would be greatly appreciated.
Regards
James
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now