Title: Website WordPress Conversion help.
Last modified: August 20, 2016

---

# Website WordPress Conversion help.

 *  [tech0925](https://wordpress.org/support/users/tech0925/)
 * (@tech0925)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/)
 * I have added a blog to my site which can be seen here: [http://www.beckin.com/blog/index.php](http://www.beckin.com/blog/index.php)
 * As you can see I can see my post but there is no link for people to post comments
   and etc. I have added this above my head tags
 *     ```
       <?php
       /* Short and sweet */
       define('WP_USE_THEMES', false);
       require('wp-blog-header.php');
       ?>
       ```
   
 * And this in the body:
 *     ```
       <?php
       $posts = get_posts('numberposts=10&order=ASC&orderby=post_title');
       foreach ($posts as $post) : start_wp(); ?>
       <?php the_date(); echo ""; ?>
       <?php the_title(); ?>
       <?php the_excerpt(); ?>
       <?php
       endforeach;
       ?>
       ```
   
 * _[Please post code snippets between backticks or use the code button.]_
 * What is is needed to get the post a comment link to show and etc? I think I would
   also like a link that will allow people to post there own articles also.
 * Thanks!

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

 *  [colinmorgan](https://wordpress.org/support/users/colinmorgan/)
 * (@colinmorgan)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/#post-2089479)
 * Correct me if I am wrong, but I believe what you are looking for is your comments
   template. You can add your comments template to your post template using the 
   following tag:
 * `<?php comments_template(); ?>`
 *  Thread Starter [tech0925](https://wordpress.org/support/users/tech0925/)
 * (@tech0925)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/#post-2089483)
 * Thanks ColinMorgan,
 * That may be what I need, however I added your php code right below the other 
   like this and it did not seem to do anything ;(
 *     ```
       <?php
       $posts = get_posts('numberposts=10&order=ASC&orderby=post_title');
       foreach ($posts as $post) : start_wp(); ?>
       <?php the_date(); echo ""; ?>
       <?php the_title(); ?>
       <?php the_excerpt(); ?>
       <?php
       endforeach;
       ?>
       <?php comments_template(); ?>
       ```
   
 * Any suggestions?
 *  [colinmorgan](https://wordpress.org/support/users/colinmorgan/)
 * (@colinmorgan)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/#post-2089490)
 * Which template is your code located in?
 *  Thread Starter [tech0925](https://wordpress.org/support/users/tech0925/)
 * (@tech0925)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/#post-2089493)
 * OIC,
 * I might not have been to clear, sorry. I am not using a template. I have an existing
   website that I am trying to add wordpress to one page of my site.
 * Thanks!
 *  Thread Starter [tech0925](https://wordpress.org/support/users/tech0925/)
 * (@tech0925)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/#post-2089497)
 * Not sure if I should mention also that I created a folder called blog and installed
   wordpress. I then removed their index.php which loads everything with my own 
   blog page and called it index.php. I added the above codes to the page which 
   allowed me to keep my theme but just add the post to my page. Now I am trying
   to figure out what else to add so others can comment on my posts or articles.
 * Thanks, hopefully that explains everything.

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

The topic ‘Website WordPress Conversion help.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [tech0925](https://wordpress.org/support/users/tech0925/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/website-wordpress-conversion-help/#post-2089497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
