↧
Answer by Ruvee for WordPress featured image url in RSS feed template file
If you want to use get_the_post_thumbnail_url, pass the id to it like so:<image><url><?php echo get_the_post_thumbnail_url(get_the_ID(), 'full'); ?></url></image>Or if you...
View ArticleWordPress featured image url in RSS feed template file
I have created a custom RSS feed template file:<?php/** * RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed. * * @package WordPress */header( 'Content-Type: ' . feed_content_type( 'rss' ) ....
View Article