Unique ID associated with button anchor tags #4535
Labels
request/enhancement
Indicates an Enhancement Request for an existing feature.
status/merged
Indicates when a Pull Request has been merged to a Release.
Milestone
Prerequisites
Description
Anchor tags used for buttons do not have a unique ID associated with them. Assigning a unique ID or css class to the button widget associates the ID or class to the parent div instead of the anchor tag.
Ideally, there should be a unique identifier associated with each button anchor tag for identification and use for Google Analytics events.
A unique class or id could be included by adding the widget id to the anchor tag. A solution similar to this:
File: /elementor/includes/widgets/button.php
On line 423 within the
render()
functionThanks
The text was updated successfully, but these errors were encountered: