Skip Navigation

[Resolved] featured image on blog page

This thread is resolved. Here is a description of the problem and solution.

Problem:

Use featured image shortcode in [wpv-conditional] shortcode.

Solution:

You can use [wpv-post-featured-image output='url'] featured image URL shortcode insider [wpv-conditional] shortcode

Relevant Documentation:

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by weatherlyB 3 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1932347

Tell us what you are trying to do?
We recently had this issue on several pages but you fixed it. We aren't sure where you fixed it however. This page somehow did not get fixed.
Image is missing, shows broken icon and has "" after it.

hidden link

#1932743

Hello,

I assume we are talking about the same problem as your previous thread:
https://toolset.com/forums/topic/all-our-featured-images-are-broken/

Please provide your website credentials in below private message box, I need to check it in a live website, thanks

#1937437

Thanks for the details, I can see the problem in your website.

And the problem is abnormal, the shortcode [wpv-post-featured-image] does not work in your website.

Please try these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

#1939699

While we can't do all of this on the live site I tried it on the test site (which has the same issue).

We get this in the console regarding the images:
hidden link

No error messages in the log.
Obviously the URL is being called wrong. Disabling other plugins and themes via the using the Health and Troubleshooter plugin did not help.

#1939725

Never mind. Using the old thread we found it ourselves. The view wasn't intuitive to find but it was the exact same problem. the code had to be updated (it hasn't been touched since the site was built so I assume an update doesn't like it)

For reference this:
[wpv-conditional if="( '[wpv-post-featured-image
had to be updated to this:
[wpv-conditional if="( '[wpv-post-featured-image output='url']

I'd never have found it without going through the Front End Editor. Normally I use just the one in the back end.

#1939727

My issue is resolved now. Thank you!