grotm001
Forum Replies Created
-
Appears to have been fixed by changing the charset in header.php.
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?
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?
The screenshot is of the page I’m seeing when I try to visit a blog post (https://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.
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: https://i.imgur.com/drdx35M.png
Any thoughts as to why the post won’t show up here, but it shows up fine here? https://www.equitylancer.com/equicenter/veterans-tackle-the-challenges-of-entrepreneurship/
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.
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?
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: https://i.imgur.com/B8k7QT9.png
With preview: https://i.imgur.com/MjwsVVe.pngI didn’t think that would be necessary because as far as I’m aware other WordPress users are not experiencing the same issue.
Forum: Themes and Templates
In reply to: SilverBussines ThemeHi Esmi,
Thank you for your help. I have the style.css file in the css folder, which the script should be able to find. I tried uploading the theme by moving the style.css file to the root, and then I got a different issue, but the theme was broken so I still couldn’t use it.
I bought the theme here: https://themeforest.net/item/silverbussines/27569
I think you hit the nail on the head with your question. When I checked again, I bought the site template, not the WP version. Turns out, the link to the WP version doesn’t exist anymore. Ugh!
Thanks!