• Resolved seedsandspades

    (@seedsandspades)


    When I enter the I2 sample shortcode [i2pc][i2pros]Line by line Pros here[/i2pros][i2cons]Line by line Cons here [/i2cons][/i2pc] in Elementor it works great. But the button is missing. Does anyone know why it’s missing? Below the I2 sample shortcode it gives “Available Options for Shortcode”. One of them says “show_button // true – false”. How do I add that to my elementor shortcode for the button to show up? I’ve tried [show_button=”true”] and that doesn’t work.

Viewing 1 replies (of 1 total)
  • Plugin Author imibrar

    (@imibrar)

    you can do it by add attribute “show_button” to i2pc shortcode, please check sample code below.

    [i2pc show_button="true" link_text="view on amazon" link="https://yourlink.com"][i2pros]Line by line Pros here[/i2pros][i2cons]Line by line Cons here [/i2cons][/i2pc]

    please check the list of available attributes

    className // main div class name
    pros_icon // icon class name sample : icon icon-check-2
    cons_icon // icon class name sample : icon icon-check-2
    pros_title // pros heading text
    cons_title // cons heading text

    show_title // show main title true – false

    title // main title text

    heading_pros_icon // icon class name sample : icon icon-check-2

    heading_cons_icon // icon class name sample : icon icon-check-2
    use_heading_icon // true – false

    show_button // true – false

    button_icon // icon class name sample : icon icon-check-2
    button_display_block // true – false ‘if you want to show button in full size’
    link_text // button text
    link // button link

    • This reply was modified 4 years, 7 months ago by imibrar.
    • This reply was modified 4 years, 7 months ago by imibrar.
    • This reply was modified 4 years, 7 months ago by imibrar.
Viewing 1 replies (of 1 total)
  • The topic ‘How do I add shortcode to Elementor?’ is closed to new replies.