Edward Barker
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 |
---|---|---|---|---|---|
Converting Date from Gravity Forms to Toolset
Started by: Edward Barker in: Toolset Professional Support |
2 | 3 | 4 months, 1 week ago | ||
Set search filter date picker default as text instead of a date
Started by: Edward Barker in: Toolset Professional Support |
2 | 4 | 1 year, 6 months ago | ||
Styling clicked radio buttons in CRED form
Started by: Edward Barker in: Toolset Professional Support |
2 | 8 | 1 year, 11 months ago | ||
Conditional Output based on [wpv-user field="user_registered"]
Started by: Edward Barker in: Toolset Professional Support |
2 | 2 | 2 years, 8 months ago | ||
Using AND and OR is a view filter
Started by: Edward Barker in: Toolset Professional Support |
2 | 2 | 3 years, 8 months ago | ||
Dynamically create vcard download from custom fields
Started by: Edward Barker
in: Toolset Professional Support
Problem: Is possible to create downloadable vcard file with Toolset plugins? Solution: There isn't such kind of built-in feature within Toolset plugins, it needs custom codes, for example: https://stackoverflow.com/questions/51813817/export-vcard-from-js-and-open-in-contacts Relevant Documentation: |
2 | 7 | 3 years, 9 months ago | ||
Populate custom field with post title
Started by: Edward Barker in: Toolset Professional Support |
2 | 9 | 4 years, 5 months ago | ||
Gravity Forms Checkboxes not pulling through to CRED edit form
Started by: Edward Barker in: Toolset Professional Support |
2 | 2 | 4 years, 6 months ago | ||
Searching by Post ID
Started by: Edward Barker in: Toolset Professional Support |
2 | 2 | 5 years, 6 months ago | ||
Best way to display posts from last 30 days
Started by: Edward Barker
in: Toolset Professional Support
Problem: I'm just wondering whats the best way display posts that are created within the last 31 days, 182 days and 365 days. Solution: You can try custom PHP codes, for example: https://toolset.com/forums/topic/best-way-to-display-posts-from-last-30-days/#post-1206717 Relevant Documentation: |
2 | 7 | 5 years, 9 months ago | ||
Display posts from last 30 days on custom date field
Started by: Edward Barker
in: Toolset Professional Support
Problem: Setup filter on custom date field. Solution: For the custom date fields, it does not need custom PHP codes, you can follow our document to setup the date filters within GUI, for example: Relevant Documentation: |
2 | 5 | 5 years, 9 months ago | ||
Gravity Forms Date Field Compatibility Issue
Started by: Edward Barker
in: Toolset Professional Support
Problem: I am using a form created in Gravity Forms to create new posts. I would like to capture a date using a GF date field and store it in a Types date field, but the formats are incompatible. Solution: Add some custom code to functions.php or to a new custom code snippet in Toolset > Settings > Custom code: // convert gravity forms date field to types date format add_filter("gform_post_data", 'set_my_gravity_date', 10, 3); function set_my_gravity_date($post_data, $form, $entry ) { $form_id = 12345; $types_field_slug = 'types-field-slug'; $gf_field_id = 67890; // you should not edit below this line //check if this is the right form if ( isset($form['id']) && $form['id'] == $form_id ) { // add unix timestamp for date field in meta_input $post_data['meta_input']['wpcf-' . $types_field_slug] = strtotime(rgar($entry, $gf_field_id)); } return $post_data; } You should change 12345 to match the Gravity Form ID. You can find that in the form editor. You should change types-field-slug to match the slug of your custom date field. You can find that by editing the custom field in wp-admin. Then you should replace 67890 with the numeric ID of the Gravity Forms date field. You can find that in the GF form editor when you hover over the field. Then use the Types field shortcode to display the field with whatever format you want on the frontend of the site. Relevant Documentation: |
2 | 3 | 5 years, 10 months ago | ||
Duplicate custom function for various roles.
Started by: Edward Barker
in: Toolset Professional Support
Problem: Get users from multiple roles using PHP codes. Solution: It is a custom PHP codes problem, see solution here: https://toolset.com/forums/topic/duplicate-custom-function-for-various-roles/#post-1188720 Relevant Documentation: https://developer.wordpress.org/reference/functions/get_users/ |
2 | 3 | 5 years, 11 months ago | ||
Star Rating System Using a Date Range
Started by: Edward Barker in: Toolset Professional Support |
2 | 2 | 5 years, 11 months ago | ||
Can wpv-heading be sorted as a value?
Started by: Edward Barker in: Toolset Professional Support |
2 | 9 | 5 years, 12 months ago |