Custom post-type child category archive - wordpress

Having a bit of a headache with WordPress at the moment after days of searching for an answer. I have a custom post-type on a new site called videos, and I want series of videos on the site. I decided to use standard categories for organising these videos into the series.
So, my structure goes:
Videos (post-type) -> Series (Category) -> The Making Of (child-category).
In terms of the hierarchy I have no idea which template would allow me to show all the posts from the child category? I've tried so many variations and none seem to work. And yes, I've been looking at the template hierarchy.
Maybe I'm just missing the obvious, but does anyone know what template is needed to show this child-category? I'd hate to have to make a page each time there's a new series to show.
[UPDATE]
So, I've changed over to a custom taxonomy as suggested in the comment below. And I've managed to get the list of posts from my making-of category showing up in a list. This uses the taxonomy-$term.php template.
This shows in the url mysite.com/series/making-of/.
But, I'm struggling to find a way to display all of the different categories from the post-type on a single page. I thought it would use just the taxonomy.php file but that doesn't seem to work.
I thought the url would have been mysite.com/series/

Related

Wordpress custom permalinks

I've been working on my wordpress permalinks for a couple of days and can't seem to figure out how to get them to work properly.
Here is the simple version of what i have and what i'm trying to achieve
I have 5 different categories (home, sports, beauty, arts, food)
I have 3 types of posts (post, pages, events(custom))
Each post_type can and will be associated to only 1 category
Here is what I would like to get in terms of permalinks
site.com/%category% = a different page for each caetgory (not an archieve)
site.com/%category%/%post_type% = archive listing of post_type
site.com/%category%/%post_type%/%post% = single of post
site.com/%category%/%page_slug% = the contents of a page
When i look at the rewriterules that are being applied i get close but it doens't include my category in the rewrite part
%category%/event//?$ index.php?post_type=event
Any help to get this working would be greatly appreciated.
Thanks
I manage to solve my issue and create the permalinks the way I wanted.
I created my post types like I wanted but I had to put a lot of if/else statement in my header to properly manage my pages and post type to ensure that the right page was being displayed.
It was quite the headache to finally find a structure that worked but in the end I managed. If I ever have to build a similar structure I hope I can think of a better solution.

WordPress Custom Post Logic

I'm a newbie here, but I've been trying to understand and research this for the past couple of days to no avail.
I created a custom post type (video) with a taxonomy associated with it (industries). The taxonomy "industries" has multiple categories (I'm not sure if in this case they are called terms rather than categories; correct me if I'm wrong!) such as IT, Construction, etc. For arguments sake, let's say under the category IT there is a single post named Web Developer.
First question: With the logic above, how would I manage to reach the single post (web developer) with the URL: .../video/IT/web developer?
Second question: If on the video page I would like to display all posts in all categories, what template page should I create? Is it archive-video.php? The same question goes for the category (IT in this case): Which template page should I create in order to display all posts under a specific category?
I'll answer your second question first:
Yes, the template you should use for displaying all the custom post types would be the CPT archive, so archive-video.php sounds right.
For the categories (the exact way to say it would be "taxonomy terms" indeed), you would use taxonomy-{taxonomy}.php or even taxonomy-{taxonomy}-{term}.php if you need to get more specific.
About your first question, there is currently no core functionality to use custom taxonomies in your permalinks, but this might help you.

Excluding a single category from Wordpress all posts results

I'm looking for a bit of help as I struggle to create a page that has a list of all of my clients' products. Currently I'm using this URL, which works great (with a caveat): http://tayloryourevent.com/?p=*
(note: on her site, both products and blogs are created as posts, but in separate categories)
As you can see, all the products show up nicely, but also included in the mix are blog posts, which I need to hide from that page.
My real problem is that I'm confused by the /?p=* and what that's doing. Since it's a page being created on the fly, I don't know where to look to get a glimpse behind the scenes.
2 questions:
Where is the /?p=* getting its theme from? Could I copy that theme and edit it to exclude the blog category?
-or-
Could I exclude the blog category with some kind of fancy URL work?
This plugin should be able to exclude blog categories: Simply Exclude

Category Listing Page with posts filtered to selected tag on Wordpress Blog

I'm working on a Wordpress 3.4 project. I have categories and then several tags, and also one custom taxonomy as types.
Wordpress is fantastic as far as it handles all the taxonomy page, but I'm unable to figure out how to have pages where I have categories listing page (with pagination) specifically filtered to a selected tag or custom taxonomy.
So basically I want Categories, but then again, I also need to have a categories page with all posts filtered to specific tag, and then with pagination.
I have tried to figure out how to do that, but unable to find the exact doc or help. The issue is also with the URL, as how it will be formed?
Any idea how to fix that one, or any plugin to get this things done?
I think these two codex pages will help you along your way.
http://codex.wordpress.org/Class_Reference/WP_Query
and
http://codex.wordpress.org/images/1/18/Template_Hierarchy.png
You can use WP_Query to query posts based on tags and categories/custom taxonomies and much more.
If you look at the template hierarchy you'll see you can use special template files for tags and taxonomies too. Just remember to flush your permalinks if you're not seeing these templates being used if you create one.

Page Template Custom Options

I have a little question. I am making a wordpress template that uses custom page templates. Now i ran into a problem. I want to create a page with a intro text and blog posts that come from a certain category. When a user creates a new page, I want them to be able to select the category from witch the posts are shown. Kinda like a drop down box with category's from where they can select the category they want. Does anyone maby knows a tutorial where I could learn how to do this ?
I mean something like this: http://imageshack.us/photo/my-images/10/naamloosea.jpg/
I already searched google but I could only find tutorials on how to make a template options page.
Thanks in advance,
Bob
You would want to create a Meta Box to save the category as a custom field entry within Pages. In here you could list the categories within a select box. You could then use this in the page template to pull in the posts from that category as you wish. I'll see if I can dig out a decent tutorial for this.
I did a quick search and found the following plugin for WordPress that may be of use... http://wordpress.org/extend/plugins/map-categories-to-pages/

Resources