How to check if a user (not current user) is logged in?
I need to display the online status (online/offline) for each author page (custom author page template).
I need to display the online status (online/offline) for each author page (custom author page template).
WordPress by default shows ALL posts to users who are Authors. I wanted Authors to only be able to see their own posts so I came up with the following code which works well.
I have multiple author accounts on one of my WordPress installs. Often I will create a post, and set the author to be a different account. However, when I upload images into that post, their attachment page lists the author as my account. How can I set the author for posts, and have it carry over to the media associated with that post?
I tried to avoid ask this question, because I think that must be simple, but after long hours trying to get an answer I cant achieve it.
I have one page for each author, but if the author doesn’t have any posts I can’t get its variables, because the loop is empty.
The page returns empty, no avatar, no info and stuff, the whole site is empty.
Is there a way to prevent WP from stripping the HTML from the author bio? I need it to keep my paragraphs.
I have a mult-author site where the author page gets high traffic. People want to know more about them. I have modified the author page to show more info, some custom fields, etc. but what I’d really like to do is turn on Comments for the author.php page (so that OTHER logged in users can leave review-like messages for the Author), and ultimately offer a star-ratings type of effect so that Users can “rate” the author. I have searched for plugins and other functions but it seems like everything is for Posts or Products or something. Any insight is greatly appreciated!
i want restrict my registered authors to write comment to other posts except his own posts. Is it possible? I have no idea how to do it. May be need conditional logic but how?
How can I display an authors archive by author id instead author slug like
Is is possible to check whether an author has posted in the last X days?