himanshuS
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 | ||||
---|---|---|---|---|---|---|---|---|---|
Unable to Query Posts Using Custom Fields
Started by: himanshuS in: Toolset Professional Support |
1 | 2 | 4 years, 2 months ago | ||||||
How to get author picture stored in custom image field?
Started by: himanshuS
in: Toolset Professional Support
Problem: I would like to display an iamge stored in a Types User Field, but the Views shortcodes wpv-user and wpv-post-author don't seem to be working correctly. Solution: Use the Types Field API types_render_usermeta or the Types Field shortcode to display an image from a Types User Custom Field. Shortcode example:
PHP API example:
Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/functions/#image |
|
2 | 4 | 4 years, 3 months ago | |||||
How to make a field read only on post form?
Started by: himanshuS
in: Toolset Professional Support
Problem: Solution:
Relevant Documentation: |
|
2 | 9 | 4 years, 3 months ago | |||||
Best practice when deleting posts related to other posts
Started by: himanshuS
in: Toolset Professional Support
Problem: Solution: - Simple way(if users interact with the system only from the frontend). Wrap the delete link of a post inside a conditional shortcode. The conditions should check if the post has any related posts in different relationships. We have published a snippet that actually deletes the related posts when a post is deleted, it may inspire you if you want to implement the custom code solution https://kb.onthegosystems.com/code-snippet/automatically-delete-child-posts-when-parent-is-deleted/ |
|
2 | 5 | 4 years, 3 months ago | |||||
See User Profile after Registering User with Cred
1
2
Started by: himanshuS in: Toolset Professional Support |
|
2 | 33 | 4 years, 3 months ago | |||||
Add custom post dynamically to menu
Started by: himanshuS in: Toolset Professional Support |
1 | 2 | 4 years, 3 months ago | ||||||
Unable to send email with trigger – when post is published
Started by: himanshuS in: Toolset Professional Support |
|
2 | 12 | 4 years, 3 months ago | |||||
Show only terms created by current user in taxonomy dropdown on the form
Started by: himanshuS
in: Toolset Professional Support
Problem: I have a Form used to create posts. There is a taxonomy field in the Form so Users can choose which term(s) to apply to the new post. I would like to display only terms that were created by the current logged-in User. Solution: Since WordPress does not natively track the author of each term, you must programmatically add that term author ID in a custom field associated with each term when the term is created. Once that custom field value is added successfully, you can then use the get_terms hook to filter the terms available in the taxonomy field options. Here is an example of the code:
Relevant Documentation: |
|
2 | 10 | 4 years, 3 months ago | |||||
Display custom taxonomy used by current user?
Started by: himanshuS
in: Toolset Professional Support
Problem: I have two taxonomies: 1) skill categories and , 2) industry categories. Skill categories and industry have multiple terms defined in them. Say 20 in skills and 5 in industry. There are 5 CPTs that use the above two taxonomies. When users submit custom posts for these 5 CPTs, they add terms from the two custom taxonomies. Solution: You might consider below workaround: Nested views: https://toolset.com/forums/topic/display-custom-taxonomy-used-by-current-user/#post-1884635 Relevant Documentation: |
|
2 | 9 | 4 years, 3 months ago | |||||
URL custom field does not take address with http:// or https://
Started by: himanshuS in: Toolset Professional Support |
|
2 | 5 | 4 years, 3 months ago | |||||
Unable to restrict taxonomy dropdown selection limit
Started by: himanshuS in: Toolset Professional Support |
|
2 | 5 | 4 years, 3 months ago | |||||
Blank field in taxonomy dropdown
Started by: himanshuS in: Toolset Professional Support |
|
2 | 4 | 4 years, 3 months ago | |||||
Custom dropdown for relationship field based on user role
Started by: himanshuS
in: Toolset Professional Support
Problem: Customize parent selector dropdown of post form by user roles. Solution: There isn't such kind of built-in feature within Toolset Forms, you might consider custom codes to setup a HTML select dropdown to replace it. Relevant Documentation: |
|
2 | 3 | 4 years, 3 months ago | |||||
Where is parent post id stored in DB for O2O relationship
Started by: himanshuS
in: Toolset Professional Support
Problem: 1) get related posts using custom PHP codes. 2) Where is parent post id stored in DB for O2O relationship Solution: Please follow our document to setup your custom PHP codes: If there are multiple related posts(O2M and M2M relationships), please check function toolset_get_related_posts() And the post relationship data are saved in your database tables: - wp_toolset_associations Relevant Documentation: |
|
2 | 6 | 4 years, 3 months ago | |||||
How to edit a draft post and the published post on the same page
Started by: himanshuS in: Toolset Professional Support |
|
2 | 2 | 4 years, 3 months ago |