 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
February 15, 2018 at 11:24 pm #913013I am wanting “Comment 0 /” not to show when there is 0 comments. I want it blank. I tried removing the checkmark from “check to display” Blog Post Comment Count in Blog Layout – Enfold Child Theme Options 
 but that did not stop the display of the Blog Post Comment Count when displayed in Grid Block FormatHere is a screenshot from my site http://screenshot.co/#!/da672a23a5 and I have circled in red the area I want to be made invisible I have the postslider.php setup in the Child Theme per another posts instructions, and that is working. 
 I believe here is the code that I need to modify, but I don’t know how to modify it.Starting from line 604 if($show_meta && !empty($excerpt)) 
 {
 $meta = “<div class=’slide-meta’>”;
 if ( $commentCount != “0” || comments_open($the_id) && $entry->post_type != ‘portfolio’)
 {
 $link_add = $commentCount === “0” ? “#respond” : “#comments”;
 $text_add = $commentCount === “1” ? __(‘Comment’, ‘avia_framework’ ) : __(‘Comments’, ‘avia_framework’ );$meta .= “<div class=’slide-meta-comments’>{$commentCount} {$text_add}</div><div class=’slide-meta-del’>/</div>”; 
 }
 $markup = avia_markup_helper(array(‘context’ => ‘entry_time’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup));
 $meta .= “<time class=’slide-meta-time updated’ $markup>” .get_the_time(get_option(‘date_format’), $the_id).”</time>”;
 $meta .= “</div>”;if( strpos($blogstyle, ‘elegant-blog’) === false ) 
 {
 $output .= $meta;
 $meta = “”;
 }
 }- 
		This topic was modified 7 years, 8 months ago by kpenner36. 
 February 17, 2018 at 8:43 am #913573Hey kpenner36, Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css .comment-container.minor-meta { display: none; }If you need further assistance please let us know. Best regards, 
 VictoriaFebruary 17, 2018 at 9:34 am #913589I did everything you suggested and I made sure to empty my cache before testing each time 
 There was no effect at all on any change to the “0 comments”February 18, 2018 at 7:08 am #913774Hi kpenner36, Can you please give a link to that page that you have on the screenshot in the original post? Best regards, 
 VictoriaFebruary 25, 2018 at 3:57 am #917257February 25, 2018 at 2:38 pm #917374Hi kpenner36, Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css .avia-content-slider .slide-meta div.slide-meta-comments, .avia-content-slider .slide-meta div.slide-meta-comments + .slide-meta-del { display: none; }If you need further assistance please let us know. Best regards, 
 VictoriaFebruary 25, 2018 at 5:19 pm #917457Yes, that worked! Thanks February 25, 2018 at 7:22 pm #917528Hi, Glad we could help! 
 Please take a moment to review our theme and show your support https://themeforest.net/downloads
 To know more about enfold features please check – http://kriesi.at/documentation/enfold/
 Thank you for using Enfold :)Best regards, 
 Basilis
- 
		This topic was modified 7 years, 8 months ago by 
- 
		AuthorPosts
- The topic ‘How to removing "Comment 0 /" on Grid Blog?’ is closed to new replies.
