nereaD
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Cet utilisateur n'a aucun sujet favori.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Error uploading theme assets
Commencé par : nereaD dans : Toolset Professional Support |
2 | 6 | Il y a 4 années et 9 mois | ||
I can´t register a new theme
Commencé par : nereaD dans : Toolset Professional Support |
2 | 8 | Il y a 4 années et 9 mois | ||
Adding data from custom field to Woocommerce order e-mail
Commencé par : nereaD
dans : Toolset Professional Support
Problem: I would like to include information from a custom field in my WooCommerce Order email by adding some code with types_render_field(). Solution: I'm not sure how to modify these email templates, but I can explain how to use the types_render_field function. Example: [php]TRACK YOUR ORDER [php] Replace 12345 with the Order ID, or a variable or shortcode that provides that ID. Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/functions/ |
2 | 3 | Il y a 6 années et 5 mois | ||
Font Awesome not working after update
Commencé par : nereaD dans : Toolset Professional Support |
1 | 2 | Il y a 6 années et 6 mois | ||
I want to combine two menus when they collapse
Commencé par : nereaD dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 6 mois | ||
Generic select not loading custom type fields as options
Commencé par : nereaD
dans : Toolset Professional Support
Problem: When I use a View to output options for a generic select field, the select field disappears. If I copy the same output generated by the View and paste it as the value of "options" in my CRED form, the select field appears as normal. Solution: Use a filter to strip out extra characters from your View's output that may be breaking the JSON structure of your options. Add the following code in your functions.php file: add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { if ( $id == '999' ) { //Please adjust to your Views ID $start = strpos( $out, '<!-- wpv-loop-start -->' ); if ( $start !== false && strrpos( $out, '<!-- wpv-loop-end -->', $start ) !== false ) { $start = $start + strlen( '<!-- wpv-loop-start -->' ); $out = substr( $out , $start ); $end = strrpos( $out, '<!-- wpv-loop-end -->' ); $out = substr( $out, 0, $end ); } } return $out; } Be sure to replace the $id variable with your View's ID. Relevant Documentation: N/A |
2 | 3 | Il y a 7 années et 2 mois | ||
One search option per page
Commencé par : nereaD
dans : Toolset Professional Support
Problem: How can I make it with Views? Solution: |
2 | 3 | Il y a 7 années et 3 mois |