Is any way to define custom code/file of standard class-wp-widget-categories.php for my theme?

In standard WP class-wp-widget-categories.php list is printed in simple <ul> tag. I need to add special CSS class for this tag but only for my theme, but not for all widgets loaded from this file. So I came up with that in directory structure of my theme I could have replacement file with custom code.

Any help?

  • I don't see <ul> tag In standard WP class-wp-widget-calendar.php – Jevuska Apr 10 '16 at 3:08
  • Sorry - my FAULT. categories! – X9DESIGN Apr 10 '16 at 10:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.