You’ll have observed how some widespread web sites (like eHow and so forth) will connect a “read more” hyperlink to any textual content that’s copied from their website. This can be a nice option to get new customers. Typically of us are copying and pasting textual content from web sites into e mail. Some use it to save lots of the knowledge for future, whereas others are simply sharing it with their associates, household, and colleagues. On this article we’re going to present you how one can simply add a “read more” hyperlink to any copied textual content out of your WordPress weblog, so you will get further visitors.
Notice: To see this in motion, copy something on this publish and paste it in your e mail or notepad.
Very first thing you’ll want to do is copy the next code into your theme’s capabilities.php file or a site-specific plugin:
Now, at any time when somebody involves your web site and tries to repeat your content material a read more hyperlink shall be included together with it. Don’t overlook to vary the copyright textual content, and add your personal website’s title there.
You May Also Like : How to Embed SWF in Your WordPress Posts
Edit: Initially we had been grabbing the window URL, however as one among our customers identified that it made the URLs look clunky. We’ve up to date the code to solely present it on single publish pages, and use gy_shortlink. So it might use one thing like this: yoursite.com/?p=23. If you’re utilizing a custom-made shortlink like we’re: gyanhi.in, then it’ll present the branded shortlink.
If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.