Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mark737

    (@mark737)

    Thanks for the support, it’s a great plugin by the way, sort of a minimal coding style that I like.
    I used css to do this, in my page-register.php template:

    #ewd-feup-register-form { display: flex; flex-direction: column; }
    #ewd-feup-username-div { order: 3; }
    #ewd-feup-password-div { order: 4; }
    #ewd-feup-confirm-password-div { order: 5; }
    #ewd-feup-password-strength-div { order: 6; }
    #ewd-feup-field-11 { order: 1; }
    #ewd-feup-field-9 { order: 2; }
    #ewd-feup-field-8 { order: 7; }
    .feup-pure-control-group { order: 8; }

    For this issue I could have used a $ReturnString filter for insert_register_form.php.

    Thread Starter mark737

    (@mark737)

    FYI, I put this after the_content() in my page-register.php file, using the BestWebSoft plugin for the google captcha shortcode.

    <script>
    jQuery( document ).ready(function() {
    googlecaptcha_content = ‘<?php
    $captcha_shortcode = do_shortcode(“[bws_google_captcha]”);
    $captcha_shortcode = str_replace( array(“\n”,”\r”,”\t”), “”, $captcha_shortcode);
    echo $captcha_shortcode;
    ?>’;
    jQuery(‘#ewd-feup-register-input-11’).html(googlecaptcha_content);
    });
    </script>

    Thread Starter mark737

    (@mark737)

    Thanks, I did this with jquery html() (same as javascript innerHTML) to put the shortcode there, seems to work. Action/filter functionality like WP uses would have been good in this situation.

    Thread Starter mark737

    (@mark737)

    And it works, thanks!

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