After moving to HTMLy, I missed a local commenting system. My needings are basic: I just need a very simple one, possibly based on flat files, not relying on external commenting systems.
HTMLy only choices were Facebook and Diqus, none local. So I decided to write one for myself, ending in a slightly modified HTMLy 3.3.1 version.
Integrating the comments in existing template its quite simple. First add the PHP lines needed to show the comments box on your posts:
<?php if (local()): ?>
<?php
$postId = str_replace(site_url(), '', $p->url);
displayCommentsSection($postId);
?>
<?php endif; ?>
then play with CSS to match your template.
Comments
Leave a Comment