Nicholas
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 |
---|---|---|---|---|---|
ElasticPress plugin
Started by: Nicholas in: Toolset Professional Support |
2 | 3 | 6 years, 11 months ago | ||
Post relationship between products, custom post types and woocommerce orders
Started by: Nicholas in: Toolset Professional Support |
2 | 2 | 6 years, 11 months ago | ||
[wpv-bloginfo show='url'] just display site title in notification email
Started by: Nicholas in: Toolset Professional Support |
2 | 9 | 6 years, 12 months ago | ||
Display the total orders sum of all completed orders on the product page
Started by: Nicholas in: Toolset Professional Support |
3 | 12 | 6 years, 12 months ago | ||
use custom fields filters for notifications
1
2
Started by: Nicholas in: Toolset Professional Support |
2 | 18 | 6 years, 12 months ago | ||
Show content only if product has more than 1 orders
Started by: Nicholas in: Toolset Professional Support |
2 | 10 | 7 years ago | ||
Taxonomy filter with only 1 result (slider)
Started by: Nicholas
in: Toolset Professional Support
Problem: Post 1: category 1 On the frontend I click on the categories to switch through posts with different categories Solution: The "post 3" is created after "post 2", so you can modify the view: |
2 | 8 | 7 years ago | ||
Implement a read more link/button with post excerpts or post content fields
Started by: Nicholas
in: Toolset Professional Support
Problem: Solution: |
2 | 7 | 7 years ago | ||
Get the thumbnail of a youtube video and display it in a Content Template
Started by: Nicholas
in: Toolset Professional Support
Problem: I have stored a YouTube video ID in a custom field. I would like to display the thumbnail of the video using a shortcode, and I would like to be able to add the thumbnail URL as an Open Graph meta tag. Solution: [wpv-conditional if="( $(wpcf-video-id-slug) eq '' )" evaluate="false"] <img src="https://i.ytimg.com/vi/[wpv-post-field name='wpcf-video-id-slug']/maxresdefault.jpg" /> [/wpv-conditional] Then use the same principle to construct the image URL in your OG tag: if ( is_product() ) { global $post, $product; $product_id = $product->get_id(); $thumb = get_post_meta( $product_id, 'wpcf-youtube-video-thumbnail', true); if( $thumb ) { echo '<meta property="og:image" content="https://i.ytimg.com/vi/' . $thumb . '/maxresdefault.jpg">'; } } Relevant Documentation: https://toolset.com/documentation/user-guides/conditional-html-output-in-views/ |
2 | 7 | 7 years ago | ||
Remove sidebar from woocommerce product pages
Started by: Nicholas
in: Toolset Professional Support
Problem: I would like to remove the sidebar from WooCommerce Product pages. Solution: It depends on your theme, and whether or not you are using Layouts. Some themes provide Theme Options that allow you to turn sidebars on or off on particular pages. Some popular themes already have these options integrated in Layouts, so you can select Theme Options for each Layout. Some themes hard-code this sidebar in PHP and there's nothing WooCommerce Views can do about it. In that case, you must create your own custom PHP template to remove the sidebar. If your theme has a full-width PHP template (which does not use a sidebar), you can copy that file from your parent theme and save it as single-product.php in wp-content/themes/your-child-theme/woocommerce. This will override the default product page design and remove the sidebar. Then WooCommerce Views can be used to design the main content area when you select "Your Child Theme Custom Product Template" Relevant Documentation: https://developer.wordpress.org/themes/basics/template-hierarchy/ https://toolset.com/documentation/user-guides/getting-started-woocommerce-views/ |
2 | 9 | 7 years ago | ||
Display customers profile picture/avatar on the profile page
Started by: Nicholas in: Toolset Professional Support |
2 | 9 | 7 years ago | ||
How do make js work on js_event_wpv_parametric_search_results_updated
Started by: Nicholas in: Toolset Professional Support |
3 | 9 | 7 years ago | ||
Do not load bootstrap min js
Started by: Nicholas in: Toolset Professional Support |
2 | 7 | 7 years ago | ||
Post field iterator field question
Started by: Nicholas in: Toolset Professional Support |
3 | 4 | 7 years ago | ||
Count the number of posts
Started by: Nicholas
in: Toolset Professional Support
Problem: Solution: add_shortcode('incrementor', 'incrementor'); function incrementor() { static $i = 1; return $i ++; } 2. Then use [incrementor] shortcode in your Views loop. |
2 | 3 | 7 years ago |