posts

Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #23337

    How do I make so my posts don’t go under blog. I want to have blog posts, but then also I have some posts that I want to put under a menu item as a sub menu

    #23351
    VeenaVeena
    Moderator

    You can create a special category for the posts which you don’t wish to display and then you can hide the posts in that category using the below custom CSS –

    .post.type-post.category-yourcategoryname {
        display: none;
    }
    
    #23362

    I added the CSS but that hides the post completely. I want to hide it from the blog but show it under another tab

    #23375
    VeenaVeena
    Moderator

    You can use this modified custom CSS –

    .page-id-6858 .post.type-post.category-yourcategoryname{
     display: none;
    }
    

    basically you need to target the blog page id .

    #23378

    Thank you for your help. I added the CSS but it appears under blog again.

    #23389
    VeenaVeena
    Moderator

    Can you pls share your blog page’s link ?

    #23411

    http://www.kavorjan.com/blog/

    if you look at post titled One-Sheet: Proven Sherwood Oaks Method
    that should only appear under classes -> resources, but it keeps appearing in blog as well. I want to add 5 posts that I dont want to be part of blog and I want all of them to be under classes-> resources

    #23434
    VeenaVeena
    Moderator

    You need to replace “yourcategoryname” with your category name .

    .page-id-6858 .post.type-post.category-press{
     display: none;
    }
    .single.single-post .post.type-post.category-press{
    display: block;
    }
    

    If you use the above custom CSS then the posts that have category will not get displayed in your blog page , likewise you can add the category which you don’t wish to display .

    #23613

    great it worked.

    Can I do the same thing so post from that specific category don’t show up on the home page blog slider?

    #23626
    VeenaVeena
    Moderator

    For this you can use post_snippets_carousel shortcode with taxonomy and terms specified. Pls check themedocumentation to know more about shortcode parameters .

    Thanks.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.