• Anonymous User 5746546

    (@anonymized-5746546)


    Hello, I noticed two things and was wondering if you could add them as future features. The first is no auto insert of the login short code. I renamed my login location to be more secure. Only those who know where that login page is located will have access anyway. So I don’t need the login short code. But every time I navigate away from the Subway options page, it re-adds the short code to the “Login Page” page. Can you disable that? Or allow us an option to enable/disable it?

    The second item is custom pages. There’s a custom page redirect for after someone logs in. But I wanted a custom page before the person logs in. That is, they visit the blog but aren’t logged in and get redirected to a custom page. By this, I’m not referring to the pages and posts within WordPress – I mean specifying a specific page like https://www.myblog.com/not_logged_in.html. Was wondering if this could be added to the feature list.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter Anonymous User 5746546

    (@anonymized-5746546)

    For anyone who is in the same/similar situation as me and wants to disable the shortcode from being added automatically, here is the temporary solution. You can edit this in Plugins > Editor. That way, if the author updates, you’ll still get the latest version.

    1. Edit field-subway-login-page-form.php
    2. Find line 34

    if ( ! has_shortcode( $login_page_object->post_content, 'subway_login' ) ) {

    3. Insert /* right before the “if” like so:

    /*if ( ! has_shortcode( $login_page_object->post_content, 'subway_login' ) ) {

    4. Find line 41 & 42:

    	wp_update_post( $new_post_object );
    			}

    5. Insert */ right after the “}” like so:

    	wp_update_post( $new_post_object );
    			}*/
Viewing 1 replies (of 1 total)
  • The topic ‘custom pages and no auto shortcode insert’ is closed to new replies.