Karla Jacobsen
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 |
---|---|---|---|---|---|
Intermittent white screen of death.
Started by: Karla Jacobsen
in: Toolset Professional Support
Problem: Solution: define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M' ); ==> Also, please check this by changing 256M to 512M and see if it resolves the issue with 256 or with 512. Relevant Documentation: |
2 | 4 | 6 years, 9 months ago | ||
Can’t query for children and taxonomy
1
2
Started by: Karla Jacobsen
in: Toolset Professional Support
Problem: Post Type A and Post Type B are related in a many-to-many relationship by Post Type C (intermediary post type). On the Post Type A single post page, I would like to display a View of all related Post Type Bs, filtered by a taxonomy term. Solution: [wpv-layout-start] [wpv-items-found] <h4>Category Header</h4> <ul class="wpv-hide-empty-header"> <!-- wpv-loop-start --> <wpv-loop> [wpv-conditional if="( has_term('photographers', 'listing_cat', [wpv-post-id id='$listing']) eq true )"]<li>[wpv-post-link id="$listing"]</li>[/wpv-conditional] </wpv-loop> <!-- wpv-loop-end --> </ul> [/wpv-items-found] [wpv-no-items-found] <strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong> [/wpv-no-items-found] [wpv-layout-end] - Go to Toolset > Settings > Front end Content and find the "Functions inside conditional evaluations" section. Add has_term here. jQuery(document).ready(function(){ jQuery('.wpv-hide-empty-header').each(function(index, item) { if(jQuery(item).find('li').length < 1) { jQuery(item).prev().hide(); } }); }); Relevant Documentation: |
2 | 26 | 6 years, 9 months ago |