romanB-3
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 |
---|---|---|---|---|---|
Using Layouts in Toolset Starter Theme to set up Author pages
Started by: romanB-3
in: Toolset Professional Support
Problem: I would like to use Layouts in the Toolset Starter Theme to set up Author pages. Solution: You can use the WordPress Archive cell in a Layout for Author Archives. Relevant Documentation: https://toolset.com/documentation/toolset-training-course/part-2-creating-layouts-for-archives/ |
2 | 3 | 7 years, 3 months ago | ||
Conditional display of parent post
Started by: romanB-3
in: Toolset Professional Support
Problem: I would like to display some text and a custom field from a parent post within in my child post, but only if the child post has a parent post defined. If no parent is defined, I do not want to display anything here. Solution: You can use the $parent-slug operator in a wpv-post-title or wpv-post-id shortcode to get information from a parent post type. If a parent of this post type is not defined, these fields are designed to fall back to display the child post. So, you can use a conditional that tests both IDs. If they are identical, then the parent is not defined. If they are different, then you know the parent is defined and the conditional is true. [wpv‐conditional if="( '[wpv-post-id id='$client']' ne '[wpv-post-id]' )"] [wpv-post-link id='$client'] [/wpv‐conditional] Relevant Documentation: https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/ |
2 | 3 | 7 years, 3 months ago | ||
Check on an URL Parameter with Toolset
Started by: romanB-3
in: Toolset Professional Support
Problem: Solution: As an example: [wpv-conditional if="( '[wpv-search-term param="my_term"]' ne '' )"] TEST [/wpv-conditional] The above sample code will output TEST only if the my_term URL parameter is not empty. Even if you pass no parameter at all, it still works great. Relevant Documentation: |
2 | 4 | 7 years, 3 months ago | ||
/ appearing before ‘ in cred errors
Started by: romanB-3
in: Toolset Professional Support
Problem: Solution: It will also be included in upcoming version of CRED. |
2 | 8 | 7 years, 3 months ago | ||
Limit cred form taxonomy field to only 1 checked taxonomy
Started by: romanB-3
in: Toolset Professional Support
Problem: I would like to show a single select field to pick a taxonomy term in my CRED form. Solution: Apply the display and single_select attributes to your cred_field shortcode. Example: [cred_field field='category' display='select' single_select='true' output='bootstrap'] Relevant Documentation: https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field |
2 | 3 | 7 years, 3 months ago | ||
Insert SVG in Layout
Started by: romanB-3
in: Toolset Professional Support
Problem: Solution: - Renamed wordfence-waf.php file to exclude it from disturbing WP core files. Updated .user.ini file as its related with this file. |
2 | 13 | 7 years, 3 months ago | ||
Redirect when disconnect
Started by: romanB-3 in: Toolset Professional Support |
1 | 2 | 7 years, 3 months ago | ||
Make a child post select required in a cred form
Started by: romanB-3
in: Toolset Professional Support
Problem: Solution: Example CRED shortcode looks like this: [cred_field field='post_parent' value='' order='date' ordering='desc' required='true' select_text='--- not set ---' validate_text='property must be selected' class='form-control' output='bootstrap'] |
2 | 5 | 7 years, 3 months ago | ||
3 times the same cred save data function, but only the 2 first work !
Started by: romanB-3
in: Toolset Professional Support
Problem: I have 3 cred_save_data hooks that are used to update a custom field, but they do not seem to be working as expected. Solution: Check to be sure the update_post_meta call is operating correctly. In this case, the 4th parameter was set as "true", which was causing problems with the update process. Relevant Documentation: https://codex.wordpress.org/Function_Reference/update_post_meta |
2 | 3 | 7 years, 4 months ago | ||
Set redirection when page is access restricted
Started by: romanB-3 in: Toolset Professional Support |
2 | 17 | 7 years, 10 months ago |