Ben
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 |
---|---|---|---|---|---|
Custom Code Snippets or Functions file
Started by: Ben in: Toolset Professional Support |
2 | 9 | 5 years, 10 months ago | ||
Bootstrap 4 rough ETA
Started by: Ben in: Toolset Professional Support |
3 | 9 | 5 years, 10 months ago | ||
Display connected posts through different Relationships
Started by: Ben
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | 5 years, 10 months ago | ||
Display Term Fields on Archive Page
Started by: Ben
in: Toolset Professional Support
Problem: I would like to display term custom fields for the current archive term, using Views. Solution: In a taxonomy term WordPress Archive, you can use the Types field shortcode to display information about the current term, by default. However, if you want to use Views instead, you can apply a term filter by shortcode attribute, and pass the current term ID into the filter using the wpv-taxonomy-archive shortcode like this: [wpv-view name="your-term-view-slug" terms="[wpv-taxonomy-archive info='id']"] Relevant Documentation: |
2 | 7 | 5 years, 10 months ago | ||
Insert Content Template into Archive page using Elementor template
Started by: Ben
in: Toolset Professional Support
Problem: I am trying to insert a Content Template into an archive page by adding it to an Elementor archive template, but nothing is showing up. Solution: The recommended way to build archives with Toolset is by going to Toolset > WordPress Archives and creating the archive here. If you want to use Elementor templates instead, you should trash and WordPress Archives or Content Templates you have associated with this taxonomy. Otherwise, Elementor and Toolset templates can cause conflicts with one another. Relevant Documentation: |
2 | 5 | 5 years, 10 months ago | ||
Conditional based on the current “level” of taxonomy
Started by: Ben
in: Toolset Professional Support
Problem: I would like to display different content in a Taxonomy WordPress Archive depending on the level of hierarchy of the current archive term. Solution: Use custom code to determine the current taxonomy level, and test that level with a conditional. function ts_get_current_archive_term_level(){ $current_taxonomy = isset(get_queried_object()->taxonomy) ? get_queried_object()->taxonomy : null; $current_term_id = isset(get_queried_object()->taxonomy) ? get_queried_object()->term_id : 0; $ancestors = get_ancestors($current_term_id, $current_taxonomy); return count($ancestors)+1; } Then go to Toolset > Settings > Front-end content and add ts_get_current_archive_term_level in Functions inside conditional evaluations. Then you can call the function in your WordPress Archive like this: [wpv-conditional if="( ts_get_current_archive_term_level() eq '1' )"] level 1 [/wpv-conditional] [wpv-conditional if="( ts_get_current_archive_term_level() eq '2' )"] level 2 [/wpv-conditional] [wpv-conditional if="( ts_get_current_archive_term_level() eq '3' )"] level 3 [/wpv-conditional] Relevant Documentation: |
2 | 8 | 5 years, 10 months ago | ||
Allow only one Relationship
Started by: Ben in: Toolset Professional Support |
2 | 3 | 5 years, 10 months ago | ||
Resize Loop Editor
Started by: Ben in: Toolset Professional Support |
2 | 4 | 5 years, 10 months ago | ||
Custom Term Fields do not show on conditional shortcode drop down within Views
Started by: Ben in: Toolset Professional Support |
2 | 14 | 5 years, 11 months ago | ||
How to display current page fields on view
Started by: Ben
in: Toolset Professional Support
Problem: Solution: For example: [types field='test-single-line' item='$current_page'][/types] You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 11 | 5 years, 11 months ago | ||
How to display Bootstrap media object
Started by: Ben
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 11 | 5 years, 11 months ago | ||
Dynamically populate checkboxes field with taxonomy terms
Started by: Ben in: Toolset Professional Support |
2 | 5 | 5 years, 11 months ago | ||
Use a View to display data from the current page only
Started by: Ben
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 5 | 5 years, 11 months ago | ||
Vertically align Multiple Lines in View
Started by: Ben
in: Toolset Professional Support
Problem: I would like to display several columns of content. One of the columns contains a multiline custom field. The top of the text is not aligned with the text in the 3 other columns. Solution: You can add some CSS to modify this paragraph's spacing. Add this in your Loop Editor's CSS panel: .no-top-margin-p p { margin-top: 0; } Then add the no-top-margin-p class to the column that contains the WYSIWYG field: <div class="row"> <div class="col-sm-3">[types field='test-single-line' item='$current_page'][/types]</div> <div class="col-sm-3 no-top-margin-p">[types field='test-multiple-lines' item='$current_page'][/types]</div> <div class="col-sm-3">[types field='test-url' title='Link' target='_blank' item='$current_page'][/types]</div> <div class="col-sm-3">[types field='test-date' style='text' format='d F Y' item='$current_page'][/types]</div> </div> Relevant Documentation: |
2 | 7 | 5 years, 11 months ago | ||
How can I favourite threads on the Toolset support forum?
Started by: Ben
in: Toolset Professional Support
Problem: I cannot figure out how to favourite a topic in the forum. Solution: The favorites feature was discontinued. Instead, you can now subscribe to any forum topic. |
2 | 4 | 5 years, 11 months ago |