martink-8
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 |
---|---|---|---|---|---|
SQL query to fetch data from different post type based on post relationships
Started by: martink-8 in: Toolset Professional Support |
2 | 3 | 3 years, 3 months ago | ||
Create a single table view with data from multiple post types
Started by: martink-8
in: Toolset Professional Support
Problem: I want to create a table structure with sort able column heads to contain data from five different post types . Solution: Toolset Blocks plugin is using WordPress class WP_Query to query post data, according to WP document: https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters In order to sort the results, all custom fields should be in same post type. So there isn't such kind of built-in feature within Toolset Relevant Documentation: |
3 | 5 | 3 years, 3 months ago | ||
Generate a meaningful unique ID
Started by: martink-8 in: Toolset Professional Support |
2 | 6 | 3 years, 3 months ago | ||
Export custom post type data to csv and include related post information
Started by: martink-8
in: Toolset Professional Support
Problem: I have two custom post types in a one-to-many post relationship. Province is the parent (one) and District is the child (many). I would like to generate an export CSV that includes each District title and its parent Province title. Solution: Go to wp-admin > All Export > New Export. The first step is to choose a specific post type, and choose District as that post type. Then click "customize export file" to move on to the next step. Usually ID, Title and Content are already in place in the builder. You can drag the ID and Content blocks out of the box since you don't want to include those items. Next click "Add Field" below the builder area to add a new custom column for the Province Title. Choose the option to select a field to export, and select the ID field. You may need to reset the column name information after choosing the ID field. Check the checkbox to export a value from a PHP function, type prov_parent_title in the function name field, and paste this function in the function editor to define the custom prov_parent_title function: Relevant Documentation: https://toolset.com/forums/topic/export-custom-post-type-data-and-related-repeatable-field-group-data/ |
2 | 5 | 3 years, 3 months ago | ||
Creating a conditional drop down in a form based on post relationships created
Started by: martink-8 in: Toolset Professional Support |
2 | 4 | 3 years, 3 months ago |