Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

id tag in button shortcode

Home / Forums / Ascend Theme / id tag in button shortcode

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
July 4, 2019 at 5:13 am

Hi, I saw that if i put a shortcode like this in a page
[btn text="FINALIZAR COMPRA" link="asdasd asd" tcolor="#ffffff" bcolor="#36af48" thovercolor="#ffffff" size="small"]

the result once the page is loaded is that an random id tag is attached to the a tag like
<a href="http://asdasd%20asd&quot; id="kadbtn229" target="_self" class="btn button btn-shortcode sm-kad-btn " style="background-color:#36af48; border: 0 solid; border-color:#000; color:#ffffff;" onmouseover="this.style.color='#ffffff'" onmouseout="this.style.color='#ffffff'">FINALIZAR COMPRA </a>

but i noticed that the id is changing every time the page reload so we cannot address the item by the id tag… is a bug or a normal behaviour?

thank you very much
Angelo

  • The forum ‘Ascend Theme’ is closed to new topics and replies.