Support » Plugin: Frontend Dashboard » I added [fed_login_only] shortcode in header , now login not working

  • 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

    <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 8 months, 2 weeks ago by 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.

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

    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.