• Here’s the blog: http://www.equitylancer.com/equicenter/

    If I try to share a link on LinkedIn by placing the URL in the status update field, WordPress should automatically generate an excerpt by selecting the first 55 words of the post followed by the linked ellipsis “[…]”. This is not the case anymore.

    Now, when I share a link, all I see is the link and a direct URL to the website.

    It works fine on Facebook, but not on LinkedIn. Any ideas why?

Viewing 15 replies - 1 through 15 (of 25 total)
  • This maybe on LinkedIn’s end. Have you checked with their support?

    Thread Starter grotm001

    (@grotm001)

    I didn’t think that would be necessary because as far as I’m aware other WordPress users are not experiencing the same issue.

    What plugin are you using to share? Is it the one on the left? If so, have you checked their support forum?

    Thread Starter grotm001

    (@grotm001)

    In regards to this issue, I’m not sharing with a plugin (and I’ve deactivated all plugins to ensure it’s not plugin-related). I’m copying the direct URL to a post and then pasting it in the status update box on LinkedIn. I should see a preview, but I don’t.

    Here’s an example:

    Without preview: http://i.imgur.com/B8k7QT9.png
    With preview: http://i.imgur.com/MjwsVVe.png

    When I click share on this post http://www.equitylancer.com/equicenter/1-million-to-acquire-viable-companies-for-their-talent-2/ I see the excerpt but not the image. If you are pasting it directly into Linkedin updates, you may try to revert to the twenty Twelve theme just to see if it works. If it does, you know it’s your theme.

    Thread Starter grotm001

    (@grotm001)

    I’m fairly certain it is the theme. I’m not sure how I can switch themes to verify without taking our site down. Regardless, if it is my theme, I don’t know where to look.

    At first I thought it may be due to a problem with JetPack or some white space in one of my files, but I don’t think that is an issue.

    Any ideas?

    Thread Starter grotm001

    (@grotm001)

    I am experiencing this for all of the urls. Keep in mind that this worked fine until we customized the blog part of our theme, which is why I’m fairly certain it’s my theme.

    What theme are you using? Switching to the default theme (temporarily) to test whether it is your theme would be the logical troubleshooting step.

    Thread Starter grotm001

    (@grotm001)

    I downloaded the Theme Test Drive plugin so I can switch to the default theme (Twenty Twelve) without my users noticing (only admins see the switch).

    Here’s what I see when I try to access a URL from my blog: http://i.imgur.com/drdx35M.png

    Any thoughts as to why the post won’t show up here, but it shows up fine here? http://www.equitylancer.com/equicenter/veterans-tackle-the-challenges-of-entrepreneurship/

    Is that a screenshot of the same page in the link? One says home and the other seems to be a link that is a couple of levels deeper into the site. Obviously, you have some custom code happening in your theme and you mentioned that this started when you customized the blog part of your theme. Do you what exactly was done? If you know what files were changed and you have a backup copy of them, you could upload those files just for testing purposes to see if the issue lies in there. Troubleshooting is working backwards.

    Thread Starter grotm001

    (@grotm001)

    The screenshot is of the page I’m seeing when I try to visit a blog post (http://www.equitylancer.com/equicenter/veterans-tackle-the-challenges-of-entrepreneurship/). I thought that regardless of the theme, WordPress would still recognize the posts, but it may just be that our theme is too heavily customized now.

    If the template for our blog posts is customized, would this cause the issue? If so, how can I find the issue if I don’t know what the correct syntax/code would be to enable WordPress to automatically generate our post’s title, excerpt, and image (if one exists) when sharing the post on LinkedIn?

    Thank you.

    That question is not easily answered since your theme is customized. For each blog post, are you filling out the excerpt or is it automatically generating it? If you are not, try it and see if that helps. Depending on how some themes are coded, I’ve seen stuff like that happen before.

    Thread Starter grotm001

    (@grotm001)

    If the excerpt is filled out, the problem continues to persist. Nothing is generated when I paste the URL to the post in LinkedIn’s status update.

    It would seem that the theme I’m using somehow broke or is preventing LinkedIn from capturing the automatically generated excerpts that WordPress is supposed to be creating when a URL is shared on another website like Facebook or Twitter. For some reason, it doesn’t work on LinkedIn.

    Where is this functionality normally coded in themes? functions.php? What code should I be looking for or what changes can I make to my theme to ensure excerpts are automatically generated when links are shared on LinkedIn?

    It is usually in functions.php but you mentioned that you had some work done so it’s hard to tell. Do you have contact with whomever did the work? It’s difficult to just give an answer since we don’t know what code was added or not.

    Thread Starter grotm001

    (@grotm001)

    Unfortunately, the developer who customized my theme went silent and disappeared after payment.

    I’m trying to figure out what would be the code before the theme was customized. What am I supposed to be looking for in the functions.php file that would normally tell WordPress to automatically generate an excerpt when a post is shared on LinkedIn?

    I realize it may have changed when the theme was customized, but if it works for Facebook and Twitter, then a part of the code must still remain the same, couldn’t it?

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Preview (excerpt and image) not being displayed when placing URL in LinkedIn’ is closed to new replies.