• Nico

    (@kodak2305)


    Hi!

    I’m trying to add the plugin via shortcode or php function.
    But I can’t find the code or documentation for it.

    The only function I could find is the checkbox function for the comments: rm_add_checkbox();

    Are there other functions (for the form) or shortcodes?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Chipping in here: Shortcode would be nice. The plugin needs some love πŸ™‚

    Nico

    (@kodak2305)

    +1 for official shortcode.
    I had to change the plugin to add the shortcode but that’s not ideal… my changes will be overwritten with the next update.

    Would you mind sharing what changes you made? Maybe if the code’s ready to pluck, they’d implement it in a breeze πŸ™‚

    What’s funny is, that the plugin even advertises its shortcode ^^
    “Alternatives EinfΓΌgen des Anmeldeformulars mit WordPress-Shortcodes”

    Nico

    (@kodak2305)

    Yes, the plugin definitely needs some love πŸ˜‰

    I just added one line in the plugin code to add it as a shortcode:

    File: rapidmail_plugin.php line 407 (just before register_sidebar_widget)

    add_shortcode( 'rm_form', 'rm_widget' );

    then add it with

    [rm_form]

    Okay, I expected a bit more code. But even better! I’m going ahead tinkering with the plugin including your change. Hopefully I’m quick enough (and capable enough) to get through it quickly. And maybe, rapidmail will take those changes πŸ™‚

    May I ask how you handle that submitting the subscription form opens a new tab? Did you just accept that or did you find a way to “ajaxify” this?

    motivmedia

    (@motivmedia)

    Hey kodak2305, check out my post at https://wordpress.org/support/topic/suggestions-9/
    I tinkered a bit over the weekend πŸ™‚

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘shortcode code?’ is closed to new replies.