Allow shortcodes in custom attributes
-
When providing a custom attribute, it would be extremely convenient if you can use shortcodes or other variables.
For example, I manually add
aria-label|Click to open [post_title_shortcode_here] (opens in a new window)to links to have proper accessibility. Since shortcodes don’t work, I can’t automatically include post titles inaria-labeltags.Is there a way to allow HTML tags to work?
The topic ‘Allow shortcodes in custom attributes’ is closed to new replies.