| 开发者 | mralaminahamed |
|---|---|
| 更新时间 | 2026年5月26日 21:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
apbl_team_member).
Live Preview | GitHub | Documentation
/wp-content/plugins/, or install via Plugins → Add New.Yes, optionally. The plugin registers an apbl_team_member custom post type alongside standard WordPress Users. You can use either source (or both) in any block or shortcode via the source attribute. If you only want to display WordPress users, ignore the Team Members menu entirely.
For WordPress Users, edit any user profile under Users → All Users → Edit. The plugin adds a dedicated "Author Profile" section. For Team Members, go to Team Members → Add New in the admin menu.
Yes. Four shortcodes are available for classic themes or page builders: [apbl_profile], [apbl_grid], [apbl_list], and [apbl_carousel]. Each accepts the same source, style, and display options as the corresponding block.
Yes. Copy any file from wp-content/plugins/author-profile-blocks/templates/ into wp-content/themes/your-theme/author-profile-blocks/ and the plugin will use your version instead. See template override documentation for details.
Each block exposes a full Style panel in the block sidebar. For deeper overrides, all CSS uses apbl- prefixed classes and --author-* CSS custom properties, making targeted overrides straightforward.
Yes. The Grid, List, and Carousel blocks and their shortcode equivalents include a role filter. Set it to any registered WordPress role and only users with that role will be displayed.
Yes. The apbl_department taxonomy is hierarchical. Use the department filter in the block inspector or shortcode department attribute to narrow results.
Yes. The blocks render server-side and use standard Gutenberg block wrapper attributes, so they work in both classic and FSE/block themes.
Each block caches its rendered HTML. On repeat page loads, output is served from cache rather than re-querying the database and re-rendering PHP templates.
Yes. All user-facing strings use __(), _e(), and related WordPress i18n functions with the author-profile-blocks text domain.
Open an issue on GitHub or post in the WordPress.org support forum.
apbl_team_member) — title, editor, thumbnail, menu-order; position and social profiles meta; REST-enabled.apbl_department) — hierarchical, attached to both team members and WordPress users; REST-enabled.