-2

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.exe

  • New 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.php

  • Adding a custom CSS class (like .global-download-btn) to buttons and replacing href with JS

  • Clearing 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:

  1. Lets me change the URL in one place

  2. Updates all Elementor button links immediately

  3. 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?

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.