Akhil
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Force Strong Password in User Forms
Iniciado por: peterS-14
en: Toolset Professional Support
Problem: I would like to see password strength meters in CRED. WordPress offers a way to use their password strength meters, and it makes sense that CRED would offer the same feature. Solution: A feature request to implement these strength meters has been submitted to our developers. |
5 | 7 | hace 4 años, 10 meses | ||
Enforce strong passwords
Iniciado por: julieP
en: Toolset Professional Support
Problem: The issue here is that the customer wanted to enforce a strong password on users who are registering for their site. A feature request to implement these strength meters has been submitted to our developers. |
2 | 5 | hace 6 años, 3 meses | ||
Display parent post url using post reference
Iniciado por: vimalS
en: Toolset Professional Support
Problem: I have two CPTs, "Landing Pages" and "Services". on the Landing Page CPT, I have a post reference field to link to a Service post. I have created a View of all Services, and I would like to display a link to the related Landing Page. Solution: Use the post selection tab of the post link dialog to select the reference post. Modify the shortcode to select the proper relationship reference: [wpv-post-url item="@eh-linked-service-or-service-provider.child"] |
2 | 3 | hace 6 años, 3 meses | ||
How to use accordions in a View output with the first accordion open
Iniciado por: Ljuba
en: Toolset Professional Support
Problem: Solution: The changes required so that the first accordion is open when the page loads are described here: https://toolset.com/forums/topic/split-displaying-terms-in-accordion-style-list-with-embedded-view/#post-959872 |
2 | 6 | hace 6 años, 4 meses | ||
Customising Search Form Using Maps Distance Filter (Q1)
Iniciado por: julieP
en: Toolset Professional Support
Problem: Solution: #toolset-maps-distance { display: none !important; } Currently there is no native feature available to change the mi option value but as a workaround you can use the following javascript code and add it to JS box and try to resolve your issue. jQuery(document).ready(function($){ $('#toolset-maps-distance option[value=mi]').text('Miles') }); Relevant Documentation: |
2 | 6 | hace 6 años, 4 meses | ||
Social Share Button duplicated everywhere in the page
Iniciado por: Miranda en: Toolset Professional Support |
3 | 9 | hace 6 años, 5 meses | ||
Relevanssi allows users to see other users private posts
1
2
Iniciado por: rayG-2
en: Toolset Professional Support
Problem: Relevanssi doesn’t actually check the what the capability to read private posts is called, but instead assumes it’s read_private_slugs, where slug is the name of the post type. Solution: |
3 | 17 | hace 6 años, 7 meses | ||
Displaying image, link, and name of a taxonomy
Iniciado por: lauraC2426
en: Toolset Professional Support
Problem: The issue here is that the user had his custom meta image field for his taxonomy but wanted to make that image clickable on the frontend. Solution: To do this just follow the method in the example. <a href='[wpv-taxonomy-url]'> [types termmeta='image' title='%%TITLE%%' size='full'][/types]</a> |
2 | 5 | hace 6 años, 8 meses | ||
Auto-generate Post Title from custom field values
Iniciado por: larryB-3
en: Toolset Professional Support
Problem: Solution: /** * Auto-generate post title */ function tssupp_autogenerate_title( $post_id, $post ){ if ( 'owner' == $post->post_type ) { $first_name = get_post_meta( $post_id, 'wpcf-first-name', true ); $last_name = get_post_meta( $post_id, 'wpcf-last-name', true ); $new_title = $first_name . " " . $last_name; $new_title = sanitize_text_field( $new_title ); $new_slug = sanitize_title( $new_title ); $args = array( 'ID' => $post_id, 'post_title' => $new_title, 'post_name' => $new_slug ); wp_update_post( $args ); } } add_action( 'save_post', 'tssupp_autogenerate_title', 10, 2 ); Relevant Documentation: |
2 | 7 | hace 6 años, 10 meses | ||
Auto detect CPT for widget.
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply. Relevant Documentation: |
2 | 8 | hace 7 años | ||
Font Awesome not working after update
Iniciado por: nereaD en: Toolset Professional Support |
1 | 2 | hace 7 años, 1 mes | ||
custom code to hide a accordion depending on selection
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: //display tenure only when select 'For Sale' function display_tenture(){ $("div[data-target='#collapse-tenure']").parent('div.panel-info').hide(); //hide Tenure $('select[name="property-type"]').change(function(){ if(this.value == 'For Sale') { $("div[data-target='#collapse-tenure']").parent('div.panel-info').show(); //show Tenure } else{ $("div[data-target='#collapse-tenure']").parent('div.panel-info').hide(); //hide Tenure } }); //display tenure when select 'for Sale' on page loaded if($('select[name="property-type"]').val() == 'For Sale'){ $("div[data-target='#collapse-tenure']").parent('div.panel-info').show(); //show Tenure } } |
2 | 7 | hace 7 años, 1 mes | ||
Modify a pagination script
Iniciado por: Rune Brynestad en: Toolset Professional Support |
2 | 12 | hace 7 años, 2 meses | ||
The no_protocol property does not work with image fields
Iniciado por: DM en: Types Community Support |
2 | 9 | hace 7 años, 2 meses | ||
Redirect a taxonomy to a static WordPress
Iniciado por: Javier Félix Hernández Márquez
en: Types Community Support
Problem: Solution: function custom_post_taxonomy_fun( $atts ) { extract(shortcode_atts( array( 'site_url' => home_url(), 'taxonomy_slug' => '', 'taonomy_name' => '', ), $atts )); $content = ''; if($taxonomy_slug != '' && $taonomy_name != '') { $tax_slug_array = explode(',', $taxonomy_slug); $tax_name_array = explode(',', $taonomy_name); for($i=0; $i < count($tax_slug_array); $i++) { if($i != 0) $content .= ', '; $content .= '<a href="'.$site_url.trim($tax_slug_array[$i]).'">'.$tax_name_array[$i].'</a>'; } } return $content; } add_shortcode( 'custom_post_taxonomy', 'custom_post_taxonomy_fun' ); 2. Then use this shortcode in Content Template like this: [custom_post_taxonomy taxonomy_slug="[wpv-post-taxonomy type='autor' format='slug']" taonomy_name="[wpv-post-taxonomy type='autor' format='name']" site_url="http://borrador.editorial-zech.es/"] |
2 | 5 | hace 7 años, 2 meses |