• I’m marking this as a non-support question, because I’m pretty sure this is an error on my end. But if you have some ideas let me know.

    I’m simply trying to get the divs-only layout to show up on a page using the shortcode. I can’t wrap my head around this. So far I’ve tried the following:

    • Selected divs-only in the LWA settings
    • Created the folders plugins->login-with-ajax->widget-default in my child theme folder and put the widget-out.php that belongs to the divs-only folder in there as well
    • Replaced the widget-out in the “default” folder with the divs-only widget-out (in the actual plugin, for testing purposes)
    • I’ve used login_with_ajax(‘divs-only’);
    • I’ve used echo do_shortcode( ‘[login-with-ajax]’ );
    • Made sure I don’t have any catching plugin activated, and only viewing the page in incognito
    • Made sure Cloudflare isn’t caching or doing anything for the site (it’s a test/dev subdomain for staging)

    The only plugins I have that could potentially mess with it (I don’t know):
    All in One WP Security, Query Monitor.

    As a side note, I must recommend that you set divs-only as the default layout for the plugin. It’s very unorthodox to use a table and have the labels to the left of the fields, definitely a usability/UX problem. Maybe you could ask users which one they prefer.

    • This topic was modified 4 years, 7 months ago by tapper101.
    • This topic was modified 4 years, 7 months ago by tapper101.
    • This topic was modified 4 years, 7 months ago by tapper101.
Viewing 1 replies (of 1 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    sorry for the delayed reply. I’ve tested this out and I manage to get this working without issue.

    I don’t think any of those plugins is messing with the template, I do notice one thing:

    login_with_ajax( array('template'=>'divs-only') );

    You’re using it incorrectly in your attempt.

    You could try using my other plugin to debug this, WP Safe Mode.

    I agree with your divs-only suggestion, although we probably need to review all the templates and do a little UI revamp overall, hopefully in 2020 when time permits.

Viewing 1 replies (of 1 total)
  • The topic ‘Default layout shows no matter what I do’ is closed to new replies.