Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Won’t Grab First Image Anymore

$
0
0

Replies: 0

I have a chunk of code in my functions.php file on 2 different sites that automatically grabs the first image from a post, resizes it, and then displays it next to the excerpt on my homepage. Since I updated to WordPress 4.6, that function no longer works. I haven’t changed anything else, but I’m just wondering if this is deprecated code that needs to be altered to work on the latest version or if it’s a bug that will eventually be fixed. Here’s my website links:

http://setyourweddingapart.com
http://weddingdaysparklers.com

Any feedback is appreciated, I don’t want to spend time fixing the code if it’s just a bug with this new version. Thanks.


Viewing all articles
Browse latest Browse all 67836

Trending Articles