• Resolved valentino86

    (@valentino86)


    I am using the hook mctb_before_submit_button to add a checkbox to the top bar.
    Is there any way to add it after the submit button and not before?
    Something like mctb_after_submit_button.

    Thanks ??

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

    (@lapzor)

    Hi,

    At the moment we only have a hook before the submit, label or field, not after.

    View post on imgur.com

    I suppose you could “hack around it” with some CSS positioning, but that’s of course not ideal.

    I do think it makes sense to have an option “mcbt_after_submit_button” so I put in a feature request for you here: https://github.com/ibericode/mailchimp-top-bar/issues/80

    I can’t say if / when we will include this.

    Hope that helps. If you have any questions, please let us know!

    Thread Starter valentino86

    (@valentino86)

    Ok, thanks a lot.

    By the way…amazing plugin ??

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hey Valentino,

    We just released version 1.3.1 of MailChimp Top Bar which includes the mentioned hook. You can now hook into mctb_after_submit_button to output HTML after the submit button.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add code after submit button’ is closed to new replies.