Plugins Not Working With Themes

I am just beginning a niche blogging network and I am setting up various plugins on the network. Of course, I have chosen WPMUDEV as my foundation and would like to use those plugins as my first choice.

I understand that some themes do not work out of the box with COMMENTS PLUS. I am currently working with Fresh News from WooThemes and Karma from TrueThemes, both of which are giving me significant troubles with the plugin.

Is it possible you could help me in getting them integrated?

Thanks in advance,

Christopher

  • Arun Basil Lal

    Hello Christopher,

    Welcome to the Community!

    Different Themes handle Comment Boxes different comments differently, so its quite a challenge to integrate into every theme out of the box, but we have solutions for that.

    There are two things you could try.

    1. Activate the Custom Comments Template addon and choose a different style and see what happens

    2. This is sure-shot method. Go to Settings > Comments plus. Checkout your single.php and enter the name of the hook that is used to call the comments template. See the screenshot attached.

    Let me know how that goes. Good luck!

  • Christopher Hussey

    Hi Arun,

    Thank you very much for your response.

    1. Activate the Custom Comments Template addon and choose a different style and see what happens

    I have applied the first method and it does work, however the styling is a bit off and the tabs are not appearing. They are working, however not really visible.

    2. This is sure-shot method. Go to Settings > Comments plus. Checkout your single.php and enter the name of the hook that is used to call the comments template.

    I would like to try this method, however I need a little guidance. I am uncertain where to look for the hooks within the theme files. Is there a specific place to I should look or a file I can copy to this thread to be examined?

    Thank you for your assistance,

    Christopher

  • Christopher Hussey

    Hi Arun,

    Very sorry for the double post. I re-read your response and have located the single.php file for the template. Below is a copy of that file.

    <?php get_header(); ?>
    
    		<div id="main">
    
    		<?php if (have_posts()) : ?>
    
    			<?php while (have_posts()) : the_post(); ?>										
    
    				<div class="post box" id="post-<?php the_ID(); ?>">
    
    					<h1 class="title"><?php the_title(); ?></h1>
                        <div class="date-comments">
                            <p class="fl"><?php the_time( get_option( 'date_format' ) ); ?></p>
                            <p class="fr"><?php the_category(', ') ?></p>
                        </div>        
    
    					<div class="entry">
    			            <?php echo woo_embed('key=embed&width=540&height=400'); ?>
    						<?php if ( get_option('woo_image_single') == "true" AND !woo_embed('')) woo_get_image('image',get_option('woo_single_image_width'),get_option('woo_single_image_height'),'post-thumbnail'); ?>
    						<?php the_content(__('<span class="continue">Continue Reading</span>', 'woothemes')); ?>
    					</div>
    
    					<?php the_tags('<span class="tags">', ', ', '</span>'); ?> 
    
    				</div><!--/post-->			
    
    				<!-- #post-author -->
                   	<?php if ( get_option('woo_author') == "true" ) { ?>
    				<div id="post-author">
    					<div class="profile-image"><?php echo get_avatar( get_the_author_meta( 'ID' ), '70' ); ?></div>
    					<div class="profile-content">
    						<h4><?php printf( esc_attr__( 'About %s', 'woothemes' ), get_the_author() ); ?></h4>
    						<p><?php the_author_meta( 'description' ); ?></p>
    						<span class="profile-link">
    							<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
    								<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'woothemes' ), get_the_author() ); ?>
    							</a>
    						</span><!-- #profile-link	-->
    					</div><!-- .post-entries -->
    					<div class="fix"></div>
    				</div>
                    <?php } ?>
    				<!-- #post-author -->
    
    				<?php woo_subscribe_connect(); ?>
    
    				<!-- Singular Ad Space -->
    				<?php if ( $woo_options['woo_ad_single'] == 'true' ) { ?>
    		        <div id="single-ad" <?php if ($woo_options['woo_ad_single_pos'] == 0) echo 'style="margin-top:0;"'; ?>>
    					<?php if ($woo_options['woo_ad_single_adsense'] <> "") { echo stripslashes($woo_options['woo_ad_single_adsense']);  } else { ?>
    						<a href="<?php echo $woo_options['woo_ad_single_url']; ?>"><img src="<?php echo $woo_options['woo_ad_single_image']; ?>" width="468" height="60" alt="advert" /></a>
    					<?php } ?>
    				</div><!-- /#single-ad -->
    		        <?php } ?>
    				<!-- /Singular Ad Space -->
    
    		        <div id="post-entries">
    		            <div class="nav-prev fl"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ) ?></div>
    		            <div class="nav-next fr"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ) ?></div>
    		            <div class="fix"></div>
    		        </div><!-- #post-entries -->
    
    	            <?php $comm = $woo_options['woo_comments']; if ( ($comm == "post" || $comm == "both") ) : ?>
    				<div id="comments" class="box2">
    					<?php comments_template('', true); ?>
    				</div>
    	            <?php endif; ?>
    
    		<?php endwhile; ?>
    
    	<?php endif; ?>							
    
    		</div><!--/centercol-->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    Are the hooks currently in place or do they need to be added?

    Thank you for your assistance,

    Christopher

  • Arun Basil Lal

    Hey Christopher,

    No problem with the double posts, do as much as the situation demands, more information is always welcome.

    In this case, I think this should work. Give this a try:

    Towards the end of single.php, see a line like this:

    <?php comments_template('', true); ?>

    Replace that with:

    <?php do_action("comment_form_before");?>
    <?php comments_template('', true); ?>
    <?php do_action("comment_form_after");?>

    (assuming the hooks in the Comments Plus settings are the defaults).

    And save single.php. Do Let me know how that goes. Good luck!

  • aecnu

    Greetings Christopher,

    We have not heard back from you as to the status of this issue.

    If you are still having an issue please let us know so that we may try to get you fixed up as soon as possible by choosing to check mark this ticket as unresolved below and posting any new errors or symptoms you are noticing.

    This action will also bring your ticket up front back in plain view again within the ticket system.

    Thank you for being a WPMU Dev member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.