• Resolved code9dev

    (@code9dev)


    I added [fed_login_only] shortcode in header , now login not working in pages i created dynamically , it works by adding this to text editor . but that is not a solution at all .please help

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author M A Vinoth Kumar

    (@vinoth06)

    Hi

    Yes may not be. But you should add the shortcode in Gutenberg as shortcode block. Kindly try adding the shortcode with shortcode block. It might help you. If you add the shortcode in paragraph or html block it won’t work

    Thread Starter code9dev

    (@code9dev)

    <div class=”col-12 col-sm-6 col-md-6″>
    <?php
    echo do_shortcode(“[fed_register_only]”);
    ?>

    </div>
    <div class=”col-12 col-sm-6 col-md-6″>

    <?php echo do_shortcode(“[fed_login_only]”);?>

    </div>

    above is code in header, but it doesnot work in all pages.
    Even i tried to use widgets, but no help

    • This reply was modified 4 years, 10 months ago by code9dev.
    Thread Starter code9dev

    (@code9dev)

    please help…..

    Plugin Author M A Vinoth Kumar

    (@vinoth06)

    If you are login the shortcodes through the page load then the relevant JS and CSS will load, If you load the shortcode through AJAX then you need to enqueue the relevant JS and CSS to make the Login and Register shortcode to style and work.

    Thread Starter code9dev

    (@code9dev)

    can you give me the code for loading revelant js and css

    Thread Starter code9dev

    (@code9dev)

    in themes fucntions

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I added [fed_login_only] shortcode in header , now login not working’ is closed to new replies.