Popup comments on Page errors
-
I tried enabling popup comments on all pages (index, posts/permalinks, pages).
Commenting out (or deleting) this line in comment-functions.php:
if (! is_single() && ! is_page()) {
and the closing}
gets comments to display on posts, and pages. Comments work fine on posts/permalinks. But when clicking on the popup comment link on a page, produces an error on the popup.
It doesn’t like the foreach($posts as $post) line.
Does anyone know what would need to be done to get it to work on Pages also?
The site is: https://wired.webcrap.net/
Example of a page w/popup comments: https://wired.webcrap.net/changing-faces/
Any help would be much appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Popup comments on Page errors’ is closed to new replies.