?
Solved

Facebook’s Attached Links and Page Previews not working on wordpress blog

Posted on 2010-11-23
1
Medium Priority
?
416 Views
Last Modified: 2012-05-10
I need help resolving something. I have a wordpress blog (cannot list) that when you paste a link from an article into facebook it pulls the main sites description, image, NOT the post articles. It does pull the proper title and permalink, but NOT the description and image.
Here is what i got so far, basically, I need to know how use wordpress codex to pull the description and image from a particular post. Here is what i got so far which is in the header.php file of my wordpress theme
<meta property="og:type" content="article" />
<meta property="og:title" content="<?php the_title() ?>"/>
<meta property="og:url" content="<?php  the_permalink() ?>" />
<meta property="og:description" content="<?php echo urlencode(get_permalink()); ?>"/>

Open in new window

0
Comment
Question by:adrian7474
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
adrian7474 earned 0 total points
ID: 34201159
Solved my own question. Found this great article for those who might have same problem.
http://www.werewp.com/tutorials/how-to-add-like-button-to-wordpress-pages/
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question