romanB-3
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPAllImport and repeatable fields
1
2
Started by: romanB-3 in: Toolset Professional Support |
2 | 16 | 4 years, 7 months ago | ||
Load more button
Started by: romanB-3 in: Toolset Professional Support |
2 | 11 | 4 years, 7 months ago | ||
Order checkboxes by count
Started by: romanB-3 in: Toolset Professional Support |
2 | 10 | 4 years, 7 months ago | ||
[wpv-conditional if="( '[wpv-taxonomy-description]' ne '' )"]
Started by: romanB-3 in: Toolset Professional Support |
1 | 2 | 4 years, 7 months ago | ||
Custom function with the_content and toolset
Started by: romanB-3 in: Toolset Professional Support |
2 | 4 | 4 years, 7 months ago | ||
Display content conditionally to a URL field
Started by: romanB-3
in: Toolset Professional Support
Problem: Solution: [wpv-conditional if="( '[types termmeta='your_field' output='raw'][/types]' ne '' )" debug="true"]YES; URL IS SET[/wpv-conditional] Relevant Documentation: https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/ |
2 | 3 | 4 years, 7 months ago | ||
wpv-conditional if=”( has_term(‘auteurs’, null) ne ‘0’ )”
Started by: romanB-3
in: Toolset Professional Support
Problem: Solution: [wpv-conditional if="( '[wpv-post-taxonomy type='auteurs' format='slug']' ne '' )"]<p class="auteurs">Auteurs : [wpv-post-taxonomy type="auteur"]</p>[/wpv-conditional] Relevant Documentation: |
2 | 7 | 4 years, 7 months ago | ||
Hide empty filters
Started by: romanB-3 in: Toolset Professional Support |
2 | 4 | 4 years, 7 months ago | ||
Reserved slug "auteur"
Started by: romanB-3 in: Toolset Professional Support |
2 | 3 | 4 years, 7 months ago | ||
Post Type Query Filter
Started by: romanB-3 in: Toolset Professional Support |
2 | 3 | 4 years, 7 months ago | ||
Conditional display if current term page is from a specific taxonomy
Started by: romanB-3
in: Toolset Professional Support
Problem: I have an archive assigned to multiple taxonomies. I would like to display some information conditionally depending on where the archive is displayed, per taxonomy or per term. Solution: Use the is_tax function built-in to WordPress to determine the current archive location. Be sure to register it in Toolset > Settings > Front-end content > Functions inside conditional evaluations, and be sure to supply all optional arguments to the function like so: [wpv-conditional if="( is_tax('auteur', null) eq '1' )"] ... this is the auteur taxonomy archive... [/wpv-conditional] Relevant Documentation: |
2 | 7 | 4 years, 7 months ago | ||
Timeout from external ressources
Started by: romanB-3
in: Toolset Professional Support
Problem: Several pages of my site hang or crash, or simply will not load. My host says there is a problem with implementing external resources. Solution: There seems to be a problem with some deeply nested Views and conditionals. It might be best here to create some custom shortcodes instead of nesting Views with shortcode arguments inside other Views with shortcode arguments and conditionals. Use the get_view_query_results API to get a View's results in PHP. Relevant Documentation: |
2 | 5 | 4 years, 7 months ago | ||
How to
Started by: romanB-3 in: Toolset Professional Support |
2 | 6 | 4 years, 7 months ago | ||
Displaying non-Types term fields on the term archive page with Blocks
Started by: romanB-3
in: Toolset Professional Support
Problem: I would like to display some non-Types termmeta fields in my Blocks term archive page. Solution: This would require a custom shortcode solution: function archive_term_meta_func($atts) { $a = shortcode_atts( array( 'slug' => '' ), $atts ); $term_id = isset(get_queried_object()->term_id) ? get_queried_object()->term_id : null; if( $term_id && $a['slug'] ) { return get_term_meta( $term_id, $a['slug'], true); } return; } add_shortcode("archive-term-meta", "archive_term_meta_func"); Then use it like this in an archive: [archive-term-meta slug="some-slug"] |
2 | 10 | 4 years, 7 months ago | ||
Display defaut post’s post type slug in URL
Started by: romanB-3
in: Toolset Professional Support
Problem: I would like to change my site's default post permalink structure to be mysite.tld/%post_type%/%post_name%/ Solution: You can use the permalink structure settings in wp-admin > Settings > Permalinks to add some custom rewrite slug. Then in each custom post type's rewrite rules you can disable the "append to front" setting as needed. |
2 | 5 | 4 years, 7 months ago |