• Resolved mrmckee

    (@mrmckee)


    Hi,

    At the moment I am using shortcode to embed my testimonial form. Is there a way of referring to it in a hyperlink (e.g. html as it appears I can’t put shortcode in a href…)

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • anonymized-13171256

    (@anonymized-13171256)

    No, the shortcode needs to be in page content or a widget in order to be rendered. href can only be a URL.

    anonymized-13171256

    (@anonymized-13171256)

    Correction: the shortcode needs to be in the content of any post type that renders shortcodes – post, page, popup (e.g. Popup Maker), product (e.g. WooCommerce), custom post types included in theme, etc. – or a widget.

    Thread Starter mrmckee

    (@mrmckee)

    Many thanks for the reply. I’ve managed to get it working 😀

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Launch in hyperlink?’ is closed to new replies.