thibaultS
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 |
---|---|---|---|---|---|
Summing and counting related custom post type
Started by: thibaultS in: Toolset Professional Support |
2 | 4 | 9 months, 3 weeks ago | ||
User form with pre filled values
Started by: thibaultS in: Toolset Professional Support |
2 | 3 | 4 years, 10 months ago | ||
countdown not correct
Started by: thibaultS in: Toolset Professional Support |
2 | 4 | 5 years, 1 month ago | ||
Customisable contact form
Started by: thibaultS in: Toolset Professional Support |
2 | 2 | 5 years, 3 months ago | ||
Is it possible to use the new Block editor for a single page
Started by: thibaultS in: Toolset Professional Support |
2 | 3 | 5 years, 4 months ago | ||
Retrieve all posts of the current referenced field
Started by: thibaultS
in: Toolset Professional Support
Problem: The issue here is that the user wanted to display all the posts using a view that had the same post reference in the post reference field Solution: From here you will set the filter to get the value from a shortcode attribute. So when I add my view to the page I can do this. [wpv-view name='my-view' reference="[types field='my-field'][/types]"] So all you need to do is replace "[types field='my-field'][/types]" with the correct shortcode for your reference field. |
2 | 3 | 5 years, 4 months ago | ||
Can't store a post reference with toolset form
Started by: thibaultS in: Toolset Professional Support |
2 | 3 | 5 years, 4 months ago | ||
Synchronize the post published and updated date with a date custom field
Started by: thibaultS in: Toolset Professional Support |
2 | 3 | 5 years, 4 months ago | ||
Layout and Bootstrap 4
Started by: thibaultS in: Toolset Professional Support |
2 | 4 | 5 years, 4 months ago | ||
Can’t set custom content value for specific post
Started by: thibaultS
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 18 | 6 years, 6 months ago | ||
Specifice for to hide/show fields
Started by: thibaultS in: Toolset Professional Support |
2 | 4 | 6 years, 8 months ago | ||
Link to a page with translation from a view
Started by: thibaultS
in: Toolset Professional Support
Problem: The issue here is that the user had hardcoded a link into his page but when the user switched his language the link was pointing to the incorrect translation. Solution: The main reason for this is the hardcoding of the link. The user needed some way to switch the link based on translation. I was able to write up a custom shortcode to help with this. Add it to your functions.php file. // Add Shortcode function current_language() { return ICL_LANGUAGE_CODE; } add_shortcode( 'current_language', 'current_language' ); To use this you just need to write [current_language] and it will return the current language code. Now you need to use this in our conditional shortcode to switch between the links. [wpv-conditional if="( '[current_language]' eq 'fr' )"] French Link [/wpv-conditional] This will be almost the same for the second language just that you will replace the fr and the french link with the german alternatives. For this to work in the conditional shortcode you need to add the text 'current_language' to the views 3rd party shortcode arguments in Toolset -> Settings -> Frontend Content |
2 | 9 | 6 years, 8 months ago | ||
Wrong permalink with custom post type
Started by: thibaultS in: Toolset Professional Support |
2 | 2 | 6 years, 8 months ago | ||
Specific contact form
1
2
Started by: thibaultS
in: Toolset Professional Support
Problem: I created a custom type named 'member' with a field named 'mail'. I want to display after the member content (of each member) a form with subject, email of the sender and body inputs. When submitting this form an email will be sent to the member using his e-mail address (field 'mail'). Solution: <div style="display:none;">[cred_generic_field field='member-email' type='email' class='' urlparam=''] { "required":0, "validate_format":0, "persist":1, "default":"[wpv-post-field name='wpcf-mail' id='$current_page']" } [/cred_generic_field]</div> - Insert any other information you want the email to include using Types and Views shortcodes. Relevant Documentation: |
2 | 23 | 6 years, 8 months ago | ||
Show all posts regardless of language
Started by: thibaultS
in: Toolset Professional Support
Problem: I have a View that shows posts, but only the posts from a single language. I would like to show all the posts from all the languages. Solution: If the posts are created in the default site language, you can use the option "use translation if available or fallback to default language" in Multilingual Content Setup. If the posts are created in a secondary language, you must translate those posts or use custom code to copy them into the default language. Relevant Documentation: |
2 | 3 | 6 years, 8 months ago |