So I am currently running a multisite install where the super admin creates all new sites. One of the templates we’re using has a blog page for a loan...
Currently, I am adding user metadata with the key position_name and a string value representing a user’s position, such that I can retrieve a user’s position by way of...
I want to add a new field to the user registration. I’m using this tutorial by Paul Underwood. The tutorial works but I want to switch the input text...
I was trying this code to get current user info, but showing nothing. My WordPress version is 3.3.1 <?php wp_get_current_user(); /** * @example Safe usage: $current_user = wp_get_current_user(); *...
Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or...
I’m using this piece of code to list users and their information. The problem I’m having is that the description isn’t showing. Obviously it’s because the description lays under...
Is it at all possible to get a user’s ID in a function right at the point of log out? I tried to hook it to wp_logout, but it...
Problem Some time ago I posted a question about the scalability of wp_usermeta architecture: my concern, as my client’s database of users is growing fast, is now the memory...
The Yoast WordPress-SEO plugin adds some social media links to user_meta: function update_contactmethods( $contactmethods ) { // Add Google+ $contactmethods['googleplus'] = __( 'Google+', 'wordpress-seo' ); // Add Twitter $contactmethods['twitter']...
i want to make a field in the user profile to know who added this user, the problem is that this field displays the current logged in user, i...