simonv4549
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Easy Testimonials] Remove comments sectionI went with css in the end but still would like to know about removing the comments in the single-testimonial.php as above.
.single-testimonial #post-author, .single-testimonial #comments, .single-testimonial #respond { display: none; }Forum: Plugins
In reply to: [Easy Testimonials] Remove comments sectionThanks for the reply, I have copied the single.php to single-testimonial.php but there is no comment code within that template. How to a trace where to comments are being added from? The single-testimonial.php works as I can add content to it and it shows with the single testimonial but theres no comment section to remove?
<?php 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(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)