• Widgets
      Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Icons Extended
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carouse
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features

      Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits

      Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Ready Pages

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands

      WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Widgets
      Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Icons Extended
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carouse
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features

      Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits

      Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Ready Pages

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands

      WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
Purchase Now

Getting Started

  • Can’t see the Master Addon Element inside Elementor Page editor?
  • Update Issues For WordPress Core, Theme, & Plugins
  • How To Apply For an Affiliate Account?
  • Upgrade Master Addons Free To Pro
  • Active Pro version
  • Installing Plugin

Addons

  • Progress Bars
  • Image Carousel
  • Featured Product Element
  • Elementor Comparison table For Products & Services
  • Source Code Element
  • Advanced Image Element
  • How to Add Gradient Headline in Elementor?
  • Gallery Slider
  • Toggle Content
  • Infobox Element
  • Timeline Element
  • Dynamic Table Element
  • Instagram Feed
  • Mailchimp Element
  • BlockQuote Element
  • Changelog Element
  • Countdown timer
  • Current Time
  • Search Element
  • Filterable Image Gallery
  • Team Members Carousel
  • Counter Up For Elementor
  • Restrict Content For Elementor
  • MA Table of Contents
  • Image Hotspot
  • Image Comparison Element
  • News Ticker Element
  • Image Hover Effects Element
  • Advanced Tabs Element
  • Pricing Table Elementor Free Widget or Element Customization
  • Navigation Menu + Mega Menu
  • Navigation Menu Element
  • How Domain Search Works
  • How to configure FlipBox Element
  • Adding Tooltip in Elementor Editor
  • How to add Creative Links?
  • How to Add Business Hours Elementor Page Builder?
  • How To Edit Contact Form 7
  • How to add Creative Buttons
  • Animated Headline Elementor Page Builder
  • Elementor Accordion Widget
  • Elementor Call To Action Widget Tutorial
  • How To Create and Customize Progressbar In Elementor
  • Blog Element Customization
  • Adding Team Members in Elementor Page Builder
  • Customize Dual Heading In Elementor Page Builder

Extensions

  • Which Element
  • Post & Page Duplicator
  • Grid Line
  • Elementor Glassmorphism Effects Extension
  • Tooltip Extension for Elementor by Master Addons
  • Wrapper Link
  • Floating Effects
  • Dynamic Tags
  • Elementor Display Conditions For Browser, User, Time, Many More
  • Entrance Animation
  • Header, Footer, & Comment Builder
  • Custom Elementor Breakpoints Setup & Configuration
  • Animated Gradient Background Extension
  • Reveal Extension
  • Particles Extension
  • Background Slider Extension
  • Transforms Extension
  • Rellax Extension
  • Positioning Extension
  • How to set Rellax Extension in any Element?
  • Custom CSS Extension

Widget Builder

  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • URL
  • Date Time
  • Typography
  • Font
  • Color
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Text Area
  • Number
  • Text

Theme Builder

  • Comment Form
  • 404
  • Search
  • Archive
  • Single
  • Footer
  • Header

Popup Builder

  • After Inactivty
  • Exit Intent Trigger
  • On Page Load Trigger
  • Popup Settings & Options

Template Kit

  • Access and Import Pre-built Template Kits
  • Import Elementor Template Kits
View Categories
  • Home
  • Docs
  • Widget Builder
  • URL

URL

Roy
Updated on March 4, 2026

4 min read

The URL control adds a dedicated link input field to your widget, giving users a familiar and structured way to add hyperlinks — including options to open links in a new tab, apply SEO attributes, and even populate the URL dynamically.

Why Use This Control? #

Use this control whenever any element in your widget needs to be clickable — buttons, image links, banners, cards, or any call-to-action. It bundles all best practices for link creation into a single, user-friendly interface that your users already know from native Elementor widgets.

Where It Appears #

  • In Widget Builder — Add it from the Content tab of the control panel.
  • In the Elementor Editor — Renders as a standard Elementor URL field where users can paste a link, search for existing site content, or connect a dynamic tag.

Available Settings #

Basic Settings #

SettingDescription
LabelDisplay name shown in the editor (e.g., Button Link, Read More URL)
NameUnique machine-readable ID used in the shortcode (e.g., button_link)
DescriptionOptional helper text shown below the field
PlaceholderExample text shown when the field is empty
Default ValueA pre-populated URL when the widget is first added

URL Options #

These checkboxes control which link features are exposed to the user in the editor:

  • URL Input — The core link field. Always enabled.
  • Open in new window — Adds a toggle to open the link in a new browser tab (target="_blank").
  • Add nofollow — Adds a toggle to apply rel="nofollow" for SEO purposes.
  • Custom Attributes — Exposes a field for additional HTML attributes (e.g., aria-label="Learn more").

Advanced Settings #

  • Show Label / Label Block / Responsive Control — Standard visibility and layout options.
  • Dynamic Support — Allows the URL to be populated from dynamic sources like the current post URL, author archive, or a custom field.
  • Frontend Available — Passes the full URL data (including target, rel, etc.) to your widget’s JavaScript.
  • Separator / Conditions / Control Classes / Selector — Standard advanced control options.

Generated Shortcode #

When you add a URL control with the Name set to button_link, the builder generates the shortcode:

text{{button_link}}

⚠️ Important: This shortcode does not output a plain URL string. It returns a structured array containing the URL and its related attributes (url, is_external, nofollow). This is why it must be used correctly in your HTML panel — see below.

How to Use It in the HTML Panel #

Because {{button_link}} returns an array, you cannot drop it directly into an href attribute like a plain string. The builder provides a special syntax to access the URL value correctly.

✅ Correct usage:

<a href="<?php echo esc_url( $button_link['url'] ); ?>"
   class="hero-btn">
  {{button_text}}
</a>

To also handle “open in new tab” and “nofollow” properly:

<?php
$target   = $button_link['is_external'] ? ' target="_blank"' : '';
$nofollow = $button_link['nofollow']    ? ' rel="nofollow"'  : '';
?>

<a href="<?php echo esc_url( $button_link['url'] ); ?>"
   class="hero-btn"
   <?php echo $target; ?>
   <?php echo $nofollow; ?>>
  {{button_text}}
</a>

❌ Incorrect usage — this will cause an “Array to string conversion” error:

<a href="{{button_link}}">Click Here</a>

Practical Example: CTA Button Widget #

  1. In the Content tab, add a URL control.
  2. Set Label to Button Link and Name to button_link.
  3. Under URL Options, enable Open in new window and Add nofollow.
  4. Set a Default Value like https://yourwebsite.com/learn-more.
  5. In your HTML panel, use the correct markup:
<?php
$target   = $button_link['is_external'] ? ' target="_blank"' : '';
$nofollow = $button_link['nofollow']    ? ' rel="nofollow"'  : '';
?>

<a href="<?php echo esc_url( $button_link['url'] ); ?>"
   class="custom-button"
   <?php echo $target; ?>
   <?php echo $nofollow; ?>>
  {{button_text}}
</a>

Common Use Cases #

  • Button & CTA Links — The most frequent use case; any clickable button in a widget.
  • Image & Card Links — Make entire image cards or banners clickable.
  • Navigation Elements — Build custom menu items or breadcrumb links.
  • Dynamic Linking — Use with Dynamic Support to create “Read More” buttons that auto-link to the current post, or author bio links.

Tips & Best Practices #

  • Always use $button_link['url'] — Never echo {{button_link}} directly into an href. Always access the url key from the returned array.
  • Sanitize with esc_url() — Always wrap the URL output with esc_url() to prevent XSS vulnerabilities.
  • Enable useful options — For external links, enabling Open in new window and Add nofollow is standard SEO and usability practice.
  • Leverage Dynamic Tags — Dynamic Support transforms this from a static field into a powerful context-aware connector. Encourage its use for post links, archive links, and custom fields.
  • For JavaScript access — If you need the URL value in the JS Panel (e.g., for click tracking), enable Frontend Available so the full link object is passed to your widget’s JavaScript.
What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on March 4, 2026
Popover ToggleDate Time
Table of Contents
  • Why Use This Control?
  • Where It Appears
  • Available Settings
  • Basic Settings
  • URL Options
  • Advanced Settings
  • Generated Shortcode
  • How to Use It in the HTML Panel
  • Practical Example: CTA Button Widget
  • Common Use Cases
  • Tips & Best Practices

Join 40,000+ Web Creators Who Trust Master Addons

Get all the premium widgets and templates you desire, built with clean code that keeps your site fast. Ditch the bloat, not the features.

Try Live Demo
Join The Community
Master Addons for Elementor
Master Addons Logo

110+ Premium Widgets & Lifetime Updates – Build Beyond Limits. An Exclusive Creation by Pixar Labs

Facebook-f Twitter Youtube Wordpress
Features
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Support Forum
  • Contact US
  • Join Community
  • Blog
Resources
  • Apply For Affiliate
  • Documentation
  • Video Tutorials
  • My Account
  • Change Log
  • Apply For Affiliate
  • Documentation
  • Video Tutorials
  • My Account
  • Change Log
Navigate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Privacy Policy