How to Show Custom Post Type on front end in Different Templates


Before this you should read the previous post that is How to add ccustome post type in wordpress

Its so easy to call the custom post types at the front end.

First we see how to show these types in a separate Template.

just add the Post casino online type in the post_type attribute in the query post function like i did.

< ?php query_posts(“posts_per_page=10&post_type=teamlogixproducts”); ?>

And the remaining query is the same one that used in every template.

How to make its category file.

Its also easy Just add a dash and the slug of the custom post type. as i did


and for single it will be



It will automatically recognized by the wordpress.

© 2020 IT Tech Developer | XML Sitemap | HTML Sitemap
Powered by T-Developers | Designed by: Shah Rukh | Thanks to Friends
rss Follow on Twitter facebook linkedin youtube google+ email