Linux 软件免费装
Banner图

Author Profile Blocks

开发者 mralaminahamed
更新时间 2026年5月26日 21:08
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

profile team block author gutenberg

下载

1.0.1 1.1.0 1.1.1 1.0.0 1.0.3 1.0.4

详情介绍:

Author Profile Blocks is a WordPress plugin for showcasing author profiles and team members using four Gutenberg blocks, four shortcodes, and a classic widget. It supports two data sources: standard WordPress Users and an optional Team Member custom post type (apbl_team_member). Live Preview | GitHub | Documentation

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install via Plugins → Add New.
  2. Activate the plugin.
  3. Go to Users → Your Profile (or any user's profile) to add author information.
  4. Optionally go to Team Members in the admin menu to add team members.
  5. Open any page or post in the Gutenberg editor and search for "author" to find the blocks.

屏幕截图:

  • Style tab — avatar shape, typography controls, colors, and layout presets.
  • Author Grid block — multiple authors displayed in responsive 3-column card layout.
  • Author Carousel block — sliding author cards with the modern-cards preset active.
  • Author List block — detailed display style with two-column image and bio layout.

升级注意事项:

1.1.0 Feature release. Adds Team Member CPT, Department taxonomy, four shortcodes, Author Profile widget, and six new user meta fields. Fully backward compatible — existing blocks and user data are unchanged. 1.0.4 Security and bug-fix release. Fixes CSS injection, template path traversal, blocks blank on frontend, and carousel init on classic themes. Upgrade recommended for all users. 1.0.3 Refactoring and bug-fix release. Splits the author block base class into focused traits and fixes several frontend rendering issues. Recommended upgrade. 1.0.2 Major feature update. Replaces the legacy PHP settings page with a React/shadcn admin SPA and migrates all JS to TypeScript. Recommended upgrade. 1.0.1 Bug-fix and polish release. Fixes CSS class selectors and animation timing. Refines the indigo design system. Recommended upgrade. 1.0.0 Initial release — no upgrade required.

常见问题:

Does this plugin create a custom post type?

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.

How do I add author data like position or social links?

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.

Can I use shortcodes instead of blocks?

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.

Can I override the block templates?

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.

How do I change block styles?

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.

Can I show only authors with a specific role?

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.

Can I show only team members from a specific department?

Yes. The apbl_department taxonomy is hierarchical. Use the department filter in the block inspector or shortcode department attribute to narrow results.

Is the plugin compatible with full-site editing (FSE) themes?

Yes. The blocks render server-side and use standard Gutenberg block wrapper attributes, so they work in both classic and FSE/block themes.

Will it slow down my site?

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.

Is the plugin translation-ready?

Yes. All user-facing strings use __(), _e(), and related WordPress i18n functions with the author-profile-blocks text domain.

Where can I report bugs or request features?

Open an issue on GitHub or post in the WordPress.org support forum.

更新日志:

1.1.1 1.1.0 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0