Types is a WordPress plugin that lets you easily create custom post types and add your own types of data to your website through the WordPress admin screen. You can also associate the content types with taxonomies and fields.
When you ask for help or report issues, make sure to tell us what you have created so far and what you want to achieve.
Viewing 15 topics - 1,216 through 1,230 (of 1,519 total)
Problem:
Get some suggestion message when you edit a custom post which is created with Types plugin, for example:
"Your theme doesn’t have a template to display Artists".
Solution:
Q1) Toolset continues to suggest there is an issue "Your theme doesn’t have a template to display Artists".
That is only a suggestion, you can setup a content template for single "Artists" post, see our document:
Content Templates – Custom Designs for Single-Pages without PHP https://toolset.com/documentation/user-guides/view-templates/
Q2) Also, if the option "has_Archive" is checked, a further warning "Your theme is missing the standard Archive for Artists"
Same as above, there is a built-in feature "Wordpress archive" within Views plugin, which works for the archive page of custom post type, see our document:
WordPress Archive – Customizing the Appearance of Archive Pages https://toolset.com/documentation/user-guides/normal-vs-archive-views/
Problem:
Q1. Do you suggest put that like a taxonomy of lessons, or like a custom field?
Q2. I want to put an image to represent the difficult of the lesson. How can I relacionet a image to the taxonomy or custom field. In order that is the lesson is Basic, in the web lesson apears the "basic icon image", not the word "basic". The same with intermdiate, but other image, and the same with advanced. Solution:
A1) Since you are going to setup it as a single choice field, I suggest you setup it as a custom select field,
A2) If you setup it as a custom field, then you can display different image for different "difficult option" with Views shortcode [wpv-conditional], see our document: https://toolset.com/documentation/views-shortcodes/#wpv-conditional
Checking a custom field:
[wpv–conditional if="( $(test-custom-field) eq 'my value' )"]This field has value "my value"[/wpv–conditional] Relevant Documentation: https://toolset.com/documentation/views-shortcodes/#wpv-conditional
Problem:
In the admin edit screens, the count of terms is wrong, when a taxonomy (and its terms) are shared among several CPTs.
The custom taxonomy is shared among 5 custom post types, but when checking a specific CPT taxonomy, the post count of each term is for ALL CPTs instead of the count for that specific CPT. Solution:
In the wordpress back-end, the post count of term is outputted from your database table "wp_term_taxonomy", the value of column "count", which will count posts in all post types, so it isn't a bug, but an expected result:
the post count of each term is for ALL CPTs Relevant Documentation:
Problem:
I have created a non-hierarchical custom post type. Until recently, when I re-ordered a Toolset CPT using Post Types Order (with menu order selected in the view), there was no problem. Now, a CPT view displays correctly on the front end the first time I re-order the items, but then it stops working completely on the front end, no matter how many times I attempt to re-order items.
Post Types Order works fine when ordering standard WP posts, but not Toolset custom post type.
render a View (via php) is:
Solution:
This doesn't work properly with the Post Types Order plugin any more. When I set up a test site, I used the Types & Views button to place a View into the content editor - which worked. The only difference between that and my short code was the addition of:
order="asc" (or desc).
By adding this to my short code, the ordering worked perfectly: