Support Forum
didn t think it would change, but wanted to see... thanks...
so data indicates its a general issue with how the wp theme is doing comments... we have no interaction in those not blog linked posts and they show the same comments...
what wp theme is this? is it up to date? and compatible with wp 4.7? there have been multiple changes to wp comments in core that might make it outdated...
without knowing more about theme, its hard to know what to tell you to look for... I guess if the account was a wp admin we could look around in the wp theme editor...
but first place to look would be in the wp theme itself and see if you have a single.php templat file... many ways to do this, so may not... and then in there, see what comments template tag is used...
Visit Cruise Talk Central and Mr Papa's World
what wp theme is this?
Woothemes Canvas
is it up to date?
no, will fix this, (running 2015.03.17 - version 5.9.3 and latest is 2016.10.21 - version 5.11.3) also checked their changelog and see nothing regarding comments but that doesn't mean they were not affected.
see if you have a single.php templat file
There is a single.php template file yes. Although it appears they use a separate comments template: theme-comments.php
What comment tag should I look for?
i just want to know how they are outputting the comments... since every non blog linked wp post has the same comments shown, something seems afoul in the theme...
Visit Cruise Talk Central and Mr Papa's World
Another interesting test we just ran.
We published a post today but purposely did not use Blog Post Linking as a test. A comment was submitted by an admin and it shows normally.
Canvas theme has not yet been updated.
link to post (log in first):
but all posts previous to this one still have the exact same comments as discussed earlier? that would be even more confusing...
think I asked this before, but no caching?
unfortunately, I am on business trip until Thursday night with limited ability to do deep dives... hopefully Andy can look in AM... can you post the contents of the single.php file here? probably need to zip it up...
Visit Cruise Talk Central and Mr Papa's World
but all posts previous to this one still have the exact same comments as discussed earlier? that would be even more confusing…
Yes, but we try to link every single post to the forum. This makes it easier for the main instructor to reply to his students. Those post were probably linked on posting but didn't connect for some reason.
think I asked this before, but no caching?
yes, correct, no caching plugins we learned that lesson a few years back.
can you post the contents of the single.php file here?
yes, will post, it's short so may not need to zip. Actually may need the theme-comments.php. Can post whatever you'd like as well as grant admin access, just let me know. hope your business trip is going well.
single.php:
<?php
/**
* Single Post Template
*
* This template is the default page template. It is used to display content when someone is viewing a
* singular view of a post ('post' post_type).
* @link http://codex.wordpress.org/Pos.....Types#Post
*
* @package WooFramework
* @subpackage Template
*/
// Nathan: If user doesn't have access, redirect to join page
for ($i = 0; $i < count($posts); $i += 1) {
$p = $posts[$i];
if (!memb_hasPostAccess($p->ID)) {
header('Location: /join/');
exit;
}
}
get_header();
?>
<!-- #content Starts -->
<?php woo_content_before(); ?>
<div id="content" class="col-full">
<div id="main-sidebar-container">
<!-- #main Starts -->
<?php woo_main_before(); ?>
<section id="main">
<?php
woo_loop_before();
if (have_posts()) { $count = 0;
while (have_posts()) { the_post(); $count++;
woo_get_template_part( 'content', get_post_type() ); // Get the post content template file, contextually.
}
}
woo_loop_after();
?>
</section><!-- /#main -->
<?php woo_main_after(); ?>
<?php get_sidebar(); ?>
</div><!-- /#main-sidebar-container -->
<?php get_sidebar('alt'); ?>
</div><!-- /#content -->
<?php woo_content_after(); ?>
<?php get_footer(); ?>
While I wait for @mr-papa to return and go down the template path he was looking at I have a couple of questions...
Firstly - and I don't believe this has been stated - has it been like this since day one of using the plugin? Or did it just begin happening at some point...?
Blog Linking works by adding post-processing logic to the creation of a blog post. This is done using WordPress standard filter and action hooks which allow plugins to add in their own code at strategic points. So we use it for blog linking. Other plugins could, for example, use it to add pre-created content, add formatting data, include images etc., all kinds of things. The big question is - does your site have any other plugins active that also operate on blog post creation that might be interfering in some unknown way? So is anything being triggered at blog post publish time that night have a knock-on effect?
This is a unique report of what is a pretty well used plugin and experience shows that this often leads to a hidden conflict with another plugin.
YELLOW
SWORDFISH
|
1 Guest(s)