<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Autolinking #1

Replies: 2

I just discovered the auto-hashtag setting, which does seem nice, but when I write a list: Five things to work on:

#1 fix all wordpress plugins

#2 have fun

The #2 and #1 become links. I looked through the code, but don’t see any easy way of using a hook or other method of trivially blocking your code from running in that case? It seems likely that most people don’t want to create tag/autolink simply when there are numbers? And I wonder if your regexp should change from [A-Za-z0-9]+ to something like [A-Za-z][A-Za-z0-9]+
to require a starting letter? or something along those lines? Or maybe offering a way for the user to customize the regexp, either through a setting or a filter hook?

Thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer