Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #532856

    Note: please dont give me css to display:none it….i want to customized with php files to remove these things

    go to site: http://themezy.tk you can see the posts there showing category. i want to remove it.

    same if you open any site, then you will see it again, i want to remove it from there too.

    screenshots to remove these things:

    1: http://prntscr.com/90v8ob

    2:http://prntscr.com/90va2f

    please check both screenshot to remove these things.

    #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,
    Elliott

    #534417

    Hi, 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.

    #536061
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.