Add the Order of Widgets Within a Sidebar as a CSS Class to All Widgets

/ Published in: PHP
Save to your folder(s)

Here is a simple filter to automatically add a class attribute like widget-order-1 to all widgets within sidebars (from


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.