• Resolved mirgcire

    (@mirgcire)


    This is brilliant plugin. It does exactly what I want, except I am having trouble getting it configured.

    After I verified that the NLW widget works on a side panel, I dragged the NLW widget to the NLW shortcode panel, configured and saved it. Then I added it to my page header in a child theme

    <?php echo do_shortcode('sp-login-shortcode'); ?>

    This didn’t work. All I can see is “sp-login-shortcode” at the top of my page.

    So I tried to put the short code directly into one of my posts, but that didn’t work either. All I could see was “[sp-login-shortcode]”.

    Any suggestions about how to make this work?
    Thanks!

    http://wordpress.org/plugins/nice-login-register-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sgPlanwize

    (@sgplanwize)

    Hi mirgcire,

    Try this:
    <?php echo do_shortcode('[sp_login_shortcode]'); ?>

    Thread Starter mirgcire

    (@mirgcire)

    Thanks for the quick response.
    Sadly, it does not help much.
    Now I am seeing: [sp-login-shortcode] at the top of the page.

    Actually I have the same problem on my development site.
    I tried different settings for both the shortcode widget and the sidebar widget. Everything works great on the sidebar, but it looks like the shortcode widget is failing to register the shortcode.

    You can see for yourself at lightningmandarin.com

    Thread Starter mirgcire

    (@mirgcire)

    My bad. Now I see that your suggestion was to correct two problems:
    1) I forgot the square brackets
    2) I used dash instead of underscore

    When I correct both of those problems at the same time the short code works.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode not working’ is closed to new replies.