How To Get WordPress Widget ID

In this blog post, I want to share with you, how to get the id of a WordPress widget. This is very useful when you want to customize any widget added to your WordPress website especially if you want to use media queries to control whether the widget should display only on mobile, tablet or desktop.

If you want to get the id of WordPress widget easily, I recommend you install the Get Widget ID plugin for WordPress.

By making use of this plugin, you no longer have to be inspecting elements and messing with your site html.

Simply install this plugin and you will see the widget ID been displayed on the widget form as seen in the screenshot below :

If you know other simple trick I can use to get WordPress widget ID, kindly share via comments.

2 Comments

Leave a Reply

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

You Can Now Apply for UNICAF Scholarship for a Recognised UNICAF University Degree!

Jumia Market (Kaymu) Affiliate Program Pays You N500 When You Sign Up and N300 Per Affiliate You Refer