Forums

Formatting bug for Link headings in sidebar ? (1 post)

  1. sknob
    Member
    Posted 6 years ago #

    Having updated to 1.5 and while "porting" my old design to templates, I noticed that the links and category headings in my sidebar weren't displayed using the proper styles. Looking at the code of the rendered page, I noticed that these headings were surrounded by 'h2' tags... These are in fact "hardcoded" in the "get_links_list()" function in the links.php file (line 551).

    echo ' <li id="linkcat-' . $cat['link_category'] . '"><h2>' . $cat['cat_name'] . "</h2>\n\t

      \n";

    I removed the offending 'h2' tags, but I was wondering if there is a reason for these tags being there or if this a bug.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.