Sasank
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
How to edit the same post types over different pages
Iniciado por: MarcelS443 en: Toolset Professional Support |
2 | 10 | hace 6 años, 3 meses | ||
How can I use repeatable fields and other fields in the same post cred form?
1
2
Iniciado por: ErdemD1542
en: 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 | hace 6 años, 7 meses | ||
Automatically create a custom post during User registration with CRED and restrict access
Iniciado por: davidL-10
en: 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 | hace 6 años, 11 meses |
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Child posts count
Iniciado por: Sasank
en: Toolset Professional Support
Problem: Solution: https://toolset.com/forums/topic/child-posts-count/#post-1228347 Relevant Documentation: |
2 | 11 | hace 5 años, 7 meses | ||
How to display pagination for post type archive pages
Iniciado por: Sasank
en: 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 | hace 5 años, 7 meses | ||
CRED commerce order link to created post
Iniciado por: Sasank en: Toolset Professional Support |
2 | 5 | hace 5 años, 7 meses | ||
Hierarchical taxonomy order
Iniciado por: Sasank
en: 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 | hace 5 años, 8 meses | ||
Show Sponsored posts on top
Iniciado por: Sasank
en: 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 | hace 5 años, 8 meses | ||
Automatically create a custom post during User registration
1
2
3
Iniciado por: Sasank en: Toolset Professional Support |
2 | 39 | hace 5 años, 10 meses | ||
CRED form edit post link for pending post
Iniciado por: Sasank
en: 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 | hace 6 años, 3 meses | ||
recaptcha not working
Iniciado por: Sasank
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | hace 6 años, 3 meses | ||
Post edit form restricted by User relationship
Iniciado por: Sasank
en: 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 | hace 6 años, 3 meses | ||
Unable to add repeatable field group in frontend edit form
Iniciado por: Sasank
en: 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 | hace 6 años, 3 meses | ||
Relationship post data export to CSV
Iniciado por: Sasank en: Toolset Professional Support |
2 | 7 | hace 6 años, 3 meses | ||
Filter on archive not working and post title getting in loop wrong
Iniciado por: Sasank
en: 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 | hace 6 años, 4 meses | ||
Unable to show multiple map markers on archive page
Iniciado por: Sasank
en: 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 | hace 6 años, 4 meses | ||
How to link a map marker to larger Google Map with same marker
Iniciado por: Sasank
en: 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 | hace 6 años, 4 meses | ||
Markers from repeatable field group not being shown properly on map
Iniciado por: Sasank
en: 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 | hace 6 años, 4 meses |