HashimW3633
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Empty array when I query related posts using toolset_get_related_posts
Started by: HashimW3633
in: Toolset Professional Support
Problem: I am trying to use the toolset_get_related_posts API to display some related posts, but when I echo the results I see "Array". I should see posts. Solution: The results returned by the API will be an array of post objects. If you try to echo those directly, you will see "Array". You can loop over those objects with a foreach, or you can inspect them using print_r. Relevant Documentation: |
2 | 5 | 6 years, 4 months ago | ||
Shortcode not displaying parent post ID
Started by: HashimW3633
in: Toolset Professional Support
Problem: Solution: Example shortcode: [wpv-post-body view_template="ct-for-course-parent"] |
2 | 7 | 7 years, 3 months ago | ||
Turning dashes into spaces
Started by: HashimW3633
in: Types Community Support
Problem: wpv-search-term Solution: add_shortcode('dash2space', 'dash2space_func'); function dash2space_func($atts, $content){ $content = do_shortcode($content); $content = str_replace('-', ' ', $content); return $content; } 2) Use above shortcode [dash2space], like this: [dash2space] ...wpv-search-term param="type"... [/dash2space] Relevant Documentation: |
2 | 4 | 7 years, 3 months ago | ||
Query Filter, Shortcode Attribute, Nesting Shortcodes
Started by: HashimW3633 in: Toolset Professional Support |
2 | 9 | 7 years, 3 months ago | ||
The ID for an image is displaying, not the image
Started by: HashimW3633
in: Toolset Professional Support
Problem: I am using a Types shortcode to display an image from a custom field created in Advanced Custom Fields. Instead of the image tag, I am seeing a number. Solution: Use ACF's shortcodes to access their image fields instead of Types shortcodes. |
2 | 3 | 7 years, 3 months ago | ||
Toolset says a content template is already assigned to my custom post type
Started by: HashimW3633 in: Types Community Support |
2 | 4 | 7 years, 6 months ago | ||
Listing custom posts
Started by: HashimW3633 in: Types Community Support |
2 | 2 | 7 years, 6 months ago | ||
No slug – is that an option?
Started by: HashimW3633 in: Types Community Support |
2 | 2 | 7 years, 7 months ago |