Pat
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Toolset Views inside Divi
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the user's bootstrap output on views was not showing correctly. Solution: This might be because bootstrap isn't being loaded on the site. What i recommend that you do is go to Toolset > setting > Bootstrap loading and enable bootstrap 3 |
2 | 3 | hace 6 años, 2 meses | ||
Views shortcode and passing multi argument
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: For example: [wpv-views name"displesson" lessontype=" Adults,Kids"], Relevant Documentation: |
2 | 4 | hace 6 años, 2 meses | ||
Filtering post by date field
Iniciado por: Pat en: Toolset Professional Support |
1 | 2 | hace 6 años, 2 meses | ||
Hierarchical taxonomies
Iniciado por: Pat en: Toolset Professional Support |
2 | 9 | hace 6 años, 3 meses | ||
Exact search matching
Iniciado por: Pat en: Toolset Professional Support |
2 | 2 | hace 6 años, 4 meses | ||
How to integrate a link to previous and next post inside a Forms (modification)
1
2
Iniciado por: Pat
en: Toolset Professional Support
Problem: I have a Form that is uesd to edit posts. I would like to include a next and previous post link so that I can edit the next or previous post easily without returning to a list of posts. Solution: Create a paginated, filtered View that displays only 1 post, using AJAX pagination updates. In the Loop Output editor for this View, place an Edit Post Form. Place this View on a custom Page. In another custom Page, place a filtered View that shows all the posts. Next to each post, create a custom edit post link that directs the User to the other custom Page, using a pagination URL parameter based on the loop iteration. add_shortcode( 'loop-iteration', function( $atts ){ global $loop_n; if ( !isset( $loop_n ) ) { $loop_n = 1; return $loop_n; } $loop_n++; if ( !isset( $atts['n'] ) ) { // no nth parameter, just return the current index return $loop_n; } else { $remainder = ( $loop_n + 1 ) % $atts['n']; return ( $remainder == 0 ); } }); <a href="/view-2-page?wpv_paged=[loop-iteration]">[wpv-post-title]</a> |
3 | 18 | hace 6 años, 4 meses | ||
Add a Bootstrap Glyphicon in the submit text
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the user wanted to add a Glyphicon to the toolset forms submit button. Solution: You will possibly need to use the method below in order to achieve it. |
2 | 9 | hace 6 años, 4 meses | ||
Conditional output based on child post
1
2
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 16 | hace 6 años, 4 meses | ||
Image rotation in Cred frontend
Iniciado por: Pat en: Toolset Professional Support |
2 | 9 | hace 6 años, 5 meses | ||
Add the paypal IPN, order number, and payment date to a notification
Iniciado por: Pat
en: Toolset Professional Support
Problem: I would like to add the PayPal IPN, the WooCommerce Order ID, and the payment date to a Forms email notification. Solution: add_filter('cred_body_notification_codes', 'custom_generic_field_notification'); add_filter('cred_subject_notification_codes', 'custom_generic_field_notification'); function custom_generic_field_notification( $defaultPlaceHolders ) { $order_id = ''; $completed_date = ''; $date_format = 'Y-m-d'; if( isset($_REQUEST['post'][0])) { $order_id = $_REQUEST['post'][0]; $completed_date = date($date_format, get_post_meta($order_id, '_date_completed', true)); } $newPlaceHolders = array( '%%ORDER_ID%%' => $order_id, '%%COMPLETED_DATE%%' => $completed_date, ); return array_merge($defaultPlaceHolders, $newPlaceHolders ); } I'm not sure how the PayPal IPN is stored in the database, but you can use the Order ID to query postmeta as needed. Relevant Documentation: |
2 | 7 | hace 6 años, 5 meses | ||
Conditional display of the submit button in a CRED user form
Iniciado por: Pat
en: Toolset Professional Support
Problem: I would like to hide the "submit" button in a CRED form using a conditional that tests whether or not other fields are filled in. Solution: Use the CRED conditional group feature in the Generic Fields button to set up front-end conditional display in a CRED form. Relevant Documentation: |
2 | 5 | hace 6 años, 6 meses | ||
Current post title in CRED notification
Iniciado por: Pat
en: Toolset Professional Support
Problem: I have a CRED form that creates new posts. I have placed the form in a template and I would like to capture the title of the post where the CRED form is shown, and include that in an email notification. Solution: You can use a generic field in the CRED form and set the value of the generic field to the title of the current post: [cred_generic_field field='currentpagetitle' type='hidden' class='' urlparam=''] { "required":0, "validate_format":0, "default":"[wpv-post-title id='$current_page']", "persist":1 } [/cred_generic_field] Then you can access the currentpagetitle field in an email notification using a custom placeholder %%CURRENT_PAGE_TITLE%% by adding the following code to functions.php: add_filter('cred_body_notification_codes', 'custom_generic_field_notification'); add_filter('cred_subject_notification_codes', 'custom_generic_field_notification'); function custom_generic_field_notification( $defaultPlaceHolders ) { $newPlaceHolders = array( '%%CURRENT_PAGE_TITLE%%' => $_REQUEST['currentpagetitle'] ); return array_merge($defaultPlaceHolders, $newPlaceHolders ); } Relevant Documentation: |
2 | 3 | hace 6 años, 6 meses | ||
Retreive relationship between order / product and CRED commerce postype
Iniciado por: Pat en: Toolset Professional Support |
2 | 4 | hace 6 años, 6 meses | ||
Run installer notice in the admin area does not suppress
Iniciado por: Pat en: Toolset Professional Support |
2 | 5 | hace 6 años, 6 meses | ||
Product category name not appearing in the archive category product page
Iniciado por: Pat en: Toolset Professional Support |
2 | 4 | hace 6 años, 6 meses |