{"id":73650,"date":"2012-03-13T12:00:23","date_gmt":"2012-03-13T16:00:23","guid":{"rendered":"http:\/\/wpmu.org\/?p=73650"},"modified":"2013-07-24T20:27:28","modified_gmt":"2013-07-25T00:27:28","slug":"addquicktag","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/addquicktag\/","title":{"rendered":"Implement Custom HTML &#038; CSS with the Click of a Button &#8211; Introducing AddQuicktag"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-73655\" title=\"Implement Custom HTML &amp; CSS with the Click of a Button - Introducing AddQuicktag\" alt=\"Implement Custom HTML &amp; CSS with the Click of a Button - Introducing AddQuicktag\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/blockquote.jpg\" width=\"325\" height=\"221\" \/>I use custom CSS and HTML that is not featured in the Visual Editor for a few different reasons. For example, I apply CSS to image attributions, blocks of text, and so on. And you know what?<strong> I&#8217;m just plain lazy.<\/strong> Going into the HTML editor and manually typing in code is just a step too far for me.<\/p>\n<p>So for some time I have been searching for a plugin that will facilitate my laziness. A quicktags plugin that works with the Visual Editor as well as the HTML editor. I finally found one &#8211; <strong>and it works a treat<\/strong>.<\/p>\n<h2>AddQuicktag<\/h2>\n<p>Some of the best things in life are simple, and this is no exception. In a nutshell, <a title=\"AddQuicktag\" href=\"http:\/\/wordpress.org\/extend\/plugins\/addquicktag\/screenshots\/\" rel=\"noopener\" target=\"_blank\">AddQuicktag<\/a>\u00a0allows you to wrap text with, well, anything:<\/p>\n<figure id=\"attachment_73652\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-73652\" title=\"AddQuicktags\" alt=\"AddQuicktags\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/addquicktags.jpg\" width=\"661\" height=\"87\" \/><figcaption class=\"wp-caption-text\">Using AddQuicktags to set up one-click custom CSS styling.<\/figcaption><\/figure>\n<figure id=\"attachment_73653\" class=\"wp-caption aligncenter\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-73653\" title=\"AddQuicktags\" alt=\"AddQuicktags\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/addquicktags-2.png\" width=\"329\" height=\"126\" \/><figcaption class=\"wp-caption-text\">Implementing the CSS styling with the click of a button.<\/figcaption><\/figure>\n<p>Although the plugin&#8217;s obvious application is to facilitate the easy implementation of custom CSS stylings or HTML tags that do not feature in the Visual Editor, <strong>you are really only limited by your imagination in what you can do<\/strong>. For instance, I often like to embed tweets on my personal blog posts, like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-73651\" title=\"Embedded Tweet\" alt=\"Embedded Tweet\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/embedded-tweet.jpg\" width=\"572\" height=\"85\" \/><\/p>\n<p>Before I found AddQuicktag, embedding these tweets was a pain. This was the code:<\/p>\n<p>{code type=html}<\/p>\n<p>(&lt;a title=&#8221;Tweet This Quote&#8221; href=&#8221;https:\/\/twitter.com\/intent\/tweet?text=yourtweethere&#8221; rel=&#8221;nofollow&#8221; target=&#8221;_blank&#8221;&gt;tweet this&lt;\/a&gt;).<\/p>\n<p><\/code><\/p>\n<p>I&#8217;d find the code from the last post I&#8217;d used an embedded tweet, paste it into the new post, and replace the tweet text. But now I have set up a shortcut via AddQuicktag:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-73654\" title=\"Embedded Tweet\" alt=\"Embedded Tweet\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/embedded-tweet-2.jpg\" width=\"682\" height=\"50\" \/><\/p>\n<p>All I do now when I want to embed a tweet is switch to the HTML editor, hit my new &#8220;Embedded Tweet&#8221; button, enter the contents of the tweet itself, then hit the button again to close off the tag. Simple!<\/p>\n<p><a title=\"AddQuicktag\" href=\"http:\/\/wordpress.org\/extend\/plugins\/addquicktag\/screenshots\/\" rel=\"noopener\" target=\"_blank\">Download AddQuicktag here<\/a>.<\/p>\n<h2>What Will YOU Use AddQuicktag For?<\/h2>\n<p>As I said above, there are multiple potential applications for this plugin, and you could no doubt do plenty of other time saving things with it. <strong>If you like the plugin and will be using it, let us know how!<\/strong><\/p>\n\n<p style=\"text-align: right;\"><em>Creative Commons photo courtesy of\u00a0<a href=\"http:\/\/www.flickr.com\/photos\/jesper\/\" target=\"_blank\">Jesper R\u00c3\u00b8nn-Jensen<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Save time and automate HTML and CSS styling and code with this handy plugin!<\/p>\n","protected":false},"author":84405,"featured_media":73656,"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":[4],"tags":[1044,200,2186],"tutorials_categories":[],"class_list":["post-73650","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","tag-css","tag-html","tag-wordpress-editor"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/73650","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\/84405"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=73650"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/73650\/revisions"}],"predecessor-version":[{"id":217687,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/73650\/revisions\/217687"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/73656"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=73650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=73650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=73650"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=73650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}