Sasank
Support threads created in the last 30 days: 0
Favorite Forum Topics
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
How to edit the same post types over different pages
Started by: MarcelS443 in: Toolset Professional Support |
2 | 10 | 6 years, 3 months ago | ||
How can I use repeatable fields and other fields in the same post cred form?
1
2
Started by: ErdemD1542
in: Toolset Professional Support
Problem: How can I use repeatable fields and other fields in the same post CRED form? Solution: It's not currently possible to edit a post's fields and repeating fields in the same CRED form. Instead, you must create a separate form just for the repeating field group. |
2 | 17 | 6 years, 7 months ago | ||
Automatically create a custom post during User registration with CRED and restrict access
Started by: davidL-10
in: Toolset Professional Support
Problem: I have a new User CRED form that allows guests to register. When they submit the form, I would like to automatically create a custom post that includes information from the form, and I would like to restrict access to that post to the created member only. Solution: add_action('cred_save_data', 'my_save_data_action',10,2); function my_save_data_action($post_id, $form_data) { if ($form_data['id']==1234) { $my_post = array( 'post_title' => $_POST['some_custom_input'], 'post_status' => 'publish', 'post_author' => $post_id, 'post_type' => 'band-post-type-slug' ); // Insert the post into the database wp_insert_post( $my_post ); } } 1234 should be changed to match the numeric ID of your User CRED form, and 'some_custom_input' should be changed to match the name of an input containing the data you would like to use in the Band post title. The data in the $my_post array can be modified according to the wp_insert_post documentation. 2. Only allow the registered Member edit his own Band Page. Relevant Documentation: |
2 | 6 | 6 years, 12 months ago |
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Child posts count
Started by: Sasank
in: Toolset Professional Support
Problem: Solution: https://toolset.com/forums/topic/child-posts-count/#post-1228347 Relevant Documentation: |
2 | 11 | 5 years, 7 months ago | ||
How to display pagination for post type archive pages
Started by: Sasank
in: Toolset Professional Support
Problem: Solution: [wpv-pager-archive-nav-links output="bootstrap"] You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | 5 years, 7 months ago | ||
CRED commerce order link to created post
Started by: Sasank in: Toolset Professional Support |
2 | 5 | 5 years, 8 months ago | ||
Hierarchical taxonomy order
Started by: Sasank
in: Toolset Professional Support
Problem: I used code from here https://toolset.com/forums/topic/taxonomy-order-2/#post-526921. It worked well but I also need to show the taxonomy in link format at a place. I tried passing format link but it didnt work. Solution: You can try to modify the PHP codes as below: https://toolset.com/forums/topic/hierarchical-taxonomy-order/#post-1221438 Relevant Documentation: |
2 | 5 | 5 years, 8 months ago | ||
Show Sponsored posts on top
Started by: Sasank
in: Toolset Professional Support
Problem: The issue here is that the user had a Parametric Search view, but wanted to show their sponsored events at the top. Solution: It is possible to have 2 views that are controlled by the same filters This will allow for both views to be filtered. Ok so what you need to do is select the view that you want to have the filters. So you will create the search filters in that view. Secondly on the view that you want to allow the filters to work on you are going to manually add the query filters to that view. The easiest way to do this is to add the same set of frontend filters to the view and then remove them from the editor section. This will cause the actual query filters to remain. Save your view and then add both views to the same page. |
2 | 9 | 5 years, 8 months ago | ||
Automatically create a custom post during User registration
1
2
3
Started by: Sasank in: Toolset Professional Support |
2 | 39 | 5 years, 10 months ago | ||
CRED form edit post link for pending post
Started by: Sasank
in: Toolset Professional Support
Problem: How can I allow editing of post and show the link even if the status is not publish (pending or draft) Solution: It had to do with the permissions given to custom roles crated through Toolset Access plugin, see the solution: Relevant Documentation: |
2 | 6 | 6 years, 3 months ago | ||
recaptcha not working
Started by: Sasank
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | 6 years, 3 months ago | ||
Post edit form restricted by User relationship
Started by: Sasank
in: Toolset Professional Support
Problem: I would like to organize my Users by Company, and allow the Users in a Company to edit the Company post using Forms. Solution: Use a User proxy post type or a repeating custom field to link Users and Companies, then use conditional HTML to show and hide the Edit Company Form based on those values. Relevant Documentation: |
2 | 8 | 6 years, 3 months ago | ||
Unable to add repeatable field group in frontend edit form
Started by: Sasank
in: Toolset Professional Support
Problem: The issue here is that the user wanted to add the repeatable field groups to their frontend forms. Solution: Unfortunately, you're not able to add these to an edit form. You will need to create a complete separate form for the RFG fields. |
2 | 4 | 6 years, 3 months ago | ||
Relationship post data export to CSV
Started by: Sasank in: Toolset Professional Support |
2 | 7 | 6 years, 4 months ago | ||
Filter on archive not working and post title getting in loop wrong
Started by: Sasank
in: Toolset Professional Support
Problem: I have a custom post type called Companies with a repeating field group (RFG) called Company Locations. One of the fields in that RFG is an address field. On the Companies WordPress Archive page, I would like to show a Map with Markers for of all the Company Location posts. I would like to filter the Companies archive by a field in the RFG, and I would like to show a custom field from the parent Company in the marker popup. Solution: It's not currently possible to filter a View of a CPT by fields on its RFGs. To access custom fields from the Company post in a View of the RFG, use the item attribute in the shortcode with the syntax "@relationship-slug.parent". [types field='company-logo' title='[wpv-post-title]' alt='[wpv-post-title] Logo' size='custom' height='100px' width='100px' resize='proportional' item='@company-branches.parent'][/types] |
2 | 6 | 6 years, 4 months ago | ||
Unable to show multiple map markers on archive page
Started by: Sasank
in: Toolset Professional Support
Problem: The issue here is that the user's markers are not showing up on the map. Solution: In this user's case it was the wrong field that was specified for the marker. Please ensure that when you're adding a marker that the field that is used is a field that contains an address. |
2 | 8 | 6 years, 4 months ago | ||
How to link a map marker to larger Google Map with same marker
Started by: Sasank
in: Toolset Professional Support
Problem: Solution: <a href='https://www.google.com/maps/place/[types field='street-address'][/types]'>View address on Google</a> |
2 | 9 | 6 years, 4 months ago | ||
Markers from repeatable field group not being shown properly on map
Started by: Sasank
in: Toolset Professional Support
Problem: I have a repeating field group that contains address fields. I would like to show all the addresses on a map using markers, and I would also like to show the addresses as text. Some of the markers are not appearing on the map, and some addresses do not show up in text. Solution: Check the custom field slugs, in this case a slug from a different custom field was used, causing problems. |
2 | 8 | 6 years, 4 months ago |