ioannisM-2
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Show Results in Modal
Commencé par : davidZ dans : Toolset Professional Support |
2 | 4 | Il y a 6 années et 11 mois | ||
Filtering of Parent Fields in Child view (Form) based on the User logged in
Commencé par : Viswanath Tata dans : Toolset Professional Support |
2 | 4 | Il y a 6 années et 11 mois | ||
Counting children of each parent
Commencé par : J S
dans : Toolset Professional Support
Problem: I have a View of parent posts. I would like to show the number of child posts for each parent post inside this View. Solution: Relevant Documentation: |
2 | 5 | Il y a 6 années et 11 mois | ||
Submit Once and Save in Two Fields
Commencé par : Sean dans : Toolset Professional Support |
2 | 5 | Il y a 6 années et 11 mois | ||
Show most popular posts based on post view count
1
2
Commencé par : Nicholas
dans : Toolset Professional Support
Problem: I would like to use the post view count generated from a 3rd party plugin (dfactory's Post Views Counter) to sort a View by post popularity. I would like to use this for the Product post type created by WooCommerce. Solution: 1. Create a new custom field group for products. Add a custom number field called "Product View Count". Make this field required, with Number validation, and make the default value 0. (see attached field.png in the post below) add_action( 'pvc_after_count_visit', 'update_toolset_view_count' ); function update_toolset_view_count ( $post_id ) { $post_type = 'product'; // only update the post view count for products if ($post_type == get_post_type($post_id)) { $view_count = get_post_meta($post_id, 'wpcf-product-view-count', true); $view_count = $view_count ? $view_count : 0; // update and increment the view count for this product update_post_meta($post_id, 'wpcf-product-view-count', (intval($view_count) + 1)); } } 5. Navigate to one of your products in wp-admin. You should see your custom field here with a value of "0" by default. If you are okay with starting from 0, you don't need to change this value. If you want to start calculating from the view count as it exists already, you must copy + paste that value from the front-end of your site. Relevant Documentation: |
2 | 17 | Il y a 6 années et 11 mois | ||
Passing a value from a cred form to another field
Commencé par : davidT-17 dans : Toolset Professional Support |
2 | 6 | Il y a 6 années et 12 mois | ||
Pass value from url parameter to CRED calendar field?
Commencé par : Valeriia dans : Toolset Professional Support |
2 | 3 | Il y a 6 années et 12 mois | ||
Classified site – charge fee for advertising based on custom field
Commencé par : shaneR-4 dans : Toolset Professional Support |
2 | 12 | Il y a 7 années | ||
Conditional output in WooCommerce Price
Commencé par : adamS-15 dans : Toolset Professional Support |
2 | 3 | Il y a 7 années | ||
Auto create custom post after new user submission
1
2
Commencé par : virageguitars dans : Toolset Professional Support |
3 | 19 | Il y a 7 années et 1 mois | ||
Author frontend filtering with views and ajax
Commencé par : meirk dans : Toolset Professional Support |
2 | 8 | Il y a 7 années et 1 mois | ||
How to get a Generic Field’s Checkboxes value and update a Post Field with it
Commencé par : thomasL-2
dans : Toolset Professional Support
Problem: Solution: But if you require this, please read this extensive explanation along with an example: |
2 | 9 | Il y a 7 années et 1 mois | ||
How to display a repeating field
Commencé par : Geoffrey Cleverley
dans : Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 4 | Il y a 7 années et 1 mois | ||
How to build a View that populate a CRED generic field, "select"
Commencé par : tinaH dans : Toolset Professional Support |
2 | 4 | Il y a 7 années et 2 mois | ||
Making image url show on frontend as image
Commencé par : travisK-3 dans : Toolset Professional Support |
2 | 16 | Il y a 7 années et 2 mois |
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
One search form – results in multiple pages
Commencé par : ioannisM-2 dans : Toolset Professional Support |
2 | 2 | Il y a 7 années et 2 mois | ||
Layouts integration with just the main content area of Genesis Sample Theme
Commencé par : ioannisM-2 dans : Toolset Professional Support |
2 | 3 | Il y a 7 années et 2 mois |