Add Copyright Link to Copied Text in WordPress

Some popular websites have some tricks to attach a ‘read more’ link or ‘copyright link’ to any text, while its content is copied. It is a good way to get more visitors, also promote yours website. Since copying and pasting text will be embedded with some information about itself webpage. So while folks are just sharing it with their colleagues, family, or friends.

Here are a few codes to make this happen, add a ‘read more’ link from your WordPress blog into any copied text. First thing you need to know this trick is just copy the following code and pasting it into your theme’s functions.php file.

add_action( ‘wp_head’, ‘add_readmore_text’);
Note: make sure you have catTagNews class on your theme or you can change it with your theme. Also, don’t forget to change the copyright link and text on this code.

Just copy anything on this post and voila, paste it in notepad or your email. Now, you can see this in action.

Exit mobile version