Title: Short Code Conflict
Last modified: August 20, 2016

---

# Short Code Conflict

 *  [curiouslaw](https://wordpress.org/support/users/curiouslaw/)
 * (@curiouslaw)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/)
 * Hello! I need some help running two short codes. I’m using a purchased template
   that includes a shortcode for a three column layout. That short codes is:
 * [one_third]
 * Your content here…
 * [/one_third]
 * [one_third_last]
 * Your content here…
 * [/one_third_last]
 * I’m also using the list category posts plugin to add posts from three categories
   where the “Your content here…” is located. I do this using the shortcode [catname
   =categoryname].
 * The posts are generated but not in three columns and only the first two “one-
   third” shortcodes is hidden, the rest appear in the text of the page.
 * Any suggestions on how to correct this problem?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270889)
 * As this is a commercial theme, we cannot really help. You need to seek support
   from the theme vendors.
 *  Thread Starter [curiouslaw](https://wordpress.org/support/users/curiouslaw/)
 * (@curiouslaw)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270892)
 * There should be a general principle that applies though right? I could just as
   easily use a plug-in that generates a similar short code and experience the same
   conflict. I appreciate any support that is available!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270896)
 * The general principle would be that the theme developer created the shortcodes
   correctly, tested them and where possible, tried to ensure that they worked with
   other plugins. Since this is obviously not the case, you need to contact the 
   theme developer.
 *  Thread Starter [curiouslaw](https://wordpress.org/support/users/curiouslaw/)
 * (@curiouslaw)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270901)
 * I appreciate your answer. I thought when I came to wordpress I would find more
   support and less attitude. It appears I was wrong.
 *  [Jackson Whelan](https://wordpress.org/support/users/madjax/)
 * (@madjax)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270906)
 * Make sure the theme’s shortcode handler function is calling do_shortcode on the
   content, ie:
 *     ```
       add_shortcode('test','test_shortcode');
   
       function test_shortcode( $atts, $content = null ) {
       	return( '<div>'.do_shortcode( $content ).'</div>');
       }
       ```
   
 * [http://codex.wordpress.org/Shortcode_API#Nested_Shortcodes](http://codex.wordpress.org/Shortcode_API#Nested_Shortcodes)
 * esmi is right though, you are better off contacting the theme author since we
   have no idea what code is behind that shortcode.
 *  [Jackson Whelan](https://wordpress.org/support/users/madjax/)
 * (@madjax)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270908)
 * Shot in the dark… but, try implicitly closing the shortcode. Instead of
 * `[catname=categoryname]`
 * Try
 * `[catname=categoryname/]`
 * Or
 * `[catname=categoryname][/catname]`
 * Also it’s worth noting that your shortcode looks odd.
 * Normally:
 * `[tag attribute=value]`
 *  Thread Starter [curiouslaw](https://wordpress.org/support/users/curiouslaw/)
 * (@curiouslaw)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270915)
 * Jackson – Thanks for the tip. I’ve shot an e-mail out to the developer. Until
   then I will try cloding the shortcode. I thought the shortcode for the category
   was off, but that is the one recommended by the plugin developer.
 * Thanks again!

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

The topic ‘Short Code Conflict’ is closed to new replies.

## Tags

 * [list category posts plugin](https://wordpress.org/support/topic-tag/list-category-posts-plugin/)
 * [short codes](https://wordpress.org/support/topic-tag/short-codes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [curiouslaw](https://wordpress.org/support/users/curiouslaw/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/short-code-conflict/#post-2270915)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
