This plugin lets you mention a user or a post (including Custom Post Types) in a post content from the Block editor. Type @
to link to an author or #
to link to a post, page, or custom post type.
Author: rtCamp
Contributors: rtcamp, sid177, dharmin, vaishu.agola27, pavanpatil1, mukulsingh27
Tags: Mentions, User mentions, Post mentions, Custom post types mentions, CPT mentions
Requires at least: 5.0
Tested up to: 6.4.1
Requires PHP version: 7.0
Stable tag: 1.0.4
License: GPLv2 or later (of course!)
License URI: http://www.gnu.org/licenses/gpl-2.0.html
While writing contents from the Block editor, type @
to get suggestions of users. On selecting a user it'll create a link to authors page of that user.
To mention a post, type #
and it'll give you the list of all matching posts. On selecting a post it'll create a link to the single post page.
Plugin features:
Settings page (wp-admin -> Settings -> Mention Links):
This plugins adds a settings page under Settings -> Mention Links.
- Display username or display-name: This setting allows you choose whether to show user's display-name or username when mentioning a user in a post.
- Custom Post Types support: Checking post types here will give you suggestions of posts from these post types.
Note: The posts suggestion list is retrieved from the WordPress' REST API, so if a particular post type doesn't support REST API then you might not see it in Custom Post Types support setting.
- Extract the zip file.
- Upload it to the
/wp-content/plugins/
directory in your WordPress installation. - Activate the Mention Links from your Plugins page.
Before creating a new issue, do browse through the existing issues for resolution or upcoming fixes.
If you still need to log an issue, making sure to include as much detail as you can, including clear steps to reproduce your issue if possible.
Want to contribute a new feature? Start a conversation by logging an issue.
Once you're ready to send a pull request, please run through the following checklist:
-
Browse through the existing issues for anything related to what you want to work on. If you don't find any related issues, open a new one.
-
Fork this repository.
-
Create a branch from
develop
for each issue you'd like to address and commit your changes. -
Push the code changes from your local clone to your fork.
-
Open a pull request and that's it! We'll with feedback as soon as possible (Isn't collaboration a great thing? 😌)
-
Once your pull request has passed final code review and tests, it will be merged into
develop
and be in the pipeline for the next release. Props to you! 🎉