cbitner 0 Report post Posted July 4, 2010 For the last little while I can't seem to get "leave a response" to appear on my posts. I did make it possible to leave comments on PAGES by editing a line of _posts.php and they are showing up great. However, my blog post pages comments are not working. Even if I click on leave a reply on the blog excerpt, it just sends me into the full blog post but there is no comment box that shows up. Yes, comments are enabled on the post. I am using iBlog Pro 4 - any help is appreciated. I have tried every menu toggle and nothing makes it appear. Share this post Link to post Share on other sites
wp101 0 Report post Posted July 4, 2010 Hey Cory, Did this problem occur after you made the change in the _posts.php file? Can you specify the exact change you made and have you tried reverting back to the original file to see if it works then? Share this post Link to post Share on other sites
cbitner 0 Report post Posted July 4, 2010 OK - did what you said (I reverted back to the original _posts.php file), and the comments section once again appears on Posts. (Thanks - I missed the obviousness of that). However, now it's back to the functionality of just displaying comments on posts and not on Pages. So, Here's the code that I replaced: <?php if(!VPRO || !is_page() || (is_page() && pagelines('pagecomments', $post->ID))) include(THEME_LIB.'/_commentsform.php');?> And here's the code I replaced it with to make pages have comments: <?php if(is_page() || pagelines('pagecomments', $post->ID)) include(THEME_LIB.'/_commentsform.php');?> Is there something I can do to make this leave comments on both PAGES and POSTS when I select it per post. (This is on the iBlogPro Theme by the way) Thanks for your suggestion and for anyone who can help accomplish what I am looking for. Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 5, 2010 It should work if you just add `|| is_single()` to the conditional Share this post Link to post Share on other sites
cbitner 0 Report post Posted July 12, 2010 OK - that worked. So for future users wanting to add comments to pages in iBlogPro4 and to retain comments on the posts: (1) Edit the iBlogPro theme file called: _posts.php (2) Find the following line: <?php if(!VPRO || !is_page() || (is_page() && pagelines('pagecomments', $post->ID))) include(THEME_LIB.'/_commentsform.php');?> (3) Replace it with this line: <?php if(is_page() || is_single() || pagelines('pagecomments', $post->ID)) include(THEME_LIB.'/_commentsform.php');?> All will work properly. Share this post Link to post Share on other sites