{"id":1936,"date":"2023-11-21T16:56:57","date_gmt":"2023-11-21T16:56:57","guid":{"rendered":"https:\/\/wpconsults.com\/?p=1936"},"modified":"2026-07-03T21:55:28","modified_gmt":"2026-07-03T21:55:28","slug":"mehr-lesen-link-zum-kopierten-text","status":"publish","type":"post","link":"https:\/\/www.wpconsults.com\/de\/read-more-link-to-copied-text\/","title":{"rendered":"How to Add a Read More Link to Copied Text in WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When someone copies a paragraph from your site and pastes it elsewhere, you can make WordPress quietly add a <strong>&#8220;Read more:&#8221;<\/strong> line with your post title and a link back to the source. It is a small attribution touch that keeps your name attached to your words wherever they travel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide I will show you the no-plugin snippet I use, a no-code route if you would rather not touch functions.php, and an honest read on what this does, and does not do, for your SEO.<\/p>\n\n\n\n<div class=\"wp-block-group wpc-takeaways is-layout-flow wp-block-group-is-layout-flow\">\n\n<h2 class=\"wp-block-heading toc-ignore\">Key Takeaways<\/h2>\n\n\n<ul class=\"wp-block-list\"><li>The browser &#8220;copy&#8221; event lets you append a short &#8220;Read more:&#8221; credit and a link whenever a visitor copies your text.<\/li><li>The cleanest method is a small functions.php snippet; a code-snippets plugin gives the same result without editing theme files.<\/li><li>Set a minimum selection length so short quotes still copy cleanly and only real chunks get the credit line.<\/li><li>Point the link at your canonical URL, not the raw address, so the credit always sends readers to the right page.<\/li><li>Treat it as an attribution and branding touch, not a ranking tactic; it earns the occasional link back, but a determined scraper can still strip it.<\/li><\/ul>\n\n<\/div>\n\n\n<style>.kb-table-of-content-nav.kb-table-of-content-id7066_f7400a-9c .kb-table-of-content-wrap{padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);border-top:1px solid var(--global-palette10, #3182CE);border-right:1px solid var(--global-palette10, #3182CE);border-bottom:1px solid var(--global-palette10, #3182CE);border-left:1px solid var(--global-palette10, #3182CE);border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:15px 15px 0px 0px rgba(160, 152, 255, 0.31);}.kb-table-of-content-nav.kb-table-of-content-id7066_f7400a-9c .kb-table-of-contents-title-wrap{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id7066_f7400a-9c .kb-table-of-contents-title{font-weight:regular;font-style:normal;}.kb-table-of-content-nav.kb-table-of-content-id7066_f7400a-9c .kb-table-of-content-wrap .kb-table-of-content-list{color:var(--global-palette1, #3182CE);font-weight:regular;font-style:normal;margin-top:var(--global-kb-spacing-sm, 1.5rem);margin-right:0px;margin-bottom:0px;margin-left:0px;}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id7066_f7400a-9c .kb-table-of-content-wrap{border-top:1px solid var(--global-palette10, #3182CE);border-right:1px solid var(--global-palette10, #3182CE);border-bottom:1px solid var(--global-palette10, #3182CE);border-left:1px solid var(--global-palette10, #3182CE);}}@media all and (max-width: 767px){.kb-table-of-content-nav.kb-table-of-content-id7066_f7400a-9c .kb-table-of-content-wrap{border-top:1px solid var(--global-palette10, #3182CE);border-right:1px solid var(--global-palette10, #3182CE);border-bottom:1px solid var(--global-palette10, #3182CE);border-left:1px solid var(--global-palette10, #3182CE);}}<\/style>\n\n\n<h2 class=\"wp-block-heading\">What a Read More link on copied text actually does<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every modern browser fires a <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Element\/copy_event\" target=\"_blank\" rel=\"noopener nofollow\">copy event<\/a> the moment a visitor hits Ctrl+C or Cmd+C. That event gives you a short window to change what actually lands on the clipboard, before it ever reaches the place they paste it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So instead of blocking copying (which annoys real readers and stops nobody), you let people copy freely and simply add a credit line underneath. When they paste into a document, an email, or another blog, your title and a link ride along with the text. Think of it as a polite signature on anything that leaves your page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add the Read More link with a functions.php snippet (no plugin)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The lightest way to do this is a few lines in your theme&#8217;s functions.php (use a child theme so an update does not wipe it). The snippet prints a tiny script in the footer of single posts and pages, listens for the copy event, and appends the credit.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_action( 'wp_footer', 'wpc_readmore_on_copy' );\n\nfunction wpc_readmore_on_copy() {\n    if ( ! is_singular() ) {\n        return; \/\/ run only on single posts and pages\n    }\n    ?&gt;\n    &lt;script&gt;\n    document.addEventListener('copy', function (event) {\n        var selection = document.getSelection();\n        if (selection.toString().length &lt; 40) {\n            return; \/\/ let short quotes copy normally\n        }\n        var canonical = document.querySelector('link[rel=\"canonical\"]');\n        var url = canonical ? canonical.href : window.location.href;\n        var credit = 'Read more: ' + document.title + ' - ' + url;\n        event.clipboardData.setData('text\/plain', selection.toString() + '\\n\\n' + credit);\n        event.clipboardData.setData('text\/html', selection.toString() +\n            '&lt;br&gt;&lt;br&gt;Read more: &lt;a href=\"' + url + '\"&gt;' + document.title + '&lt;\/a&gt;');\n        event.preventDefault();\n    });\n    &lt;\/script&gt;\n    &lt;?php\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file, open one of your posts, select a decent chunk of text, copy it, and paste it into a notes app. You should see your paragraph followed by a clean <strong>Read more:<\/strong> line with the title and URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How the copy-to-clipboard snippet works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you are newer to this, here is the plain-English version so you can adjust it with confidence rather than pasting it blind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>document.getSelection()<\/code>, part of the browser&#8217;s <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Window\/getSelection\" target=\"_blank\" rel=\"noopener nofollow\">Selection API<\/a>, reads whatever the visitor highlighted. The length check (<code>&lt; 40<\/code>) is deliberate: it lets someone grab a short phrase or a stat without the credit line tagging along, and only adds attribution when they lift a real chunk. Tune that number to taste.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The script then reads your <strong>canonical URL<\/strong> from the page&#8217;s own <code>link<\/code> tag and falls back to the current address if there is not one. Using the canonical matters because it always points at the real, indexable version of the post, not a tracking or paginated variant a reader might be on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally it writes two versions to the clipboard. The <strong>text\/plain<\/strong> version is what shows up in editors and emails, and the <strong>text\/html<\/strong> version carries a real clickable link for anywhere that accepts rich text. <code>preventDefault()<\/code> just stops the browser&#8217;s default copy so yours is used instead.<\/p>\n\n\n\n<figure class=\"wpc-flow\">\n<p class=\"wpc-flow__title\">What happens when a visitor copies your text<\/p>\n<ol class=\"wpc-flow__list\">\n<li class=\"is-blue\">Visitor selects and copies a paragraph from your post<\/li>\n<li class=\"is-teal\">The script catches the browser copy event before it finishes<\/li>\n<li class=\"is-purple\">It appends your post title and canonical link to the copied text<\/li>\n<li class=\"is-green\">Wherever they paste, the &#8220;Read more:&#8221; credit rides along<\/li>\n<\/ol>\n<figcaption class=\"wpc-flow__cap\">How the copy-event snippet adds an attribution link to text copied from your site.<\/figcaption>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">The no-code route with a snippets plugin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If editing theme files makes you nervous, you do not have to. Paste the exact same code into a snippets manager like WPCode or Code Snippets, set it to run everywhere on the front end, and you get the identical result with none of the file editing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both routes reach the same place, so pick by comfort. The functions.php snippet is leaner and adds nothing to maintain, while the plugin is safer if you would rather manage snippets from the dashboard and keep them through theme changes. For a similar hands-on tweak, the same idea powers my walkthrough on how to <a href=\"https:\/\/www.wpconsults.com\/duplicate-posts-pages-in-wordpress\/\">duplicate posts and pages with a functions.php snippet<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What the Read More credit does (and does not do) for SEO<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the honest part, because a lot of tutorials oversell this. When someone pastes your text into their own post and leaves the credit in, you pick up a genuine link back and a brand mention, which is a real, if occasional, off-page signal. That is the same reason I treat attribution and mentions as part of <a href=\"https:\/\/www.wpconsults.com\/what-is-offsite-seo\/\">off-page SEO<\/a>, not an afterthought.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What it will not do is rank your site on its own. A link only carries weight when it survives, and a determined scraper or a lazy copy-paster can strip the credit in seconds. Google leans on the <a href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/consolidate-duplicate-urls\" target=\"_blank\" rel=\"noopener nofollow\">canonical URL to identify the original source<\/a>, so keep this as a low-cost nudge for honest people to attribute you, not a substitute for the links that actually move rankings, which I break down in my guide to <a href=\"https:\/\/www.wpconsults.com\/what-is-link-juice-in-seo\/\">what link juice really is<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The bigger win is quieter: it protects your identity. When your title and URL travel with your words, readers who find the excerpt elsewhere can trace it back to you, and search engines see your page named as the source. On the copy-heavy web, that attribution is worth more than the modest link.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">So, is the Read More on copy worth adding?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In my view, yes, because the cost is one small snippet and the upside is that your name quietly follows your work around the internet. It will not carry your SEO by itself, and I would not pretend otherwise, but as a branding and attribution touch it earns its place.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If I were setting this up on a content-heavy blog, I would add the snippet, set the length threshold so short quotes stay clean, and then get back to the work that actually moves the needle: better content and real links. This is a nice finishing touch, not the main event.<\/p>\n\n\n\n<div class=\"wp-block-group wpc-post-cta is-layout-flow wp-block-group-is-layout-flow\">\n\n<h3 class=\"wp-block-heading\">Stuck getting the snippet to fire?<\/h3>\n\n\n<p class=\"wp-block-paragraph\">If the copy credit is not showing up or you would like a hand wiring it into your theme, <a href=\"https:\/\/www.wpconsults.com\/work-with-wpconsults\/\">contact us<\/a> or <a href=\"mailto:info.wpconsults@gmail.com\">email me<\/a> and I will help you get it working cleanly.<\/p>\n\n<\/div>\n\n\n\n<div class=\"wp-block-group wpc-changelog is-layout-flow wp-block-group-is-layout-flow\" id=\"article-update-logs\">\n\n<h2 class=\"wp-block-heading\">Update Logs<\/h2>\n\n\n<p class=\"wp-block-paragraph\"><strong>04 Jul 2026<\/strong><\/p>\n\n\n<ul class=\"wp-block-list\"><li>Rewrote the guide with a cleaner copy-event snippet that uses your canonical URL and a minimum selection length, added a no-code plugin route, and added an honest take on what the credit line is really worth for SEO.<\/li><\/ul>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to add a Read More link to copied text in WordPress with a light snippet or a no-code plugin, so your posts keep a link back whenever visitors copy them.<\/p>","protected":false},"author":1,"featured_media":7492,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kb_optimizer_status":0,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","rank_math_title":"Add a Read More Link to Copied Text in WordPress","rank_math_description":"Add a Read More link to copied text in WordPress with a lightweight snippet or a no-code plugin, so your posts keep a link back whenever visitors copy them.","rank_math_focus_keyword":"read more link to copied text","_colophon_preset":"regular","_colophon_fc_on":"","_colophon_edited_on":"","footnotes":""},"categories":[7],"tags":[33,64],"class_list":["post-1936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tips-tutorials","tag-new-features","tag-without-plugin-series"],"_links":{"self":[{"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/posts\/1936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/comments?post=1936"}],"version-history":[{"count":3,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/posts\/1936\/revisions"}],"predecessor-version":[{"id":7525,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/posts\/1936\/revisions\/7525"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/media\/7492"}],"wp:attachment":[{"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/media?parent=1936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/categories?post=1936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpconsults.com\/de\/wp-json\/wp\/v2\/tags?post=1936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}