Title: PHP code not appearing not blog
Last modified: August 18, 2016

---

# PHP code not appearing not blog

 *  [v2006](https://wordpress.org/support/users/v2006/)
 * (@v2006)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/php-code-not-appearing-not-blog/)
 * Hi,
 * How to I get the code below to display on my blog…drostdesigns.com?
    Currently
   it does not appear..thank you
 * `
    <?php get_archives('postbypost', '10', 'custom', '', ''); ?>
 * `div class="box-1">
    <div class="box-h"> <h4 id="h-recent">Recent Posts</h4> 
   </div> <?php get_archives('postbypost', '10', 'custom', '', ''); ?> </div></code.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/php-code-not-appearing-not-blog/#post-363986)
 * So where doesn’t it appear?
    You should give some more details abouyt what are
   you doing. “on my blog” – is as vague as it can get.
 *  Thread Starter [v2006](https://wordpress.org/support/users/v2006/)
 * (@v2006)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/php-code-not-appearing-not-blog/#post-363993)
 * Sorry…I’m referring to the bottom of
 * [http://www.drostdesigns.com/customize-your-word-press-blog-recent-posts/](http://www.drostdesigns.com/customize-your-word-press-blog-recent-posts/)
 * After this…
 * How to create “recent posts” in your blog’s sidebar.
    1. Add this line of code
   to your sidebar:
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/php-code-not-appearing-not-blog/#post-363996)
 * You cannot put code in the content just like that 🙂
    Try using this: [http://www.tamba2.org.uk/files/simplecode.php](http://www.tamba2.org.uk/files/simplecode.php)
   or there is a code highlighting [plugin](http://codex.wordpress.org/Plugins).
 *  Thread Starter [v2006](https://wordpress.org/support/users/v2006/)
 * (@v2006)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/php-code-not-appearing-not-blog/#post-363998)
 * Moshu..thanks alot..you’re da man!

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

The topic ‘PHP code not appearing not blog’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [v2006](https://wordpress.org/support/users/v2006/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/php-code-not-appearing-not-blog/#post-363998)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
