I’m sure this can be made to work: I want to call up an image with this:
‘http://www.mydomain.com/images/<?php the_title(); ?>_image.jpg’
…and name my images specifically for each page. (home_image.jpg, contact_image.jpg, etc…)
It works for pages with one name titles but I can’t get it to use the Page Slugs over the Page Titles, so Pages with titles like “The Author” don’t work. I’ve tried replacing the_title with a lot of other stuff but nothing works. What’s needed? Thanks!
- The topic ‘A different image on each Page’ is closed to new replies.