Title: &lt;code&gt; tag does not working.
Last modified: February 7, 2017

---

# <code> tag does not working.

 *  [lse12](https://wordpress.org/support/users/lse12/)
 * (@lse12)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/code-tag-does-not-working/)
 * When I use the < code > syntax to display code, wordpress does not show the code.
   
   You can see the problem.. [http://all-iran.info/home/wp/archives/2004/12/09/66/](http://all-iran.info/home/wp/archives/2004/12/09/66/)
   What is problem ? Thank you. I want to show this code… ` <?php $temp_category
   = single_cat_title('',false); if (!empty($temp_category)){ // give index ?> <
   h1><?php single_cat_title(); ?></h1> <?php echo(category_description(the_category_ID(
   false))); ?> <p class="index"> <?php if ($posts) : foreach ($posts as $post) :
   start_wp(); ?> "><?php the_title(); ?> / <?php the_date(); ?> <br> <?php endforeach;
   else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?> <?php endif; ?
   > <?php }else{ // give details or single post ?>

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

 *  [Minna](https://wordpress.org/support/users/minna/)
 * (@minna)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/code-tag-does-not-working/#post-117246)
 * Put it through the Amazing WP [Encoder](http://resources.wordpress.org/tools/encode.php)
   and post the output on your site. Code tag doesn’t change the fact that all that
   looks like code will be interpreted as code — I think.
    There are also plugins
   for this but of those I know nothing
 *  [dss](https://wordpress.org/support/users/dss/)
 * (@dss)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/code-tag-does-not-working/#post-117247)
 * definitely…
    the  tag allows a lot of code to parse, and thus is invisible, or
   even messed up in the text filtering. use the encoder, it's a wonderful solution!
   the users can still cut and paste your example code whithout having to decode
   it. : ) F.
 *  Thread Starter [lse12](https://wordpress.org/support/users/lse12/)
 * (@lse12)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/code-tag-does-not-working/#post-117248)
 * Yes. your suggestion is a solution.
    But I want to use ` tag that provide basically
   in the wp-admin/post.php. What is problem ? You also have this problem ?
 *  Thread Starter [lse12](https://wordpress.org/support/users/lse12/)
 * (@lse12)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/code-tag-does-not-working/#post-117249)
 * thank you..
    But in this support forum.. I used ` tag.. It works very well.

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

The topic ‘<code> tag does not working.’ is closed to new replies.

 * 4 replies
 * 3 participants
 * Last reply from: [lse12](https://wordpress.org/support/users/lse12/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/code-tag-does-not-working/#post-117249)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
