{"id":59,"date":"2009-03-07T18:06:03","date_gmt":"2009-03-07T18:06:03","guid":{"rendered":"http:\/\/blog.wholetomato.com\/?p=59"},"modified":"2013-11-25T23:56:14","modified_gmt":"2013-11-25T23:56:14","slug":"va-snippet-tip-1","status":"publish","type":"post","link":"https:\/\/stage.wholetomato.com\/blog\/va-snippet-tip-1\/","title":{"rendered":"VA Snippet Tip #1"},"content":{"rendered":"<p>VA Snippets support a number of <a href=\"http:\/\/www.wholetomato.com\/products\/features\/vasnippets.asp#reserved\">reserved strings<\/a> that enable text substitution when inserted into the text editor.\u00c2\u00a0 For example, any occurrence of $selected$ in a snippet is replaced with the actual text editor selection at the time the snippet was invoked.<\/p>\n<p>As noted in a previous post, VA Snippets support shortcuts.\u00c2\u00a0 You wouldn&#8217;t want to use the $selected$ reserved string with a snippet that you want to invoke via a shortcut since typing the shortcut will overwrite your text selection (in this case, occurrences of $selected$ would simply be removed from the snippet when it is inserted into the text editor).<\/p>\n<p>Instead of using the $selected$ reserved string, use $clipboard$.<\/p>\n<p>Now you can use a shortcut to invoke the snippet with one small extra step:<\/p>\n<ul>\n<li>Make your text selection<\/li>\n<li>Copy (or Cut)<\/li>\n<li>Type the shortcut and accept the snippet suggestion<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>VA Snippets support a number of reserved strings that enable text substitution when inserted into the text editor.\u00c2\u00a0 For example, any occurrence of $selected$ in a snippet is replaced with the actual text editor selection&#8230;<\/p>\n","protected":false},"author":4942603,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[672],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfhqii-X","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/users\/4942603"}],"replies":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":5,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}