WordPress IMAGE CAPTION code displaying

Posted in: Newsmag
Post count: 48

I don’t know where this issue popped up from, but I noticed it yesterday. We’ve added some code by way of speeding up the site while deleting many plugins. Already troubleshooted by disabling every plugin on the site and removing any code that was added.

On every TAG page, our images display the WORDPRESS CAPTION CODE for some strange reason. Never has this happened over two years prior to yesterday.

example of tag: elitesportsny.com/tag/greg-bird

Tag Page

Backend of Tag

Backend of Page

So the backend of the tag and post shows fine, yet the Tag shows up completely screwed up. The backend of the Page is messed up, yet shows up on the front end as perfectly fine. It feels like a Visual Composer issue, but I’ve always used the regular version coming with the theme. (Just updated it tonight out of desperation in looking to fix the issue.)

Definitely need help here. Thanks.

Post count: 20688

Hi,

I have tested this as well, caption shortcodes don’t seem to be working in the category or tag descriptions. I fixed it with this code in functions.php file

add_filter( 'post_tag_description', 'do_shortcode' );

https://www.screencast.com/t/eFnqpPhr
https://www.screencast.com/t/NcnerK3XN7

Thanks

Post count: 48

What confused me is that they’ve always worked fine up until recently. Why the sudden change? That’s what I don’t understand.

Either way, thanks for the code. It worked perfectly.

Post count: 9544

Might be all the changes WordPress is making to PHP support this month.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.