{"id":4184,"date":"2015-10-06T21:18:53","date_gmt":"2015-10-06T21:18:53","guid":{"rendered":"http:\/\/fluffytech.co.uk\/fluff\/?p=4184"},"modified":"2018-09-21T16:39:21","modified_gmt":"2018-09-21T15:39:21","slug":"stop-auto-excerpts","status":"publish","type":"post","link":"https:\/\/www.fluffytech.co.uk\/fluff\/stop-auto-excerpts\/","title":{"rendered":"Stop auto-excerpts"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4185\" src=\"https:\/\/www.fluffytech.co.uk\/fluff\/wp-content\/uploads\/stop-auto-excerpts.png\" alt=\"stop-auto-excerpts\" width=\"500\" height=\"415\" title=\"\" srcset=\"https:\/\/www.fluffytech.co.uk\/fluff\/wp-content\/uploads\/stop-auto-excerpts.png 500w, https:\/\/www.fluffytech.co.uk\/fluff\/wp-content\/uploads\/stop-auto-excerpts-320x266.png 320w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>Don&#8217;t let robots write your auto-excerpts, prompt authors for real excerpts&#8230;<br \/>\nChuck this code in your <a href=\"https:\/\/www.fluffytech.co.uk\/fluff\/how-to-build-your-own-shop-using-open-source-software\/\">childtheme<\/a>&#8216;s function.php<\/p>\n<p>&nbsp;<\/p>\n<p><code>\/*\u00a0\u00a0\u00a0 CHICKENBOY: stop auto-excerpts<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"h87aEk3OpA\"><p><a href=\"http:\/\/stephanieleary.com\/2010\/02\/take-control-of-your-excerpts\/\" rel=\"nofollow noopener\" target=\"_blank\">Take control of your excerpts<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/stephanieleary.com\/2010\/02\/take-control-of-your-excerpts\/embed\/#?secret=h87aEk3OpA\" data-secret=\"h87aEk3OpA\" width=\"600\" height=\"338\" title=\"&#8220;Take control of your excerpts&#8221; &#8212; Stephanie Leary\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\n--------------------------------------------------------------------------------------- *<br \/>\n\/\/ Changing excerpt length<br \/>\nfunction change_excerpt_length($length) {<br \/>\nreturn 0;<br \/>\n}<br \/>\nadd_filter('excerpt_length', 'change_excerpt_length');<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><code>\/\/ Changing excerpt 'more' text (normally [\u2026])<br \/>\nfunction change_excerpt_more($more) {<br \/>\nreturn 'You forgot to write an excerpt, buddy...';<br \/>\n}<br \/>\nadd_filter('excerpt_more', 'change_excerpt_more');<br \/>\n<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Thanks to <a href=\"http:\/\/stephanieleary.com\/2010\/02\/take-control-of-your-excerpts\/#comment-362483\" target=\"_blank\" rel=\"nofollow noopener\">Stephanie Leary<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You forgot to write an excerpt, buddy&#8230;<\/p>\n","protected":false},"author":6,"featured_media":4185,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[35,1,41],"tags":[],"class_list":["post-4184","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fluffy-tech-tips","category-random-mix","category-wordpress",""],"_links":{"self":[{"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/posts\/4184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/comments?post=4184"}],"version-history":[{"count":0,"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/posts\/4184\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/media\/4185"}],"wp:attachment":[{"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/media?parent=4184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/categories?post=4184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fluffytech.co.uk\/fluff\/wp-json\/wp\/v2\/tags?post=4184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}