Akhil
Support threads created in the last 30 days: 0
Favorite Forum Topics
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Redirect a taxonomy to a static WordPress
Started by: 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 | 6 years, 8 months ago | ||
How to customize error messages of the Toolset login and reset password links?
Started by: marcB-6
in: Toolset Professional Support
Problem: Solution: wpv_filter_override_auth_errors Example: add_filter( 'wpv_filter_override_auth_errors', 'custom_wpv_override_auth_errors', 30, 3 ); function custom_wpv_override_auth_errors( $message, $class = '', $code = '' ) { switch( $code ) { case 'invalid_key'; $message = __( 'CUSTOM VALUE', 'wpv-views' ); break; case 'invalidcombo'; $message = __( 'CUSTOM VALUE', 'wpv-views' ); break; } return $message; } Relevant Documentation: |
2 | 14 | 6 years, 8 months ago | ||
Create a date separator in a view
Started by: stuart in: Toolset Professional Support |
2 | 4 | 6 years, 8 months ago | ||
Custom fields content not updating after adding SSL
Started by: daveM
in: Types Community Support
Problem: Solution: 2. Now, before checking the Custom fields on front page, please clear all sort of caches in your site plugin cache (if any) / CDN cache (if any) / browser cache. Other way to reload the images in the Custom fields, is to manually re-add the images in the post. |
2 | 3 | 6 years, 8 months ago | ||
Please help with URL parameters
Started by: keithT-3
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 7 | 6 years, 9 months ago | ||
problem : Searching Texts in Custom Fields with Views and Relevanssi.
Started by: insooJ in: Toolset Professional Support |
2 | 7 | 6 years, 9 months ago | ||
There’s a bug when using Layouts plugin with the Elementor Builder
Started by: mohamed-saadC
in: Toolset Professional Support
Problem: Solution: This is the solution: 1. We are providing a filter to easily turn off the filter when needed: apply_filters( 'ddl_apply_the_content_filter_in_cells', true, $this ) 2. The best solution is to use this custom solution which you can apply when you really need it (you can even define it based on conditions), in functions.php: add_filter( 'ddl_apply_the_content_filter_in_cells', 'my_override_to_content_filter' ); function my_override_to_content_filter( $bool, $cell ){ $content = $cell.get('content'); if( strpos( $content, 'find me') ){ $bool = false; } return $bool; } |
4 | 8 | 6 years, 9 months ago | ||
Need code to auto generate nice title
Started by: Brad Tipper in: Toolset Professional Support |
2 | 6 | 6 years, 10 months ago | ||
How to get a lightbox effect
Started by: russellH-3
in: Toolset Professional Support
Problem: I would like to show a grid of featured images that trigger a lightbox-style overlay when you click one. Solution: <a href="[wpv-post-featured-image output='url' size='full']" data-lightbox="gallery" showImageNumberLabel="false" alwaysShowNavOnTouchDevices="true" data-title="[wpv-post-featured-image output='caption']">[wpv-post-featured-image output='img' size="custom" width="300" height="300" crop="true"]</a> Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-featured-image |
3 | 7 | 6 years, 11 months ago | ||
Slider with lightbox inside single post.
1
2
Started by: Akhil in: Toolset Professional Support |
2 | 21 | 6 years, 11 months ago | ||
CRED form is not showing from which page the inquiry has been posted
Started by: indianplayschools
in: Toolset Professional Support
Problem: I have a CRED form that appears on a custom post type single post. When the CRED form is submitted, I have an email notification set up. In this notification, I would like to include a link to the single post page. Solution: Use generic fields in your CRED form to capture the current page title and link: [cred_generic_field field='currentpagetitle' type='hidden' class='' urlparam=''] { "required":0, "validate_format":0, "persist": 1, "default":"[wpv-post-title id='$current-page']" } [/cred_generic_field] [cred_generic_field field='currentpageurl' type='hidden' class='' urlparam=''] { "required":0, "validate_format":0, "persist": 1, "default":"[wpv-post-url id='$current-page']" } [/cred_generic_field] - Add the following code to functions.php to enable your custom placeholders: function custom_generic_field_notification( $defaultPlaceHolders ) { $newPlaceHolders = array( '%%FORCED_PARENT_TITLE%%' => $_REQUEST['currentpagetitle'], '%%FORCED_PARENT_URL%%' => $_REQUEST['currentpageurl'] ); return array_merge($defaultPlaceHolders, $newPlaceHolders ); } - Add the title and link placeholders to your email: <a href="%%FORCED_PARENT_URL%%">%%FORCED_PARENT_TITLE%%</a> Relevant Documentation: https://toolset.com/documentation/user-guides/how-to-use-custom-placeholders-in-cred-notifications/ |
2 | 16 | 7 years ago | ||
Dequeue unwanted scripts and embedded snippets
Started by: AndyS4926 in: Toolset Professional Support |
2 | 6 | 7 years ago | ||
view returns images at different sizes to what they should appear as.
Started by: veronicaG-2 in: Toolset Professional Support |
2 | 9 | 7 years ago | ||
how can I create a background image for a cell (bootstrap) in views
Started by: markus in: Toolset Professional Support |
4 | 10 | 7 years ago | ||
Defining marker address with 2 custom fields
Started by: Pat in: Toolset Professional Support |
2 | 3 | 7 years ago |