• Resolved marithomas

    (@marithomas)


    HI

    I have a shortcode for a newsletter opt-in form which I am using on my homepage but I want to add the same form to a pop-up I want to place on a separate page. I am using your shortcode option but I want to add a couple of lines of text before it to explain what the users are signing up for. Is there an option for this, please? I see that form description is optional and “Descriptions are optional and you may choose to display it to visitors to your site.” Is this what I need? If so, ho do I make this text visible to visitors please?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @marithomas,

    Using the description sounds like a good idea for this. To do that, set description="1" in your shortcode. If you’d like to add a custom description for your two separate placements of the form, you can change the description in the shortcode by using custom_description="my custom description".

    You should be aware that a description cannot contain HTML – only text.

    Let me know how that works for you.

    Cheers,
    Kevin.

    Thread Starter marithomas

    (@marithomas)

    HI Kevin! Thanks so much for your help.

    Bear with me as I’m still learning about shortcodes.

    My current short code looked like this: [yikes-mailchimp form=”2″]

    So do I now change this to [yikes-mailchimp form=”2″,description=”1″]?

    Also, if I wanted the custom version, where do I please this custom_description=”my custom description” please?

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hey @marithomas,

    I’m glad your learning shortcodes 🙂

    You use spaces between all of your shortcode arguments. So a shortcode incorporating the arguments form, description, and custom_description will look like this:

    [yikes-mailchimp form="2" description="1" custom_description="This is my custom description"]

    Cheers,
    Kevin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘possible to have Shortcode option with text?’ is closed to new replies.