Listed in topics: Configuration, Customization, Documentation, Installing, Troubleshooting

WordPress Plugin »Add/Remove ID on WordPress Pages

IntenseDebate hooks into the comments_template() function within WordPress. While some themes include comments on all Posts and Pages, most WordPress themes do not include comments on Pages (as opposed to Posts). If you’d like IntenseDebate to appear on your Pages, you need to include the core WordPress comments as well. Here’s how you need to modify your theme files:

Adding ID to Pages

Per above, IntenseDebate swaps the contents of the comments_template() function in the single.php file in your theme. If you copy the contents of that file and then add that into the page.php file in your template, that will add ID to your pages. If your page.php file contains custom formatting specifically for Pages, then just make sure that the comments_template() function is called (usually at the end) of your page.php template file.

Removing ID from Pages↑ Table of Contents ↑

IntenseDebate swaps out the contents of the comments_template() function. Remove that from the page.php file in your theme, and that will remove IntenseDebate from that page.

Removing ID from Posts↑ Table of Contents ↑

You can remove IntenseDebate from posts by removing the contents of the comments_template() function from the single.php file in your theme.

Tags: , — Can't find your answer here? Let us know.

Last modified: August 2, 2010 by Michael

Help us improve:

We're always looking to improve our documentation. If this page didn't answer your question or left you wanting more, let us know! We love hearing your feedback. For support, please use the forums or contact support form. Thanks!

You must be logged in to post a comment.