Title: Manually insert wpDiscuz into page template php
Last modified: April 25, 2019

---

# Manually insert wpDiscuz into page template php

 *  Resolved [Marty](https://wordpress.org/support/users/bozzmedia/)
 * (@bozzmedia)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/manually-insert-wpdiscuz-into-page-template-php/)
 * We are considering this plugin for a site with a lot of comments already and 
   a previous voting system in place. I doubt there is a simple way to transition
   the votes to your impressive plugin considering the votes are based on an older
   plugin.
 * My plan is to preserve the old votes by using WP page template logic to detect
   if a post is before or after a certain date. Old posts get the old comment system,
   new posts can use wpDiscuz. It seems by default this plugin is setup to override
   any current comment system, so I’m curious if there’s a way to turn off the auto
   replace and call this plugin to replace comment.php via php?
 * Or if you have a better suggestion to accomplish this I’m all ears.
 * Thanks!

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

 *  Plugin Support [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * (@gvectorssupport)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/manually-insert-wpdiscuz-into-page-template-php/#post-11466742)
 * Hi [@bozzmedia](https://wordpress.org/support/users/bozzmedia/),
 * wpDiscuz can be loaded when the <?php comments_template() ?> function is called
   in template files.
 * There is another function that allows comments to be loaded on the page. The 
   function is called <?php comment_form()>.
 * So you can use the first function to load wpDiscuz and the second to load the
   old comments of your site.
 * detailed references here:
 * [https://developer.wordpress.org/reference/functions/comments_template/](https://developer.wordpress.org/reference/functions/comments_template/)
   
   [https://codex.wordpress.org/Function_Reference/comment_form](https://codex.wordpress.org/Function_Reference/comment_form)
 *  Thread Starter [Marty](https://wordpress.org/support/users/bozzmedia/)
 * (@bozzmedia)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/manually-insert-wpdiscuz-into-page-template-php/#post-11468344)
 * Thanks for pointing me in the right direction, much appreciated. Thanks!

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

The topic ‘Manually insert wpDiscuz into page template php’ is closed to new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Marty](https://wordpress.org/support/users/bozzmedia/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/manually-insert-wpdiscuz-into-page-template-php/#post-11468344)
 * Status: resolved