define('DISALLOW_FILE_EDIT', true);{"id":4191,"date":"2012-05-03T14:11:16","date_gmt":"2012-05-03T19:11:16","guid":{"rendered":"http:\/\/www.unfocus.com\/?p=4191"},"modified":"2012-05-03T14:44:36","modified_gmt":"2012-05-03T19:44:36","slug":"scripts-n-styles-update-3-1","status":"publish","type":"post","link":"http:\/\/www.unfocus.com\/2012\/05\/03\/scripts-n-styles-update-3-1\/","title":{"rendered":"Scripts n Styles Update 3.1"},"content":{"rendered":"
Scripts n Styles<\/a> received a major update today. The two big features added are LESS.js<\/a> support and Dynamic Shortcodes! The “Global” Settings page now has a LESS editor with syntax highlighting (via CodeMirror<\/a>) and on-the-fly compiling so you can see how it’ll be outputted on the theme-side. The per-page meta-box has gained a new tab in which you can create one-off shortcodes which can contain arbitrary HTML content.<\/p>\n Scripts n Styles is a free OpenSource GPL project that you can fork and contribute to<\/a> on github! (You can also fork and contribute to CodeMirror<\/a> and LESS.js<\/a>)<\/p>\n As a Shortcode example:<\/strong> I placed the following html into the Shortcodes tab and gave it the name “tweet test”.<\/p>\n [code lang=”html”] I then use the shortcode [[sns_shortcode name=”tweet test”]] to display: [sns_shortcode name=”tweet test”]<\/p>\n","protected":false},"excerpt":{"rendered":" Scripts n Styles received a major update today. The two big features added are LESS.js support and Dynamic Shortcodes! The “Global” Settings page now has a LESS editor with syntax highlighting (via CodeMirror) and on-the-fly compiling so you can see how it’ll be outputted on the theme-side. The per-page meta-box has gained a new tab … Continue reading “Scripts n Styles Update 3.1”<\/span><\/a><\/p>\n","protected":false},"author":1797,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[62,9,14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/posts\/4191"}],"collection":[{"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/users\/1797"}],"replies":[{"embeddable":true,"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/comments?post=4191"}],"version-history":[{"count":4,"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/posts\/4191\/revisions"}],"predecessor-version":[{"id":4198,"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/posts\/4191\/revisions\/4198"}],"wp:attachment":[{"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/media?parent=4191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/categories?post=4191"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.unfocus.com\/wp-json\/wp\/v2\/tags?post=4191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n<a href="https:\/\/twitter.com\/share" data-via="WraithKenny" data-size="large" data-related="unFocusProjects" data-hashtags="ScriptsnStyles">Tweet<\/a>
\n<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="\/\/platform.twitter.com\/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");<\/script>
\n[\/code]<\/p>\n