Skip Navigation

[Resolved] wpv-post-featured-image

This support ticket is created 6 years, 3 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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 6 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#1136797
Screen Shot 2018-10-30 at 11.00.39.png

I am trying to: wpv-post-featured-image image rounded, but didn't work.

I expected to see: apply css style at the image

Follow the image of my code, thanks.

#1137426

Hi Joel,

Thank you for contacting us and I'll be happy to assist.

When the "output" is set to return only image's "url" in "wpv-post-featured-image" shortcode, no class is returned with it.
( ref: https://toolset.com/documentation/user-guides/views-shortcodes/#vf-153425 )

To make this work, please update your code from:


<a href="[wpv-post-url]"><img src=[wpv-post-featured-image class="my-custom-rounded-class" size='custom' width='300' height='187' output='url' ]></img></a>


<a href="[wpv-post-url]"><img src="[wpv-post-featured-image size='custom' width='300' height='187' output='url']" class="my-custom-rounded-class" /></a>

I hope this helps.

regards,
Waqar

#1137605
Screen Shot 2018-10-31 at 11.34.41.png

Hi Waqar,

I add the code but didn't work.

Thanks.

#1138029

Hi Joel,

Thanks for writing back and sorry to learn that the issue still persists.

To troubleshoot why it is not working, I’ll need temporary access (WP-Admin and FTP) to the website, preferably a development or cloned website, where this code can be seen.

This access will allow me to offer better help and check if some configurations or code might need to be changed.

( Note: Your website seems to have some folder level protection enabled too. Please also include username and password to bypass that as well )

Your next answer will be private which means only you and our support team will have access to it.

If you’re going to share the access details for the live/production website, it is very important that a complete backup of your database and website has been made.

I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.

Regards,
Waqar