How to load user_panel.php
-
Trying to have the user_panel.php as the main page when users are logged in. Just installed this plugin and apparently it created several different pages, each page having the following shortcode in it: [theme-my-login]
So, looking at documentation for this, I have copied all files from the plugins template directory into my theme like so: {theme root}/theme-my-login/{all files from template directory}
Not sure if this is the correct way to do this, but seems like it is working. 1 Problem I’m facing, however, is that when all users are logged in, it loads up the profile-form.php template instead of the user-panel.php template. I would like to have different links, and I’ve added these for that role, but it still loads up the
profile-form.php
file instead ofuser-panel.php
file when a user logs in. How to make it loaduser-panel.php
instead? This is the assumption I get that it should automatically be loading this file as the default template after logging in, but it is not.
- The topic ‘How to load user_panel.php’ is closed to new replies.