• Resolved typeless

    (@jbalyo)


    Using the [ultimatemember form_id=505] shortcode works if it is inserted into the specified Login page selected under Ultimate Member > General > Login page. However, using the same shortcode in a page outside of WordPress using something like this:

    <?php
    include('wp-config.php');
    get_header();
    echo do_shortcode('[ultimatemember form_id=505]');
    get_footer();
    ?>

    does not produce a working form. The form looks correct, but does not submit properly.

    I’m wondering – does Ultimate Member add extra code separately from its shortcode when producing the login form? Is it possible to use the formatted Ultimate Member login form on pages other than the single specified login page allowed in the settings?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jbalyo

    I tested this code and it works just fine outside of WordPress. So, I would have to say no there aren’t any extra filters that would stop this from working.

    Did you check the source code to see if it tried to load anything?

    Thread Starter typeless

    (@jbalyo)

    @suiteplugins

    Thanks for the reply. Yes it loads the form but it does not have any “action” set. When looking at the regular login form there isn’t one set either initially, so I had suspected maybe there was some external javascript or something that set it on submit.

    If it worked in your testing, there must be some other plugin blocking it on my end. I’ll dive a little deeper and see what I can find – thanks again for checking this.

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

The topic ‘do_shortcode does not work with UM login’ is closed to new replies.