If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I have 2 questions:
1). How to create index page for my custom post type “company” (I want to have the same look as my blog, including pagination, sidebar etc…), and how to delete Auto Draft (You are here: Home / Auto Draft / Companies) from my custom post type “company”?
2). How to create grid displayed posts to have some text under the title?
We aren’t really able to help with something like that as its a completely new code extension on top of the theme code. Nick did a short video on adding the advanced layout editor to custom post types but beyond that, it sounds like the taxonomy for your custom post type may not be set up correctly.
It just comes down to us not being able to support code that isn’t ours.
You can see the video I mentioned above here: https://vimeo.com/channels/aviathemes/64996057
Thanks for your reply,
I watched this video 14 hours ago before i purchase the theme. :) I made the customization for for the advanced layout editor as it is in video, and it is working fine. I create my custom posts and now I need to index them like regular blog posts are indexed. I think that this is a small modification on the main index.php file or loop-index.php (just to tell it what category of post to sort) but I am not a php expert and i can’t figure it out how. What I want to achieve is to have HOME / COMPANIES / CUSTOM POST where COMPANIES is CPT and is showing all custom posts.
Can you please look in my code if I send you user and pass ?
You can use the “blog” element with custom taxonomies too. Select “Display entries from a custom taxonomy” and select your “Companies” taxonomy. If you want to list other post taxonomies too just add another blog element and select another taxonomy.
The topic ‘How to create index page for custom post types’ is closed to new replies.