• Hi, I want to achieve a fairly simple thing. To use images in navigation istead of anchor text. SO far I haven’t been able to figure out how to do that without hard-coding the links.

    My basic navigation structure would be something like this:

    <ul>
    <li><a href="page-1"><img src="images/page-1.gif"></a></li>
    <li><a href="page-2"><img src="images/page-2.gif"></a></li>
    </ul>

    You can see that I would like to get the image filename dynamically from the page slug or page title.

    How can this be done?

  • The topic ‘Images for Navigation’ is closed to new replies.