Featured Images
-
Is there a way to use a MPG shortcode to set the Featured Image field? I tried using the Featured Image from URL (FIFU) plugin but the MPG shortcodes do not render in the URL field on the page template. I also tried that with the Shortcode Any Widget plugin, trying to make a square bracketed shortcode [] but that also does not render. Seems like there should be a simple way to set this like how the other common page fields like the slugs, titles, etc. can be set. Any ideas on how to make this work?
For example, on my city pages, I have URLs of the desired featured images in my media library like this:
content/uploads/Los-Angeles-Night.jpg
content/uploads/Bakersfield-Night.jpg
content/uploads/Fresno-Night.jpgand I’m trying to make it work like this:
content/uploads/{{mpg_city}}-Night.jpgIn the page source, it’s rendering out like this on each city:
content/uploads/mpg_city-Night.jpg
- The topic ‘Featured Images’ is closed to new replies.