• I’m wondering if anyone can give me a hand with editing links.php (if that’s the necessary file). What I want to do is have a separate image appear for each of my Link Category titles. Can this be done? And if so, how?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Find the following line in links.php
    echo ' <li id="'.sanitize_title($cat['cat_name']).'">' . stripslashes($cat['cat_name']) . "\n\t

      \n";


    and modify that to
    echo ' <li id="'.sanitize_title($cat['cat_name']).'">' . '<img src="'.stripslashes($cat['cat_name']) . '".'jpg'.'&nbsp;alt="'.stripslashes($cat['cat_name']) .'".' />'\n\t

      \n";


    Now if you can have images named categoryname.jpg, you can have images as category headers in the links list.
    I hope you get the idea.
    I hope you get the idea.

    ampersand

    (@ampersand)

    Never mind!

    ampersand

    (@ampersand)

    Never mind! Sorry!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Images as Link Category Headers’ is closed to new replies.