fahimS-2
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 |
---|---|---|---|---|---|
Stop archive search form reload while pagination
Started by: fahimS-2
in: Toolset Professional Support
Problem: In my Toolset archive search, the search form reloads during pagination, undoing modifications made by jQuery. This issue particularly affects a collapsible and expandable terms feature I'm using. Solution: Adjust your jQuery code to record the state (expanded or collapsed) of each term in an array or object. Upon the ajaxComplete event, use this recorded state to maintain the terms' status after pagination. Relevant Documentation: https://www.codeproject.com/Questions/886536/Cant-find-an-element-after-I-got-it-using-Ajax-jQu |
2 | 5 | 1 year, 9 months ago | ||
Show result count
Started by: fahimS-2 in: Toolset Professional Support |
2 | 9 | 1 year, 9 months ago | ||
Show taxonomy terms differently
Started by: fahimS-2 in: Toolset Professional Support |
2 | 3 | 1 year, 9 months ago | ||
Jquery not working after Clear All Filter is clicked
Started by: fahimS-2 in: Toolset Professional Support |
2 | 7 | 1 year, 9 months ago | ||
Show custom field value after dividing it
Started by: fahimS-2 in: Toolset Professional Support |
2 | 7 | 1 year, 9 months ago | ||
Remove custom field and taxonomy search from specific archive
Started by: fahimS-2 in: Toolset Professional Support |
2 | 5 | 1 year, 9 months ago | ||
OR Logic for some taxonomies in wordpress archive
Started by: fahimS-2 in: Toolset Professional Support |
2 | 11 | 1 year, 10 months ago | ||
Collapsible checkbox query
Started by: fahimS-2 in: Toolset Professional Support |
2 | 3 | 1 year, 10 months ago | ||
Change post types of posts
Started by: fahimS-2 in: Toolset Professional Support |
2 | 9 | 1 year, 10 months ago | ||
Same form to multiple post types
Started by: fahimS-2
in: Toolset Professional Support
Problem: The user had three custom post types (cpt1, cpt2, cpt3) and a custom field group called "cf" assigned to each of them. They wanted to use the same form for all custom post types to submit data from the frontend. However, Toolset only allows a separate form for each custom post type. Solution: -Create separate forms for each custom post type (cpt1, cpt2, cpt3). - Go to Toolset > Content Templates and create a new Content Template, without assigning it to any post type (e.g., name it "conditional-logic"). [wpv-conditional if="( '[wpv-post-type]' eq 'cpt1' )"] [shortcode for the form for cpt1] [/wpv-conditional] [wpv-conditional if="( '[wpv-post-type]' eq 'cpt2' )"] [shortcode for the form for cpt2] [/wpv-conditional] [wpv-conditional if="( '[wpv-post-type]' eq 'cpt3 [/wpv-conditional] |
2 | 13 | 1 year, 10 months ago | ||
Form Validation
Started by: fahimS-2 in: Toolset Professional Support |
2 | 9 | 1 year, 10 months ago | ||
custom field value update with custom code
Started by: fahimS-2
in: Toolset Professional Support
Problem: The user needs to update the 'book-url' custom field value for all posts of the 'book' post type without having to edit each post individually. Solution: You can use a code like this: function update_book_urls($post_type, $url) { // Get all posts of the 'book' post type $args = array( 'post_type' => $post_type, 'posts_per_page' => -1, ); $book_posts = get_posts( $args ); // Loop through each post and update the 'book-url' custom field foreach ( $book_posts as $post ) { update_post_meta( $post->ID, 'wpcf-saas-deal-link', $url ); } } update_book_urls('saas', 'https://book.com'); |
2 | 5 | 1 year, 10 months ago | ||
Empty Form Value
Started by: fahimS-2 in: Toolset Professional Support |
2 | 13 | 1 year, 10 months ago | ||
Changing custom field slug
Started by: fahimS-2
in: Toolset Professional Support
Problem: I have a custom field group where I have bunch of custom fields. If I change the slugs of the custom fields, will it create any issue, like data loss of the custom fields? Solution: - we have an image field on a content template After this change, we'll check that the image displaying on the content template just disappears. Because it still thinks that the slug is 'image' - therefore, we would need to select the image field again, in order to make the system recognizes the new slug. Please check the screenshot: https://snipboard.io/rYb0Pl.jpg This will happen to any field that you change its slug. If you have several fields, you'll need to re-select all of them and maybe it would be a extensive manual work. |
2 | 5 | 1 year, 10 months ago | ||
Custom posts to home page
Started by: fahimS-2 in: Toolset Professional Support |
2 | 3 | 1 year, 10 months ago |