Do you want to link Twitter username in Post’s content and post’s comments with by using simple code?
Then you land at the right place.
We have posted custom function code that will help you to link twitter usernames whenever you write username with
@ in your content and comments.
Just follow the below steps:
Automatically Link Twitter Usernames in WordPress
First, you need to copy and paste the below code into your WordPress theme’s functions.php file.
Code Snippets for: Adding link on Twitter usernames
Test the code is working or not by writing any twitter username into your post content.
Hope the above code helped you.
Let us know in the comment section, what you think about this post and ask questions if you have any.
Don’t forget to share this Automatically Link Twitter Username in WordPress