Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter itsthenewdc

    (@itsthenewdc)

    Sorry for not mentioning it in full earlier, but this is the code I already had:

    add_filter( 'the_password_form', 'custom_password_form' );
    function custom_password_form() {
        global $post;
        $label = 'pwbox-'.( empty( $post->ID ) ? rand() : $post->ID );
        $o = '<form class="protected-post-form post-password-form" action="' . get_option('siteurl') . '/wp-login.php?action=postpass" method="post">'.
        __( "Password-protected area." ).
       '<div class="col-md-2 col-md-offset-5">
       <input name="post_password" class="form-control" id="' . $label . '" type="password" style="font-size:22px; border-radius:.5rem; text-align:center;" />
       <br />
       <input type="submit" name="Submit" class="btn btn-block" style="font-weight:bold;" value="'. esc_attr__( "Login" ).'" />
       </div>
       <input type="hidden" name="_wp_http_referer" value="'.get_permalink().'" />
       </form>';
       return $o;
    }
    • This reply was modified 7 years, 10 months ago by itsthenewdc.
    • This reply was modified 7 years, 10 months ago by itsthenewdc.
    • This reply was modified 7 years, 10 months ago by itsthenewdc.
    Thread Starter itsthenewdc

    (@itsthenewdc)

    Because when I disable the plugin the issue doesn’t occur and getting the export from Ninja Forms works fine and admin-ajax loads properly. When Sucuri plugin is activate it fails to load the resource and Ninja Forms can’t proceed. This failure to load resource also occurs by just visiting the dashboard, so I doubt it’s a Ninja Forms issue.

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