📚
Ncmaz WordPress theme
New Ncmaz FSEBuy theme now Old demo
  • ⚠️Welcome
  • ☃️Community
    • 🧬Ncmaz theme, React & Graphql
    • 👋Community
  • THEME INSTALLATION
    • Configure Server Settings
    • Download and Install Theme
    • Install Default Plugins
    • Import Demo Contents
      • [ERROR] Failed to import "Home 2" page
    • How do I Update the Theme?
    • 💡Update theme manually
    • Install theme with Multisite
    • 🧐Error after update theme!
  • SING-IN / SIGN-UP
    • SignIn/SignUp With Socials
  • THEME OPTIONS
    • Translation language on front-end react components
    • How to change fonts and theme colors?
    • Customize the radius level for the theme.
    • Enable sidebar in archive pages
  • HEADER - LOGO - MENU
    • Header settings
    • How to setting megamenu?
    • Custom top notify message
  • FAVORITES
    • Icon for Favorite button
    • Custom Reading Time
    • Custom for Favorite
  • Gutenbergs
    • Gutenberg version 3 🎉
    • Ncmaz Gutenberg blocks
    • Build a home page with Ncmaz gutenbergs
    • Add form in Ncmaz Newsletter Block
    • Unexpected token < JSON at position 0
    • This block contains unexpected or invalid content.
    • Using the Elementor plugin?
    • Add Typo default Gutenberg block on Home page (page template is Ncmaz-custom-page)
    • Custom Ncmaz Newsletter Block
    • Widget Ncmaz Gutenberg blocks
    • Issue with Ncmaz users block
  • SINGLE
    • Setting Post format Video, Audio, Gallery
    • Setting single style and toggle single sidebar widgets
    • (Deprecated) Create Post-Submission pages
    • Add Ncmaz Gutenberg blocks to single post
  • ❓How to?
    • Update theme?
    • Translate some missing words
    • Thumbnails are blurry when viewed in mobile mode.
    • Fix hidden login modal on mobile?
    • Style dashboard, account page break?
    • Customize fields in dashboard sections at Frontend
    • Import RTL demo data
    • Integrate the Polylang plugin into the theme
    • (Deprecated) Add ACF fields to the wp-user-frontend-pro form
    • (Deprecated) Create account page (wfu) ?
    • Create frontend submission post page and edit account page
    • You don't have permission to submission the post.
    • Optimize performance and improve GTmetrix score, Google PageSpeed Insights
    • Cover image for archive pages. Settings number of tags, categories on submit post page
    • Ncmaz-frontend plugin project development
    • How to get Youtube video ID
    • Social share link
  • Footers
    • Footer widgets
  • 💊Custom CSS
    • Custom CSS
    • Header custom CSS
    • Change default Bg image on Archive page
  • 🕯️CHANGE LOG
    • Support
    • Change log
  • Ncmaz ACF fields
Powered by GitBook
On this page
  • -> Reason:
  • -> How to fix:

Was this helpful?

  1. Gutenbergs

Issue with Ncmaz users block

PreviousWidget Ncmaz Gutenberg blocksNextSetting Post format Video, Audio, Gallery

Last updated 1 year ago

Was this helpful?

When I changed to user role to "Authors" in ncmaz block widget users, the public view does not display the authors. But when login in from admin account it does display the authors?

-> Reason:

This is not a bug, but it is a feature of WordPress API, If your role is not admin then you cannot filter user data by role, so if you are not logged in then you cannot request user data by role. Please read more -

Because Ncmaz blocks are built on APIs and comply with WordPress guidelines, So when you filter authors by role, it is only displayed to authorized users.

-> How to fix:

  1. I have a little tip, try activating the "Has SSR Init Data" option in the block settings and check again.

  2. Or please choose to filter authors (excluding roles) to display.

https://wordpress.org/documentation/article/roles-and-capabilities/