Viewing 5 replies - 1 through 5 (of 5 total)
  • you have this in your custom css:

    .category-escuelas {
    display: none;
    }

    so all the articles which has that css class aren’t displayed.
    No bugs, not in the theme, at least 😉

    Thread Starter JakenCD

    (@vansite)

    oh, shi….

    I was trying a thing the other day and my internet disconnected and I completely forgot about this.

    Sorry to make you waste your time. And thanks

    Thread Starter JakenCD

    (@vansite)

    Actually I was trying to hide some posts, with the category Escuelas, from the blog.

    Should I open another Topic, or is this one ok?

    from the blog page?
    So:

    .blog .category-escuelas {
    display: none;
    }

    But isn’t a good idea, ’cause you just hide them, you don’t remove them, this means that you may have pages with 1 post (’cause all others are hidden) and pages with 5 posts, for example.
    You should look here https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts
    for a good way to do that.

    Thread Starter JakenCD

    (@vansite)

    I don’t get what you say but it works fantastic for what I want.
    Let me put it in context.

    I have a section called “our schools”. In there, there are (for now) 3 more sections: canada, new zealand and EEUU.

    what i did was creating posts for this “pages” instead of creating pages. That way, every time I add a blog entry with the category “escuelas”, the section “our schools” automatically creates a new entry with this post. But I don’t want this entries in the blog, cause they are not really post entries. I just use the posts to get what I wanted.

    Is the solution I chose a bad call? Should I do something different?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text in posts not displaying’ is closed to new replies.