Skip to content

1fix.io

One step at a time

regular expression

Add icons to wp_list_categories

August 21, 2014 by Yoren Chang

Today when I need to add icons to wp_list_categories, the post from Isabel Castillo showed up in the Google search results, which gave me the idea that wp_list_categories filter could do the magic. The only problem is for some reason, I need the icon displayed in the a tag, the pattern from Castillo’s post didn’t …

Read more

Categories Gist, WordPress Tags preg_replace, regular expression Leave a comment
© 2023 1fix.io • Built with GeneratePress
  • Work With me
    • About Me
    • DEV.to
  • Freelance Better
  • WordPress Plugins
    • Completely Delete
    • Unsortable Meta Box
    • Media Search Enhanced
    • Custom Featured Image Metabox
    • Quick Add Child
    • Categories Metabox Enhanced
  • AngularJS WordPress Theme