Marinus Klasen

Marinus Klasen

  • Development
  • Consultancy
  • Developer Resources
  • Blog
  • Contact

March 27, 2025

Elementor Widget Usage

Marinus Klasen

We needed to replace some widgets on a Learndash website. This is a website with hundreds of courses, and well – we don’t want to manually look at every page to see if a widget is in use.

Okay, can I just download it?

Download Elementor Widget Usage

Can we automate that?

Yes we can! I mean, the searching.. since the replacing also involved changing widget settings. I started writing a foundation, nothing fancy – just an admin page that fires a function that retrieves widgets from all WordPress posts by scanning the _elementor_data meta field.

We can then present that to the user, this results in a:

  • List of all components used in the website, including the occurences and amount of pages

We’ll expand on that a bit, when you click a widget, it’ll show you some more details on the pages it’s used in and allows you to filter the list with a text search field. The search basically filters down the results and finds the text in the _elementor_data meta field.

How does it look like?

Where do I download it?

I’ve published the code to a Github repository, here:

https://github.com/mklasen/elementor-widget-usage

Download the latest release

About Marinus Klasen

Marinus has been working in software/web development for more than a decade. Since 2020 his attention shifted on sharing knowledge and developing products and tools for sharing knowledge.

Marinus Klasen on Twitter

Looking for a WordPress expert?
Hire top notch developers on Codeable!

Consult an expert

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get in touch

Contact me using the details below

Marinus Klasen

Wilhelmina van Pruisenweg 35, 2595 AN Den Haag

marinus@mklasen.com
twitter.com/marinusklasen
linkedin.com/in/marinusklasen

  • GitHub
  • LinkedIn
  • Twitter

Have you read?

  • Elementor Widget UsageMarch 27, 2025
  • Programmatically showing popups with ElementorMarch 25, 2025
  • The Elementor sanitize_settings errorSeptember 12, 2024
  • Announcing.. Wooping Shop Health!June 13, 2024
  • Swiper setup when using wp-scriptsMarch 14, 2024

Copyright © 2025 ยท Marinus Klasen | Webdesign by Team Rood