• How can I use graphical buttons instead of text for the “Pages Widget” pages links in the sidebar? I haven’t been able to find anything on this anywhere. I’m trying to convert a website that was done just with html to one done with WordPress while keeping the same look. The page is http://www.novamusic.ca and I’m trying to find away do the rollover graphical navigation menu in WordPress. Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could do something like this:

    <?php
    foreach(get_pages() as $page){
        echo "<a href=\"$page->guid\">";
        echo "<img src=\"/images/$page->post_name.jpg\" />";
        echo "</a>";
    }
    ?>

    I want to do this too. Where would I insert that code? In the sidebar.php file in the wp-admin folder?

    As for doing rollovers, would I do that all in CSS?

    Thanks so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Graphical Buttons for Sidebar page links?’ is closed to new replies.