Into the sidebar.php file a dynamic sidebar is loaded. But now, for some widgets i would like to edit the template. For example, i add the “categories” widget to the primary sidebar from wp-admin and i want to add an image next to each category, how can i do that please ?
You can’t edit the markup for the default widgets without hacking the WordPress core – which I would not recommend. However, depending upon your theme, it may be possible to add images using CSS. Or you could use a coded solution.
Viewing 1 replies (of 1 total)
The topic ‘How to edit dynamic sidebar widget templates’ is closed to new replies.