Akhil
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Force Strong Password in User Forms
Commencé par : peterS-14
in: 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 | Il y a 4 années et 10 mois | ||
Enforce strong passwords
Commencé par : julieP
in: 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 | Il y a 6 années et 3 mois | ||
Display parent post url using post reference
Commencé par : vimalS
in: 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 | Il y a 6 années et 3 mois | ||
How to use accordions in a View output with the first accordion open
Commencé par : Ljuba
in: 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 | Il y a 6 années et 4 mois | ||
Customising Search Form Using Maps Distance Filter (Q1)
Commencé par : julieP
in: 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 | Il y a 6 années et 4 mois | ||
Social Share Button duplicated everywhere in the page
Commencé par : Miranda in: Toolset Professional Support |
3 | 9 | Il y a 6 années et 5 mois | ||
Relevanssi allows users to see other users private posts
1
2
Commencé par : rayG-2
in: 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 | Il y a 6 années et 8 mois | ||
Displaying image, link, and name of a taxonomy
Commencé par : lauraC2426
in: 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 | Il y a 6 années et 8 mois | ||
Auto-generate Post Title from custom field values
Commencé par : larryB-3
in: 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 | Il y a 6 années et 10 mois | ||
Auto detect CPT for widget.
Commencé par : Akhil
in: Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply. Relevant Documentation: |
2 | 8 | Il y a 7 années | ||
Font Awesome not working after update
Commencé par : nereaD in: Toolset Professional Support |
1 | 2 | Il y a 7 années et 1 mois | ||
custom code to hide a accordion depending on selection
Commencé par : Akhil
in: 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 | Il y a 7 années et 1 mois | ||
Modify a pagination script
Commencé par : Rune Brynestad in: Toolset Professional Support |
2 | 12 | Il y a 7 années et 2 mois | ||
The no_protocol property does not work with image fields
Commencé par : DM in: Types Community Support |
2 | 9 | Il y a 7 années et 2 mois | ||
Redirect a taxonomy to a static WordPress
Commencé par : Javier Félix Hernández Márquez
in: 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 | Il y a 7 années et 2 mois |