Custom post type
-
Hello, I have 2 questions about custom post type.
1. I have created a custom post type, and i have deleted the exisitng fields for a regular post(title, and the big text area for your post), and have created my own fields which are all mandatory, 1 of them is Name.
What happens when i create a new post of my custom post type is that I see all of them titled as Auto Draft, i assume this happens since I dont have the title field any more, so my quesion is, how can I set it to display the Name field in the list of posts instead of this “Auto Draft”.2. I would like to separate the categories for my custom post type and the regular posts, meaning I will have a list of categories for Post, and a diffrent list of categories for my custom post, and if so, how would I loop through the categories of only the custom post type.
I hope I was clear with my questions.
Thanks in advance,
Gabi.
- The topic ‘Custom post type’ is closed to new replies.