• Resolved marcjohnsonfr

    (@marcjohnsonfr)


    I am looking for a way to make the form work in my website.
    It is working everywhere except in my header.
    More precisely it is working but the layout is to big for my design.

    Do you know How Can I edit the height and width of the form itself ?
    Also about the space between the form and the submit button.

    Ideally also the reduce the submit button by 50%

    Thank you very much

    Ps:

    I input that code :

    <p><input type=”email” id=”mc4wp_email” name=”EMAIL” required placeholder=”newsletter signup” /></p><p><input type=”submit” value=”Sign up” />
    </p>

    http://ww.wp.xz.cn/plugins/mailchimp-for-wp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter marcjohnsonfr

    (@marcjohnsonfr)

    You can check it out at http://www.thespace.fr

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Marc,

    You need to use the shortcode [mc4wp_form] or the template function <?php mc4wp_form(); ?> to render the form, otherwise it will not work.

    Further styling can be done by applying CSS rules to the form elements.

    Please switch to using the shortcode or template function first and see how that looks for you.

    Thread Starter marcjohnsonfr

    (@marcjohnsonfr)

    Thank you for your reply
    Have you seen http://www.thespace.fr

    I wish to reduce the form by 50% ideally in the HTML code not in the shortcode…

    I put this code and its working put its too big. :
    <p><input type=”email” id=”mc4wp_email” name=”EMAIL” required placeholder=”newsletter signup” /></p><p><input type=”submit” value=”Sign up” />
    </p>

    Can u possibly help me ?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Marc,

    Yes I’ve seen it but there’s no way the form in the header will work like that. You will need to use the template function or shortcode, as described in the FAQ. Try submitting the header form as it is now and you will see that it does not work.

    After you switched to using the template function, let me know so I can take another look and help you out with the CSS.

    Thread Starter marcjohnsonfr

    (@marcjohnsonfr)

    Yep your right! it doesn’t work like that:)

    eventhough I am copy pasting : <?php mc4wp_form(); ?>
    into my header content area and nothing appear.

    If I put : [mc4wp_form]
    It is recognize as a text not as a shortcode.

    Maybe I need to download somemore plugin or something.

    What do you think ?

    thank you.

    Plugin Author Danny van Kooten

    (@dvankooten)

    How are you adding the template function or shortcode to your header area? Are you editing a file called header.php or does the theme you’re using offer a textarea / editor for it?

    If so, contact your theme author and tell him to allow the use of shortcodes inside the header content. Not much I can do about that, sorry..

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

The topic ‘Shortcode [mc4wp_form]’ is closed to new replies.