• Hello! Great plugin!

    I’m having a problem when using Easy Fancybox to display a login form and a register form in a fancybox. Both forms are diplaying but they are not working. After submitting the form it just reloads the page wihtout logging in or registering.

    The code that I’m using is:

    <div style="display:none" class="fancybox-hidden">
    <div id="restricao1" class="hentry" style="width:100%;height:auto">
    <div class="entry-content">
    <div class="et_pb_section et_section_regular">
    <div class="et_pb_row">
    <div class="et_pb_column et_pb_column_4_4">
    <div class="et_pb_text et_pb_bg_layout_light et_pb_text_align_center">
    <h2><img style="margin: 0 20px;" title="foto de title left" src="https://spartanas.com.br/wp-content/themes/spartanas/images/title-left.png" alt="title left">Conteúdo Exclusivo<img style="margin: 0 20px;" title="foto de title right" src="https://spartanas.com.br/wp-content/themes/spartanas/images/title-right.png" alt="title right"></h2>
    </div> <!-- .et_pb_text -->
    </div> <!-- .et_pb_column -->
    </div> <!-- .et_pb_row -->
    <div class="et_pb_row">
    <div class="et_pb_column et_pb_column_1_2" style="width:500px">
    <div class="et_pb_text et_pb_bg_layout_light et_pb_text_align_center">
    <h2>Já Tenho Cadastro</h2>
    <p style="text-align:center">
    <?php echo do_shortcode('[clean-login]'); ?></p>
    </div> <!-- .et_pb_text -->
    </div> <!-- .et_pb_column -->
    <div class="et_pb_column et_pb_column_1_2" style="width:500px">
    <div class="et_pb_text et_pb_bg_layout_light et_pb_text_align_center">
    <h2>N?o tenho Cadastro</h2>
    <p style="text-align:center">
    <?php echo do_shortcode('[clean-login-register]'); ?></p>
    </div> <!-- .et_pb_text -->
    </div> <!-- .et_pb_column -->
    </div> <!-- .et_pb_row -->
    </div> <!-- .et_pb_section -->
    </div>
    </div>
    </div>

    https://www.ads-software.com/plugins/clean-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alberto Hornero

    (@hornero)

    Hello,

    The mistake is you cannot place the shortcode in code. You have to use it directly in a page/post, this is why it isn’t working now.

    Regards,

    Alberto.

    Hi BRG, are you using that code in a theme template file?

    Try the following to debug: Temporarily remove the outer wrapping div to make the two forms visible (without lightbox, straight on your web page) … now test the login or register form. Do they work now?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Clean Login Easy Fancybox’ is closed to new replies.