Comments displayed on confirmation page
-
Hi Amgine,
Thank you for trying out Post Notif!
I am sorry you’re running into this issue with the comments displaying on the preferences page. It appears to be a problem manifesting itself only when certain themes are being employed. Consequently, it has not been easy to recreate the problem, (as many people are using premium themes) let alone change the plugin itself to work for every single theme (though I’m trying to help everyone who reports similar issues).
To that end, I see from your site that you’re using a theme from WPThemes.co.nz? Which one is it? I’d like to download the demo version and see if I can recreate your issue and figure out a solution for you.
Thanks,
DevonHi Amgine,
Thanks for supplying the link to the theme – I will check it out soon and determine what can be done to suppress the comments from showing up.
Thanks,
DevonHi Amgine,
I am still working on a plugin-based solution to your issue but, in the meantime, if you have access to edit your theme files, open “../wp-content/themes/surfarama/page.php”, and replace the following line (line #11 in the file):
<?php comments_template( ”, true ); ?>
with these:
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>That should do the trick (and is patterned after the Twenty Fourteen and Twenty Fifteen themes that come with WordPress core).
Please let me know if that works for you.
Thanks,
DevonNo, it didn’t. (Also, that is kind of an icky dialect of php. Looks like that is WordPress style, or at least Surfarama style.)
EDIT: yes it did, that was cache.
Thanks! Now to figure out why it isn’t sending notifications… (will explore first, and open another issue if I don’t figure it out.)
Marking this resolved, although the patch solution is actually temporary.
The topic ‘Comments displayed on confirmation page’ is closed to new replies.
(@amgine)
10 years, 8 months ago
Every comment to the site is displayed on the confirmation/Post Notification Preferences page.
https://blog.saewyc.ca (Obviously a confirmation page cannot be linked here, but you could certainly subscribe to see if it happens for you.)
https://wordpress.org/plugins/post-notif/