How to generate different images per page?
-
This is very basic question, yet I’m having the hardest time trying to figure out how to pull this off.
I have a side navigation set to a separate template php file called “sidenav.php” and it is this file that is pulling ONLY the sub navigation for the interior pages on my site. This side navgation is prevalent on every page except for the contact and blog section. There is a spot above the nav for ONE image or THUMBNAIL.
Here are my questions for this dilemma:
1. How do I go about doing this?
2. How do I apply the loop to this?
3. What is the <?php something_image(); ?> or “tag” should I be using?
4. How do I embed this “tag”. Where should it go?
5. How should I set up my file structure to have the tags/functions pull images from my images folder?
6. How should I set up my images folder or how should I name the files?If I missed out on anything, please let me know. This is basic stuff I know, but I’ve spend hours already just reading WordPress documentations and it’s not making any sense to me.
Thanks for reading this post. Hope to hear from you soon!
- The topic ‘How to generate different images per page?’ is closed to new replies.