My site contains many download buttons (Elementor buttons) that all point to a .exe file download URL.
I want to change the download link from one central place, and automatically update all download buttons across the entire site.
Example:
Old link:
https://example.com/old.exeNew link:
https://example.com/new.exe
I want all buttons to update instantly without manually editing each Elementor page/template.
What I’ve tried:
Creating a custom field in Settings → General
Adding a shortcode for the global download link
Using JavaScript to override button URLs
Adding a custom Elementor Dynamic Tag in
functions.phpAdding a custom CSS class (like
.global-download-btn) to buttons and replacing href with JSClearing Elementor cache and re-rendering pages manually
Problem:
Elementor stores widget data (like button URLs) inside the page’s postmeta, so changing the global field doesn’t automatically update existing buttons unless I manually re-open and re-save each page or template.
I want a real global solution that:
Lets me change the URL in one place
Updates all Elementor button links immediately
Works with free Elementor (Pro is not available on this project)
Question:
Is there a reliable way (PHP, shortcode, dynamic tag, JS override, or database update) to make Elementor button URLs use a global value that updates everywhere automatically?