rolandP
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 |
---|---|---|---|---|---|
Display Custom Fields with PHP
Started by: rolandP
in: Toolset Professional Support
ProblemHow can I display my Custom Fields created with Toolset, using PHP code? Solution There are 2 possible approaches to display Custom Fields with code. Toolset API example for a single line field: echo (types_render_field( 'field-slug', array() )); (Note that in the array() you can also pass a Post ID and more arguments as shown here) This will output the Field "field-slug" on the Single Post where I saved this Field. WordPress API: echo (get_post_meta( $post->ID, "field-slug", false )); |
2 | 10 | 6 years, 8 months ago | ||
Show custom fields on WooCommerce image hover state
Started by: rolandP
in: Toolset Professional Support
Problem: I would like to show custom fields and the wpv-woo-buy-or-select shortcode when I hover over my WooCommerce product image, but the link does not work. Solution: It's not possible to use the wpv-woo-buy-or-select shortcode inside a link tag, because it generates its own link tag. Nested link tags are invalid HTML and will not behave as expected. Therefore, you must use a different method to create the hover effect if you want to place the wpv-woo-buy-or-select shortcode in the hover. |
2 | 3 | 6 years, 9 months ago | ||
Woocommerce – Show custom fields on hover image
Started by: rolandP
in: Toolset Professional Support
Problem: I would like to include product images on my site. When the User mouses over a product image, I would like to show an overlay with some custom field information. Solution: The Classifieds reference site includes a similar hover effect on the homepage. You can create your own test site at discover-wp.com to see how this is configured. Edit the View "Ads list - featured slider" to see the View setup, and the template "Loop item in Ads list" to see the markup. Check the CSS panel of this template to see how the hover effect is achieved. Relevant Documentation: |
2 | 3 | 6 years, 9 months ago | ||
How setup boxed version on Toolset Starter Child
Started by: rolandP
in: Toolset Professional Support
Problem: The problem here is that instead of a full width site the user wanted to have a box type Layout for his site. Solution: To setup the box layout you will need to set your row style. |
2 | 5 | 6 years, 9 months ago |