• I would like to hide the list of categories from showing up on the front page such as this:

    posted in: Breakfast, Grains, No Added Sugar, Nuts, Quick Recipes | 0

    There is a little folder icon before “posted in” in the above statement which I cannot copy here. It also ends with the little icon for comments.

    I want to be able to use the categories for taxonomy purposes, but do not want to show the list of categories and tags displayed in the excerpt of the post on the front page.

    Do I add a code to the simple custom CSS plugin? I had read that adding code directly to the theme would not be good because when the theme gets updated then the code that had been added will get lost.

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello Ariabav,

    Are you wanting to hide them from only the home page, or to be hidden from your post excerpts in all instances of your site? This can be done with CSS. If you can post a link to your site I will provide the CSS.

    And with this theme, it’s best to place your CSS into Theme Options> Advanced Settings. This CSS will be retained when updating the theme, eliminating the need for any additional CSS plugins.

    Let me know if this is helpful!

    -Kevin

    Thread Starter ariabav

    (@ariabav)

    Hi Kevin,

    Thanks so much for your response. You see like the list of categories and tags that appear in the excerpts of the recipes on the pages below – I would like to not have any of that information appear anywhere. It looks too messy I think. I wanted to organize the recipes by categories only for organizing into a recipe index which I am working to create. But I do not want it to appear like it is in these pages.

    https://www.thedeliciouscrescent.com/page/4/
    https://www.thedeliciouscrescent.com/page/5/

    However it is okay, if the tags appear at the bottom of a post like this:

    https://www.thedeliciouscrescent.com/rose-rice-custard-with-pomegranate-jelly/

    I would like to not have the categories list show up at the start of the above post though.

    Just the tags at the bottom of the post is ok.

    I am not sure if all of this is possible or not.

    I know that currently I probably have too many categories and tags for each post, which is perhaps not good for SEO. I will try to minimize the number of the categories and tags assigned to each post.

    Thanks for your time and support.

    You can hide the tags and categories site wide by going into Theme Options> Blog Settings. This will hide them from all posts site wide.

    This CSS will hide the tags and categories only on your home blog:

    .homecontent .post .postcontent footer {
        display: none;
    }
    
    .homecontent .post .postcontent .postedintop {
        display: none;
    }

    This CSS will hide the categories from single page posts:

    .single-post .postedintop {
        display: none;
    }

    Let me know if this helps!

    -Kevin

    Thread Starter ariabav

    (@ariabav)

    Hi Kevin,

    That is awesome. The code did it.

    Then, I clicked on one of the posts as below:

    https://www.thedeliciouscrescent.com/barley-porridge-with-blueberries/

    Next I clicked on one of the tags at the bottom of the post – “dairy”, which took me to the following link

    https://www.thedeliciouscrescent.com/tag/dairy/

    There I see the tags and categories showing up. And also on this page below:

    https://www.thedeliciouscrescent.com/topics/recipes/

    There too I see the tags and categories listed.

    What code could I use so that it does not show up on these topic and tag pages? The only place I would like to show the tags are at the bottom of the post.

    Also, you had mentioned that it is possible to do this in blog settings site wide in theme options? How does one do that? I was curious.

    In any case, I was mainly interested in hiding the tags and categories everywhere, except for the tags at the bottom of the posts. Is that possible?

    Thanks so much.

    Regards.

    Thread Starter ariabav

    (@ariabav)

    One more thing is – would it be possible to get rid of the little comments icon also, that is right below the title and above the first paragraph of the post. I am unable to copy the icon below but you can see this “| 0” below the title of the post. Thanks so much.

    https://www.thedeliciouscrescent.com/page/6/

    Barley Porridge with Blueberries
    | 0

    This barley porridge with blueberries is inspired by Talbeenah – a whole grain porridge prepared with ground barley, milk, honey and dates. I added oven roasted blueberries and walnuts to it. Barley has several nutritional benefits. It is rich in … Continued

    Alright, try removing the above CSS and adding this:

    .post .postcontent .subhead, .single-post .subhead, .post .postcontent footer {
        display: none;
    }

    That should remove the icon and the line from the top of posts as well.

    The menu option is actually not present in the free version of the theme, sorry I got confused.

    Let me know how that CSS works for you.

    Thread Starter ariabav

    (@ariabav)

    Thank you so much. That code worked great.

    Best Regards

    Thread Starter ariabav

    (@ariabav)

    I have missing author and missing updated errors on all my pages. I thought this was related to the theme but I have been told it is related to SEO. I have the free version of the Yoast since the time I started my blog and have not see these errors previously. Does anyone know how this can be fixed? Thanks so much.

    /rose-rice-custard-with-pomegranate-jelly/
    7
    6
    5/7/17

    Missing: author
    Missing: updated
    Missing: author
    Missing: updated
    Missing: author
    Missing: updated
    Missing: author
    Missing: updated
    Missing: author
    Missing: updated
    Missing: author
    Missing: updated

    Thread Starter ariabav

    (@ariabav)

    I accidentally posted the above note here. I meant to post it to seek answers from the Yoast forum. I could not figure out how to delete the note here.

    I later saw that there are other people who have posted about hentry errors (missing author, missing updated) to their respective theme forums.

    Hi,

    I would instead turn the icon into text. Then display the category and not the icons.

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Hide categories in Virtue Theme’ is closed to new replies.