LinkedIn Issue not displaying description and image from WordPressJune 3, 2014 / by Marco / Categories : Business, Software
So I tried sharing a WordPress blog post on LinkedIn and discovered that LinkedIn wasn’t displaying the description and thumbnail image from the Open Graph meta tags. I thought it could have been the actual post, so I tried different posts and received the same results.
WAS THE ISSUE WITH LINKEDIN?
No, but firstly let me explain how I worked out it wasn’t related to LinkedIn. After some digging around the best way to troubleshoot the issue was to use the Facebook debug tool. This tool debugs the Open Graph tags, so if there’s an error reported then most likely this would be the cause.
Here was the result:
WEBSITE PAGE SOURCE
Basically, the result reported that there was multiple OG URL’s specified. So what I had to do is actually look at the website’s page source code. Upon reviewing the source code, indeed there were duplicate OG tags. To check your website’s page source code, just right click and select “view page source”.
So the issue was within WordPress. To narrow it down, have a look at the source code and determine whether it’s generated by the plugin or the theme. I am using the Yoast SEO plugin which by default generates the OG tags and upon further inspection the theme (single.php) page had this code:
So upon deleting this section of the code and retesting using the Facebook debug tool, the problem was fixed – LinkedIn displayed the thumbnail and the description.
Hopefully this helps someone solve their issue.
- Advertise Me Pty Ltd
Digital Signage Solutions
Limit to 5 sponsors.
OTHER ARTICLES YOU MAY LIKE
Digital signage is an innovative way to display dynamic digital content. For those of you who don’t know what it is, basically think of the screens that you have seen in retail stores and shopping centres that display advertisements. That is digital signage! Here’s an example: There are three main components that make up a […]read more
Are you looking for the best form builder for WordPress? We have the answer for you and it’s called WPForms. As the name of the product clearly indicates it’s a WordPress Forms builder. There are many form builders out there for WordPress but WPForms is one of the best because it has such an easy […]read more