Problem:
How do I create Custom templates for Custom posts, if I use only Types and can not use Content Templates or Layouts to style them?
Solution:
This is how you create Custom Templates for Types Post Types:
https://toolset.com/documentation/user-guides/creating-templates-for-single-custom-posts-in-php/
1. To create a template for the single posts of your custom post type, you need to create a file called single-post_type_name.php where post_type_name is the name of our custom post type.
2. then, you will style and code this template with Custom Code, here is more information on how you do this:
https://toolset.com/documentation/user-guides/displaying-wordpress-custom-fields/#1
https://developer.wordpress.org/reference/functions/get_template_part/
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by mayubonne 8 years ago.
Assisted by: Beda.
The forum ‘Types Community Support’ is closed to new topics and replies.