将 Feedly 特色图片 class "webfeedsFeaturedVisual" 添加到 Wordpress 中的特色图片

Add Feedly featured image class "webfeedsFeaturedVisual" to featured images in Wordpress

我想自定义 Feedly 呈现我网站的 RSS Feed (here) 的方式,但实际上显示效果很差。

我按照 their instructions 添加了所有建议的标记;通过这种方式,我设法获得了正确的标题、描述、图标、徽标、封面图片、强调色和其他所有内容。

但是,在上述指南中说,为了让 Feedly 选择正确的特色图片,您必须添加 webfeedsFeaturedVisual 类名。我怎样才能用我所有的精选图片做到这一点?

提前谢谢你。问候。

如果您希望在特色图片中添加 class:

编辑引用以调用模板中的特色图片:

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

zoomer-class 更改为您自己的 class 名称。

更多信息在这里: https://wordpress.org/support/topic/featured-image-add-image-class?replies=4

希望对您有所帮助!

实际上我设法让 Feedly 通过 plugin 显示特色图片。

感谢您的帮助。