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

    Hi, Can you please tell me how to hide in all blog posts: “Date” / “# Comments” / in “Tags” / by “Author”

    This is under the Title of the blog post.

    I’d like to show the date and tags only

    #129596

    Open up wp-contentthemesenfoldincludesloop-index.php and remove

    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'>/</span>";
    }

    and

    if(!empty($cats))
    {
    echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
    echo $cats;
    echo '</span><span class="text-sep">/</span>';
    }

    #129597

    Are you sure about the second one? It says:

    if(!empty($cats))….. Why “cats?” Is this correct? Or potentially a copy and paste with an extra bit of information? I like to confirm before I alter code.

    Are there any implications from an SEO or functionality standpoint? My intentions are purely cosmetic.

    Thank you

    #129598

    Yes – “in Tags” seems to be a category in your case (category with the name “tags”). “cats” is the acronym of “categories” and does not stand for animals, pets, etc.

    Personally I wouldn’t recommend to remove the category listing because of seo reasons (because the categories link to the archive pages) but you can remove the comments link.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to hide in blog posts: "Date" / "# Comments" / in "Tags" / by &quo’ is closed to new replies.