0
votes
0answers
53 views

Show post when both categories are present but not one of them

I'm having issue filtering posts by category. There is the A category for posts (which is the default and also applies when no category has been set explicitly) and B category with subcategories for ...
1
vote
2answers
360 views

Can I hide a specific post from latest posts page?

Let's say that I have a post that I only want to be shown in the page of the category that it belongs to. The problem is that this post is also visible in the latest posts page. Is there a way to ...
1
vote
1answer
249 views

Arrange posts by date in front page

I have code to show the 5 last posts from every category on the front page. However, at the moment they are ordered category by category. Is it possible to order them by post date, but still have 5 ...
4
votes
3answers
757 views

Category page doesn't use category.php, instead it redirects to homepage

I am currently modifying a theme. This theme doesn't had a category.php I needed a custom category page. So, I made one. It works on my local server, but when I uploaded it to a real server, this page ...
1
vote
1answer
1k views

Filter front page posts by category

I have three categories (news, pics, vids), but I have all of them showing up on my front page. I would just like the front page to have the news category (and possibly uncategorized category) to ...
0
votes
1answer
46 views

I need advice on how to structure the categories according to the layout i have

I'm seeking advice on how to structure the categories so it fits well my page structure: The main highlight is a single post and the secondary highlight boxes will probably contain a slides showing ...
0
votes
1answer
443 views

1 post per category on homepage and counting those posts

What I'm trying to do on my homepage is to pull the latest post from each of 6 categories but then I need the variable $counter to increase (+1) for each post so that I can style them properly. I've ...