Title: Adding php code in template??????
Last modified: August 19, 2016

---

# Adding php code in template??????

 *  Resolved [rcktech](https://wordpress.org/support/users/rcktech/)
 * (@rcktech)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/adding-php-code-in-template/)
 * Hello All,
 * I installed plugin (visualized recent column)
    [http://wordpress.org/extend/plugins/visual-recent-posts](http://wordpress.org/extend/plugins/visual-recent-posts)
   I tried to go the website but the web site is down. The plugin instruct you to
 * *******************
    1. Place <?php insertVisualRecentPosts(); ?> in your template
   where you want things to show up. If you have a nice hook system in your theme(
   like Thesis theme from diythemes.com), then you don’t even have to modify any
   code. Just enter the hook name in the plugin’s option panel. ******************
 * Could someone elaborate on this? Does this mean you add this code on page or 
   a posting? Or it had to be added to one of the files in the theme. I am not sure
   what that means. I tried to add it in the posting page but nothing happens. Not
   sure,
 * My question might sound too simple to the veteran WordPress Developer but it’s
   not so simple to me, I am new to this word press business so please (be nice)
   🙂
 * thank you all

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/adding-php-code-in-template/#post-1175340)
 * It had to be added to one of the files in the theme. Obvious candidates would
   be index.php or sidebar.php
 *  Thread Starter [rcktech](https://wordpress.org/support/users/rcktech/)
 * (@rcktech)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/adding-php-code-in-template/#post-1175406)
 * thank you,

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

The topic ‘Adding php code in template??????’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [rcktech](https://wordpress.org/support/users/rcktech/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/adding-php-code-in-template/#post-1175406)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
