{"id":4985274,"date":"2014-06-06T13:30:12","date_gmt":"2014-06-06T13:30:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-codeblocks\/"},"modified":"2016-08-21T21:18:10","modified_gmt":"2016-08-21T21:18:10","slug":"using-codeblocks","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-codeblocks\/","title":{"rendered":"Using Codeblocks"},"content":{"rendered":"<p>I&#8217;m trying to understand the use of Codeblocks. Can you elaborate? <\/p>\n<p><strong>&#8220;you can access your blocks of code using [codeblock name=&#8217;MY_BLOCK&#8217;] where MY_BLOCK is whatever you titled your block of code.&#8221;<br \/>\n<\/strong><\/p>\n<p>However, what do you mean by &#8220;whatever you titled your block of code&#8221;? I didn&#8217;t name it anything. Here&#8217;s a snippet of what is in my post &#8211; <\/p>\n<pre><code>\/* Smartphones (landscape) ----------- *\/\n@media only screen\nand (min-width : 321px) {\n\/* Styles *\/\n}<\/code><\/pre>\n<p>Here&#8217;s a link to my test post &#8211; <a href=\"http:\/\/wbfrg.in\/BJ2BV\/\">Media Queries for Standard Devices<\/a><\/p>\n<p>Looking forward to your response.<\/p>\n<p>-Jared<\/p>\n<p>https:\/\/wordpress.org\/plugins\/codeblocks\/<\/p>\n","protected":false},"template":"","class_list":["post-4985274","topic","type-topic","status-closed","hentry","topic-tag-code"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4985274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4985274\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4985274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}