{"action":"opened","issue":{"url":"https://api.github.com/repos/pojome/elementor/issues/4535","repository_url":"https://api.github.com/repos/pojome/elementor","labels_url":"https://api.github.com/repos/pojome/elementor/issues/4535/labels{/name}","comments_url":"https://api.github.com/repos/pojome/elementor/issues/4535/comments","events_url":"https://api.github.com/repos/pojome/elementor/issues/4535/events","html_url":"https://github.com/pojome/elementor/issues/4535","id":326063951,"number":4535,"title":"Unique ID associated with button anchor tags","user":{"login":"clickharder","id":19212129,"avatar_url":"https://avatars3.githubusercontent.com/u/19212129?v=4","gravatar_id":"","url":"https://api.github.com/users/clickharder","html_url":"https://github.com/clickharder","followers_url":"https://api.github.com/users/clickharder/followers","following_url":"https://api.github.com/users/clickharder/following{/other_user}","gists_url":"https://api.github.com/users/clickharder/gists{/gist_id}","starred_url":"https://api.github.com/users/clickharder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clickharder/subscriptions","organizations_url":"https://api.github.com/users/clickharder/orgs","repos_url":"https://api.github.com/users/clickharder/repos","events_url":"https://api.github.com/users/clickharder/events{/privacy}","received_events_url":"https://api.github.com/users/clickharder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-24T10:41:21Z","updated_at":"2018-05-24T10:41:21Z","closed_at":null,"author_association":"NONE","body":"<!--  ## BEFORE POSTING YOUR ISSUE\r\n\r\n- Please create GitHub issues only for bugs and feature requests. GitHub issues ARE NOT FOR SUPPORT!\r\n\r\n- If you have questions or need general support,  Please use:  https://wordpress.org/support/plugin/elementor \r\n\r\n- For help and support from the Elementor community, see: https://www.facebook.com/groups/Elementors/\r\n\r\n- To read more about Elementor, check out our documentation: https://docs.elementor.com\r\n\r\n- Developers docs are located at: https://developers.elementor.com/\r\n\r\n===== Guidelines ====\r\n\r\n- Search this repository (top of the page) for the issue, and make sure it has not been fixed or reported before.\r\n- Make sure you are using the most updated versions of Elementor, WordPress & your theme.\r\n- Deactivate all of your plugins. If this solves the problem, gradually activate your plugins one by one, until you spot the problematic plugin.\r\n- Change your WordPress theme to WordPress TwentySixteen (or other default WordPress theme).\r\n- If you're requesting a new feature, explain why you'd like it to be added. Try to add as much detail as you can, and be specific.\r\n\r\n-->\r\n\r\n## Prerequisites\r\n<!-- MARK COMPLETED ITEMS WITH AN [x] -->\r\n\r\n- [X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.\r\n- [X] The issue still exists against the latest stable version of Elementor.\r\n\r\n\r\n## Description\r\n\r\nAnchor 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.\r\n\r\nIdeally, there should be a unique identifier associated with each button anchor tag for identification and use for Google Analytics events.\r\n\r\nA unique class or id could be included by adding the widget id to the anchor tag.  A solution similar to this:\r\n\r\nFile: /elementor/includes/widgets/button.php\r\n\r\nOn line 423 within the `render()` function\r\n```\r\n$id_int = $this->get_id_int();\r\n$this->add_render_attribute ( 'button', 'class', 'btn-'.$id_int );\r\n```\r\nThanks\r\n"}}
{"actor":{"display_login":"clickharder"}}