Set a static page as a user profile page?
You will just need to put your static html that you intend to use into the author.php template file. It’s that easy.Hope it work for you 🙂
You will just need to put your static html that you intend to use into the author.php template file. It’s that easy.Hope it work for you 🙂
I don’t know any plugin that allows that. Anyway, there are other options to let users upload videos to your webpage. I would make a new user Role. You can install User Role Editor plugin to do that. After creating a new Role, you can give the permissions you want. You can allow them to … Read more
Is your profile.php is a file inside your theme. If so it’s need to be a page template. Then you need to add query vars and add rewrite rule for that query vars . please read this blog http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/ for reference
You can use edit_user_profile (when viewing other user profiles) and show_user_profile (when viewing your own profile) actions to add information on profile page. So to have there the list of posts of the selected user you could add to your functions.php: function show_user_posts_on_profile( $user ) { $args = array( ‘author’ => $user->ID ); $user_posts = … Read more
There are 2 ways to achieve your result: Use wordpress`s rest api functionality and some frontend js framework (Angular or React or other at your choice) Code custom theme for this purpose – maybe something with authorization and custom userpages
Did something change in regards to custom profile fields in WP 4.8.2 (mine have disappeared)?
ok everything fixed at the time, I modified the oroginal form with “register_form” and then I called the input with that value in my custom form.
Need help with drop down list on the profile
You could try the following. Add to your functions.php function admin_profile_menu() { remove_menu_page(‘profile.php’); add_menu_page( “NEWLABEL”, “NEWLABEL”, “”, “profile.php”, “”, “dashicons-admin-users”, “40” ); } add_action(‘admin_menu’, ‘admin_profile_menu’);
To get the username of a user you can use the get_userdata() function. Pass it the users ID $user = get_userdata($user_id); Then the have access to the username or user_login as its called echo $user->user_login; You can read more about this function here: https://codex.wordpress.org/Function_Reference/get_userdata Or if you need to get the user by other information, … Read more