How to Add an Image to the Left of Page Titles?
-
I’ve read through many posts here on how to add an image to the title of a page but none seem to provide a solution.
I’m going to us WP to build a website – no blog, no posts, just a website with pages.
Rather than just text as the title for each page as is the norm, I want to have a small image to the left of each page title, just a small icon. But such a common and seemingly simple requirement is apparently not that easy to achieve with WP
I am thinking that the easiest way to achieve this might be to put some code to on of the core files that says something like:
If the page is ‘Pets’ then load the pets.jpg to the left of the tile text
If the page is ‘Products’ then load the products.jpg to the left of the tile text
If the page is ‘Contact’ then load the contact.jpg to the left of the tile text
etcDoes anyone have any ideas or suggestions?
If this is indeed the best way to do it, what would be the code and what file do I add it to?
Thanks
- The topic ‘How to Add an Image to the Left of Page Titles?’ is closed to new replies.