Enable front-end tag autocomplete to suggest tags
Opened this issue ยท 14 comments
Hi, I'm unable to add tags on the front end. I've tried on two different wordpress staging sites but no luck..works fine on wordpress.com though.
Would really appreciate some guidance. Thanks
Hi @zsection Sorry to hear you're having trouble. This issue tracker is intended for development of the plugin, not as much for tech support of the P2 Breathe theme or o2 installs in various WordPress flavors.
I suggest starting in the Support forums to see if any other authors have the same issue, to get peer support: https://wordpress.org/support/
If you uncover a plugin bug that is broken for all o2 plugin installs, bring it back there so we can fix it for everyone.
Thanks!
Thanks, Zee.
To help us find out if it's widespread, could you share a bit more info? WP version, which theme you're using and its version, and any plugins you have installed on the WP sites where the tagging doesn't work.
JS console errors, PHP warnings or errors in the server logs. Anything that could help point to an issue.
Hi, thanks for reopening this.
I tested it on 3 different fresh installations of WordPress 5.4.1 with P2 "Breathe" theme version 1.0, on 2 entirely different hosting providers.
The only plugins are the ones recommended on installation:
- Jetpack
- O2
- SyntaxHighlighter Evolved
Tagging doesn't work on the front end as it does on wordpress.com. Video demo here: https://dsc.cloud/2376ee/Screen-Recording-2020-04-30-21-34-45.mp4
@mkaz kindly verified all of the above btw in an email.
I'm 100% sure that if someone tries to install the O2 plugin on the latest installation of P2 Breathe they'll discover the same problem.
Thanks
Thanks for the info, and willingness to report it.
Are you using the front-end editor? I know there are a few issues with posting inline tags from the Gutenberg block editor (WP Admin > Posts > Add New).
Update: I see it in the video. ๐
Hi @zsection I installed a new WP site with o2 plugin and P2 Breathe theme, and tags added with #tag
syntax are saving correctly.
Is the more accurate bug report for the fact that the autocomplete menu isn't appearing in the front-end editor any more?
Versus what you first reported, which was inability to tag posts at all from front-end.
OK, I'm able to add tags via the front-end.
- Start a new post from front-end
- Add a tag with syntax:
#tag-here
- Publish
- Verify tag is attached to the post correctly (look in WP Admin > Posts)
Confirmed that the tag autocompleter isn't suggesting existing tags, though.
Thanks for the info.
I'm a bit embarrassed about this, because I'd forgotten the fact of how different WordPress.com P2 works from what is available here out of the box.
From what I can tell, the "autocomplete" feature which shows a menu for existing tags, usernames, and x-posts wasn't ever available for non-WordPress.com sites. It relies on a plugin running on WordPress.com to create the JavaScript driven autocomplete menus to appear.
We should do a better job of bringing our improvements back out to the open source version.
CC @mkaz for a 2nd opinion.
I'm sorry I didn't notice this issue earlier, Lance, I could've saved you some time. I discussed briefly with @zsection over email previously and came to the same conclusion that it relies on WordPress.com features not publicly available.
Our efforts would probably be better spent open sourcing the P2tenberg work then the older code.
Cool. Changed the type of issue from question to enhancement request.
So it's safe to say that the autocomplete to suggest tags won't be available any time soon on the open source version?
That's correct. Happy to keep in touch with you, though, and let you know in the future if it comes to the open source version.