Tagged Questions
0
votes
1answer
63 views
Getting list of top 10 users and sort on last name
I would like to display a list of the top 10 authors based on the amount of posts that they have, and then sort them on last name. To my knowledge, this is not trivial since the last name of a user ...
0
votes
2answers
266 views
get_the_author_meta not working
So I have this website that I am building and I am using get_the_author_meta to display various information about the user / author including user image.
I added a function in my functions.php which ...
0
votes
2answers
130 views
Featured image for social sharing ot author archive page
Personal blog with occasional guest authors (non-commercial) self hosted Wordpress. I create a bespoke author PHP file for each author (example).
I use Yoast SEO and set a default image for meta ...
1
vote
1answer
4k views
How to get a buddypress user profile link and a certain user profile field for the current post author?
I want to replace get_author_link() and get_the_author_meta($feld)
with something equivalent to point to the author of the current post Buddypress user profile page and retrieve a specific profile ...
0
votes
2answers
173 views
Removing “HTTP://” From the_author_meta?
By default WordPress prints http:// in front of URLS users add in their profile, which are called using the following code:
<?php the_author_meta('user_url'); ?>
Could somebody provide me the ...
3
votes
4answers
515 views
If Else Gravatar Author Picture
Ok so i have added a custom field inside of the WordPress edit profile field where a contributor and above can add a custom image if they do not use gravatar. Now i am trying to write a if else ...
1
vote
1answer
491 views
Author custom fields post meta, the code?
If I wanted to get a custom field of the current user I would use something like this.
<?php echo get_user_meta($user_info->ID,'address_line_2',true);?>
This time however I want the author so ...