Add Featured Image as Post URL Path Component Extension


I would like to append an extension component to my post URL that would allow me to get the featured image of a post while preserving the URL scheme.

For example, if my final post URL was:

I would be able to retrieve the featured image using:

The /thumbnail component would be statically named. This is a convention that I have seen around the place and would allow me, for example, to provide an image in an external RSS-based rendering where only the RSS title and URL properties are available.

Any thoughts would be very welcome.

user197688 2 months 0 Answers 9 views 0

Leave an answer