• Hey folks,

    I am trying to edit the HTML output that is produced by the category function in the sidebar.

    I want to add a span within the anchor tags of each list element.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can’t amend the output of wp_list_categories or the Categories widget. Why do you need to add span tags around the links?

    Thread Starter gobbly2100

    (@gobbly2100)

    Oh that is frustrating, the reason is because I want to add fluid rounded corners to my theme that has the categories along the top.

    I guess I just have to accept it is not possible for fluid round corners hey.

    Thanks for your help anyway!

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

The topic ‘Editing Category List HTML Output’ is closed to new replies.