• Resolved elibogh

    (@elibogh)


    This is the site: https://www.urbanbombshells.com/blog

    For some reason all of my category pages are showing ALL posts, not just that category’s posts. Any idea how to fix that?

    Also, if anyone knows how I can get the post footer (poster name, date, comments, category, etc) to show up on all posts on the main page and not just the first post, that would be great! (I know that’s a separate issue, so if I need to post it elsewhere I will.)

    Thanks! ??

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter elibogh

    (@elibogh)

    Huuuummm….

    Pretty weird, on my side, if I use your index.php, everything works well… If I choose a category, only posts from this category are displayed… Well

    But you said : “I double checked the Default WordPress theme and the Classic theme and both do the same thing.”

    Do you mean that you have the same problem with these themes as well ???

    If so, it’s not a theme issue… You have someting strange in your WP configuration, especially with the way you configured your category…

    S.

    Thread Starter elibogh

    (@elibogh)

    Hmm…. Yeah, duh. I guess it’s not a theme issue. Sorry about that. I’ll take a look at all of my settings and see if I can’t figure it out.

    Thread Starter elibogh

    (@elibogh)

    Ohhh…I just figured out what the problem is. I had added the Ultimate Category Excluder plugin (https://www.planetmike.com/journal/plugins/ultimate-category-excluder/) and I decided to see if deactivating it would make a difference and sure enough…now the categories work.

    So…that said… I really need to make it so that only certain categories show up on the main page. Is there any other way to make this work other than using the Ultimate Category Excluder?

    Kewl kewl… So you found the problem, Good! You probably can marck this thread as “resolved” now.

    Of course, you can easily make an index page wich exclude certain category without a plugin… But you will have to go deeper in the WordPress customisation culture… ??

    My first advise is to read this documentation :

    https://codex.www.ads-software.com/The_Loop
    https://codex.www.ads-software.com/Template_Tags/query_posts

    Also, if I was you, I would make a copy of my index.php and rename it to category.php… It wont make any difference for now (since you use the same index.php anyway for both now), but on the long run, you will find it really helpful to have a different sort of display for category (you can do so with only one index.php, but it will take a lot of conditional tags… It’s cleaner with a specific category page).

    Good luck… And if you get stuck, just start another thread about excluding category from the front page.

    S.

    Thread Starter elibogh

    (@elibogh)

    I’ll check out the links.

    Simon, thanks so much for all of your help. I really appreciate it. ??

    Elizabeth

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Category pages showing ALL blog entries’ is closed to new replies.