Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

users

How to hide WordPress users’ names externally?

August 5, 2022August 4, 2022 by Magenaut

I have several users creating posts in WordPress, but I don’t want any of their names to appear publicly. On the site, I want it to only say By: Website Editor.

Categories Q&A, Wordpress Tags users Leave a comment

How can I display Only the first Array/Object?

August 5, 2022August 4, 2022 by Magenaut

By using WordPress REST Api

Categories Q&A, Wordpress Tags api, array, rest-api, users Leave a comment

How to display total user count by specific role in WordPress as statistics?

August 5, 2022August 4, 2022 by Magenaut

i want to display in my Home page total user count by specific role in WordPress as statistics

Categories Q&A, Wordpress Tags count, shortcode, user-roles, users Leave a comment

wp_get_current_user return ID = 0 when used outside of wordpress, such as webhook / fulfillment dialogflow

August 5, 2022August 4, 2022 by Magenaut

I want to get the user ID that is currently logged in.
I did it successfully when accessed via a web browser. However, when this function is called via dialogflow as webhook / fulfillment it always returns ID = 0.
This is my full code in PHP.

Categories Q&A, Wordpress Tags functions, users, wp-user-query Leave a comment

If the current user is an administrator or editor

August 5, 2022August 4, 2022 by Magenaut

How can I check to see if the current logged-in user is an administrator or an editor?

Categories Q&A, Wordpress Tags user-roles, users Leave a comment

How to check if a user is in a specific role?

August 5, 2022August 4, 2022 by Magenaut

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user’s role. I can’t seem to figure out how to check whether the current use is an “author”.

Categories Q&A, Wordpress Tags user-roles, users, wp-admin Leave a comment

How To Add Custom Form Fields To The User Profile Page?

August 5, 2022August 4, 2022 by Magenaut

The user profile page has the following fields:

Categories Q&A, Wordpress Tags customization, multisite, users Leave a comment

Change the Author Slug from Username to Nickname

August 5, 2022August 4, 2022 by Magenaut

Hi to the community,
is it possible to change the default username slug to nickname if is available?

Categories Q&A, Wordpress Tags author, slug, url-rewriting, users Leave a comment

How to check if a user (not current user) is logged in?

August 4, 2022August 3, 2022 by Magenaut

I need to display the online status (online/offline) for each author page (custom author page template).

Categories Q&A, Wordpress Tags author, post-status, users Leave a comment

Commenting in user profile page?

August 4, 2022August 3, 2022 by Magenaut

I am trying to build custom user profile with the guidance of this tutorial: How to make a WordPress profile page

Categories Q&A, Wordpress Tags comments, users Leave a comment
Older posts
Newer posts
← Previous Page1 … Page7 Page8 Page9 … Page14 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress