Title: Using Codeblocks
Last modified: August 21, 2016

---

# Using Codeblocks

 *  Resolved [webfrogs CREATIVE AGENCY](https://wordpress.org/support/users/jpc-solutions/)
 * (@jpc-solutions)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/using-codeblocks/)
 * I’m trying to understand the use of Codeblocks. Can you elaborate?
 * **“you can access your blocks of code using [codeblock name=’MY_BLOCK’] where
   MY_BLOCK is whatever you titled your block of code.”
 * However, what do you mean by “whatever you titled your block of code”? I didn’t
   name it anything. Here’s a snippet of what is in my post –
 *     ```
       /* Smartphones (landscape) ----------- */
       @media only screen
       and (min-width : 321px) {
       /* Styles */
       }
       ```
   
 * Here’s a link to my test post – [Media Queries for Standard Devices](http://wbfrg.in/BJ2BV/)
 * Looking forward to your response.
 * -Jared
 * [https://wordpress.org/plugins/codeblocks/](https://wordpress.org/plugins/codeblocks/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Hank Brekke](https://wordpress.org/support/users/z43-studio/)
 * (@z43-studio)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/using-codeblocks/#post-4985492)
 * In the administration, there should be an option to title your blocks of code.
   This feature is optional, but can help organize your structure. The title field
   is directly above each block of code.
 * If you are not using the titles feature, you can simply leave out the entire `
   title="MY_BLOCK"` section and simply add `[codeblock]` into your article. Codeblocks
   will load the blocks you’ve written in the order they appear below.
 * The benefit of adding a title is in case the order of the blocks below changes,
   or you decide to rearrange the order in your article, as currently there is no
   rearranging feature in the Codeblocks section itself.
 *  Thread Starter [webfrogs CREATIVE AGENCY](https://wordpress.org/support/users/jpc-solutions/)
 * (@jpc-solutions)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/using-codeblocks/#post-4985515)
 * I understand. I have figured it out. It works great. Just gave you a five star.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using Codeblocks’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/codeblocks.svg)
 * [Codeblocks](https://wordpress.org/plugins/codeblocks/)
 * [Support Threads](https://wordpress.org/support/plugin/codeblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/codeblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codeblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codeblocks/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)

 * 2 replies
 * 2 participants
 * Last reply from: [webfrogs CREATIVE AGENCY](https://wordpress.org/support/users/jpc-solutions/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/using-codeblocks/#post-4985515)
 * Status: resolved