{"id":78425,"date":"2012-05-22T11:00:34","date_gmt":"2012-05-22T15:00:34","guid":{"rendered":"http:\/\/wpmu.org\/?p=78425"},"modified":"2012-05-22T11:40:08","modified_gmt":"2012-05-22T15:40:08","slug":"creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/","title":{"rendered":"Creative, Fun, Surefire Way to Get the Attention of Blog Authors or Clients"},"content":{"rendered":"<p><a rel=\"lightbox[78425]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/listen-big\/\" rel=\"attachment wp-att-78429\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78429\" title=\"listen-big\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/05\/listen-big.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"641\" height=\"596\" \/><\/a><br \/>\nIf you have multiple authors on your site (or you build sites for clients), then the following little \u201ctrick\u201d might just be the best way possible to get little pieces of information across to them.<\/p>\n<p>This trick (found at <a href=\"http:\/\/wpsnipp.com\/index.php\/functions-php\/display-random-messages-of-encouragement-posts\/\" target=\"_blank\">wpsnipp<\/a>) works by filling in the Title Box and\/or the Editor Box with predefined text. And so when an author begins to write a post, he\/she will see your message for them.<\/p>\n<p><a rel=\"lightbox[78425]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/predefined-1\/\" rel=\"attachment wp-att-78432\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78432\" title=\"predefined-1\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/05\/predefined-1.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"650\" height=\"453\" \/><\/a><\/p>\n<h2><strong>It Gets Cooler<\/strong><\/h2>\n<p>That\u2019s pretty cool, right? Well, it gets even cooler.<\/p>\n<p>You can set this up so that you can randomly insert one of many different strings of text. In this way, the author will see different messages each time he\/she goes to write a post. (Well, at least until they run through however many different messages you\u2019ve included. When it gets stale, you can swap them out and include others.)<\/p>\n<p>This could be useful in several ways. You can \u2026.<\/p>\n<ul>\n<li>Remind authors or clients of import points when writing a title and\/or post (such as SEO reminders)<\/li>\n<li>Give them encouragement<\/li>\n<li>Lighten the mood with a little humor<\/li>\n<li>Remind them of site objectives<\/li>\n<li>Provide links for important information (such as \u201cHow to SEO a Post\u201d or \u201cTake Part in the Site\u2019s Writing Contest,\u201d etc.)<\/li>\n<\/ul>\n\n<h2><strong>A Few Examples<\/strong><a rel=\"lightbox[78425]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/predefined-4\/\" rel=\"attachment wp-att-78433\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78433\" title=\"predefined-4\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/05\/predefined-4.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"649\" height=\"401\" \/><\/a><\/h2>\n<p>&nbsp;<\/p>\n<p><a rel=\"lightbox[78425]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/predefined-2\/\" rel=\"attachment wp-att-78434\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78434\" title=\"predefined-2\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/05\/predefined-2.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"650\" height=\"378\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a rel=\"lightbox[78425]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/predefined-3\/\" rel=\"attachment wp-att-78435\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78435\" title=\"predefined-3\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/05\/predefined-3.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"650\" height=\"378\" \/><\/a><\/p>\n\n<p>&nbsp;<\/p>\n<h2><strong>How to Do This<\/strong><\/h2>\n<p>The way to do this is to put the following in your functions.php file (<em><strong>Appearance &gt; Editor &gt; Theme Functions \u2013 functions.php<\/strong><\/em>).<\/p>\n<p>Replace the strings of text with your own, and add more if you like.<\/p>\n<p>&nbsp;<\/p>\n<p><code>add_filter( 'default_content', 'writingEncouragement' );<br \/>\nfunction writingEncouragement( $content ) {<br \/>\nglobal $post_type;<br \/>\nif($post_type == \"post\"){<br \/>\n$encArray = array( \"Remember to proofread your posts before publishing.\",<br \/>\n\"Blog, blog, blog. Don't stop blogging.\",<br \/>\n\"&lt;h1&gt;Don't procrastinate!&lt;\/h1&gt;\",<br \/>\n\"You're good. You're very, very good.\",<br \/>\n\"Check out &lt;a href=\\\"http:\/\/mysite.com\/contest\\\"&gt;this link&lt;\/a&gt; to see the rules for this month's contest. (Hit Ctrl before clicking the link.)\",<br \/>\n\"You're \\\"famous.\\\" Did you realize that?\",<br \/>\n);<br \/>\n$content = $encArray[array_rand($encArray)];<br \/>\nreturn $content;<br \/>\n}<br \/>\n}<br \/>\nfunction title_text_input( $title ){<br \/>\n$title = array( \"Remember to include KEYWORDS in your title.\",<br \/>\n\"Grab Their Attention!\",<br \/>\n\"Can You Spice Up Your Title?\",<br \/>\n\"Try Writing Your Title Last\",<br \/>\n\"Top 10 Posts Always Get a Lot of Attention\",<br \/>\n);<br \/>\n$title = $title[array_rand($title)];<br \/>\nreturn $title;<br \/>\n}<br \/>\nadd_filter( 'enter_title_here', 'title_text_input' );<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>If you&#8217;d like to turn this into your own personal plugin, then you can<a href=\"https:\/\/wpmudev.com\/blog\/how-to-create-your-own-super-simple-wordpress-plugins\/\" target=\"_blank\" rel=\"noopener\"> learn how to do that here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n\n<h2><strong>Important Notes<\/strong><\/h2>\n<p>Finally, these are just a few things to keep in mind.<\/p>\n<p><strong>Note 1:<\/strong> If you include more than one string of text for the Title Box or the Editor Box, then <strong>the different strings will load randomly<\/strong>. In other words, you can\u2019t be guaranteed that the words in the Title Box will match up with the words in the Editor Box, so you will need to write them with that in mind.<\/p>\n<p><strong>Note 2:<\/strong> Of course if you only have one string of text in either, then that\u2019s what will show up. And so that\u2019s the only way you can be guaranteed of what your authors will see.<\/p>\n<p><strong>Note 3:<\/strong> As mentioned before, you can put as many different strings of text in as you like. Just keep the same format as the code above and add more.<\/p>\n<p><strong>Note 4:<\/strong> The strings of text in the first half will go into the Editor Box. The strings of text in the second half of the code will go into the Title Box.<\/p>\n<p><strong>Note 5:<\/strong> If you\u2019d like to include links or quotation marks, then follow the format of the examples in the code above. The user will need to hit the Ctrl button before clicking the link. You might want to tell them that.<\/p>\n<p><a rel=\"lightbox[78425]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/creative-fun-surefire-way-to-get-the-attention-of-blog-authors-or-clients\/format-links\/\" rel=\"attachment wp-att-78436\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78436\" title=\"format-links\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/05\/format-links.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"648\" height=\"511\" \/><\/a><br \/>\n<br \/>\nPhoto: <a href=\"http:\/\/www.bigstockphoto.com\/image-22775180\/stock-photo-a-lone-person-seeks-to-inform-the-crowd-of-people-around-him-of-some-important-information,-raising\" target=\"_blank\">A lone person seeks to inform the crowd<\/a> from BigStock<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This little trick can be both a fun and attention-grabbing way to communicate with your site\u2019s authors or your clients.<\/p>\n","protected":false},"author":84404,"featured_media":78430,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[2186],"tutorials_categories":[],"class_list":["post-78425","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-wordpress-editor"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/78425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/84404"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=78425"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/78425\/revisions"}],"predecessor-version":[{"id":217346,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/78425\/revisions\/217346"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/78430"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=78425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=78425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=78425"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=78425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}