简体   繁体   中英

Add Feedly featured image class “webfeedsFeaturedVisual” to featured images in Wordpress

I would like to customize the way Feedly presents my website's RSS Feed ( here ), which is actually very poorly displayed.

I followed their instructions adding all the suggested markups; this way I managed to have the correct title, description, icon, logo, cover image, accent color and everything else.

However, in the abovementioned guide it's said that in order to have Feedly pick the correct featured image you have to add a webfeedsFeaturedVisual classname. How can I do that with all my featured images?

Thank you in advance. Regards.

If you are looking to add a class to your featured image:

Edit the reference to call the featured image in your template:

<?php the_post_thumbnail('post-thumbnail', array( 'class'   => "zoomer-class attachment-post-thumbnail")); ?>

Change zoomer-class to your own class name.

More info here: https://wordpress.org/support/topic/featured-image-add-image-class?replies=4

Hope it helps!

Actually I managed to let Feedly show the featured image through a plugin .

Thanks for your help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM