Okay
  Public Ticket #1572373
Nectar Button - Target
Closed

Comments

  •  2
    Jan started the conversation

    How can I add a target to a Nectar button? I want the link to open in a new window. Here is my button code:

    [button color="Accent-Color" hover_text_color_override="#fff" size="large" url="#" text="BUY" color_override="#79BC5C" image="default-arrow"]

    Thanks.

  •  3,068
    Andrew replied

    Hi Jan,

    You can get the shortcode for the button to open in new tab by adding the button element to the page builder, then go into the settings for that element and select the open in new tab option.

    Then switch back to the wordpress editor and then text mode and grab the shortcode from there.

    Hope this helps.

  •  2
    Jan replied

    Of course.... the code is:

    open_new_tab="true"

    Thanks.