Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
November 9, 2015 at 7:49 pm #532856November 10, 2015 at 5:28 pm #533481
Hi Hafeez Ullah!
You can remove those in Dashboard > Enfold > Blog Layout.
For the blog grid entries though you may need to delete lines 145 – 194 in the /enfold/includes/loop-index.php file to get rid of them.
echo "<span class='post-meta-infos'>"; $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false)); echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>"; echo "<span class='text-sep text-sep-date'>/</span>"; if ( get_comments_number() != "0" || comments_open() ){ echo "<span class='comment-container minor-meta'>"; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo "</span>"; echo "<span class='text-sep text-sep-comment'>/</span>"; } $taxonomies = get_object_taxonomies(get_post_type($the_id)); $cats = ''; $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id); if(!empty($taxonomies)) { foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } if(!empty($cats)) { echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." "; echo $cats; echo '</span><span class="text-sep text-sep-cat">/</span>'; } echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." "; echo '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>'; echo '<span class="vcard author"><span class="fn">'; the_author_posts_link(); echo '</span></span>'; echo '</span>'; echo '</span>'; echo '</span>';
Best regards,
ElliottNovember 11, 2015 at 10:49 pm #534417Hi, Elliott
the coding you provided, i deleted the same coding you provided here, and then save it, but does not work,
please let me also know that, how can i get the line number means you said it 145-194 i cant see any number.
please solve my problem
Note: i also want to remove these things on category and tags pages too, means if someone click on category then posts seen from that category should not display all the data like comment,posts,category etc on post.
thanks and hope to see your reply.
November 15, 2015 at 12:13 pm #536061 -
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘How to remove category/date/comment/tag from posts on homeposts, pages and posts’ is closed to new replies.