Javier Félix Hernández Márquez
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Display the values of a CPT in a data entry form drop-down list.
Commencé par : Javier Félix Hernández Márquez in: Toolset Professional Support |
2 | 9 | Il y a 1 mois | ||
Pagination not adaptable to mobile devices.
Commencé par : Javier Félix Hernández Márquez
in: Toolset Professional Support
Problem: I have added pagination to a view, and it displays correctly on desktop but goes out of canvas on mobile, breaking the website's responsiveness. I am using the GeneratePress theme. Solution: Adding the CSS code below will enable flex-wrap, ensuring the pagination fits within the canvas on mobile devices: .wpv-archive-pagination-nav-links, .wpv-archive-pagination-nav-links-container, .wpv-pagination-nav-links, .wpv-pagination-nav-links-container, .wpv-pagination-preview-element { flex-wrap: wrap; } Alternatively, use Toolset’s pagination options to reduce the number of page links displayed for a cleaner look on mobile. |
2 | 3 | Il y a 1 mois et 1 semaine | ||
Redirect a taxonomy to a static WordPress in translating with WPML…
Commencé par : Javier Félix Hernández Márquez in: Types Community Support |
2 | 6 | 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 | ||
Redirect a taxonomy to a static WordPress page…
Commencé par : Javier Félix Hernández Márquez
in: Types Community Support
Problem: I have placed a taxonomy link in my Content Template using the wpv-post-taxonomy shortcode. Instead of linking to the term archive page, I would like to link to a static page that has the same name and slug. Solution: <a href="http://yoursite.com/[wpv-post-taxonomy type='autor' format='slug']">[wpv-post-taxonomy type="autor" format="name"]</a> Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-taxonomy |
2 | 5 | Il y a 7 années et 3 mois | ||
Warning: field slug is already being used!
Commencé par : Javier Félix Hernández Márquez
in: Types Community Support
Problem: Solution: After that you can again use the same slug/name for the field. |
2 | 3 | Il y a 7 années et 4 mois |