Need help? Check out our Support site, then


Academica: remove tags and categories on posts

  1. Hi, Would like to see only author and date on posts. I've looked through the dashboard and can't see a way to remove them the tag and category below the post. Any CSS that would work. Thanks!

    The blog I need help with is eornetwork.wordpress.com.

  2. Hey.

    This is a bit trickier than I first thought it would be because of the text that comes before the links for categories and dates.

    I've come up with a solution, that feels a little too hacky to me but that works none the less. If any other forum volunteers can find a simpler solution, please do. :)

    For now, if you put the following CSS into your editor, then hopefully you'll get your desired look:

    /* Hide all meta content, main purpose is to get rid of the "on" text preceding categories */
    .entry-meta {
    visibility: hidden;
    }
    
    /* Get rid of space being taken up by tags and category content */
    .tags, .category {
    display: none;
    }
    
    /* Make author and date visible */
    .by-author, .datetime {
    visibility: visible;
    }
    
    /* Add preceding text to date */
    .datetime:before {
    content: "ON ";
    }

    Hope that works! Let me know if things still don't look quite how you want them to.

  3. That does work, but it removes the post date from the blog feed, which I'd like to keep. Any modification that might leave the date on the summary?
    Thanks!

  4. @lehua1010, give the following a try. It is a slightly different way of doing what @siobhyb did.

    @siobhyb, when you can only work with CSS, sometimes "hacky" is the best one can do, and the important thing is that it works. The following is a different way to do it but it could be considered "hacky" also. :)

    .column-content {
    position: relative;
    }
    
    .entry-meta {
    visibility: hidden;
    }
    
    .entry-date {
    visibility: visible;
    position: absolute;
    left: 85px;
    }
    
    .author {
    visibility: visible;
    }
    
    .author:before {
    content: "By ";
    position: absolute;
    left: 0;
    }
    
    .author:after {
    content: " on";
    }

    I used position relative in .column-content and then position absolute for the date which will work as long as the author names don't get longer or shorter. If there are going to be multiple authors, then the above will likely not work. The other possibility if there are going to be multiple authors would be to float the date to the right.

    Let us know if this will work for you.

  5. @thesacredpath: Hah. Maybe being a bit hacky isn't all that bad. :p

    @lehua1010: I've edited my above answer a little so that it will hopefully keep the blog date visible on the blog listing page:

    /* Hide all meta content, main purpose is to get rid of the "on" text preceding categories */
    .entry-meta{
    visibility: hidden;
    }
    
    /* Make all links visible */
    .entry-meta a, .entry-meta span{
    visibility: visible;
    }
    
    /* Get rid of space being taken up by tags and category content */
    .tags, category {
    display: none;
    }
    
    /* Add preceding text to date */
    .datetime:before {
    content: "ON ";
    }

    Pick as you wish. Hope you find something that works. :)

Topic Closed

This topic has been closed to new replies.

About this Topic