Evan Seplow
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Module Manager says « This page doesn’t seem to exist. » when trying to load
Commencé par : Evan Seplow
in: Toolset Professional Support
Problem: Solution: |
3 | 12 | Il y a 4 années et 8 mois | ||
replacement for Toolset Starter Theme????
1
2
Commencé par : Evan Seplow in: Toolset Professional Support |
7 | 17 | Il y a 4 années et 8 mois | ||
Does the Pagination Spinner still exist?
Commencé par : Evan Seplow
in: Toolset Professional Support
Problem: The issue here is that the user wanted to know if the Pagination spinner still exists as well as if the class used is still the same. Solution: 1. Yes views still has support for the spinner graphics. |
2 | 3 | Il y a 6 années et 4 mois | ||
How to create a form that inputs multiple lines in body
Commencé par : Evan Seplow in: Toolset Professional Support |
2 | 4 | Il y a 6 années et 4 mois | ||
Single Line Fields remove wptexturize on Single Quotes (apostrophes)
Commencé par : Evan Seplow in: Toolset Professional Support |
2 | 4 | Il y a 6 années et 8 mois | ||
Incrementing a view within a view (for banner ads)
Commencé par : Evan Seplow
in: Toolset Professional Support
Problem: Solution: In the Loop Output section the wpv-loop tag includes a wrap=n attribute and a wpv-item index=n shortcode is used to display a second View (displaying one banner ad) every nth iteration of the outer loop. The problem is that the same ad will be shown for each iteration. The following code (targeting the second View) will advance the ad shown each time. add_filter( 'wpv_filter_query_post_process', 'tssupp_iterate_posts', 101, 3 ); function tssupp_iterate_posts( $query, $view_settings, $view_id ){ global $iteration; if ( 158377 == $view_id ) { // Edit ID if ( !isset( $iteration ) ) { $iteration = 0; } $iteration++; if ( $iteration > count( $query->posts ) ) { $iteration = 1; } $query->posts = array( $query->posts[ $iteration - 1 ] ); $query->found_posts = 1; $query->post_count = 1; } return $query; } |
2 | 17 | Il y a 6 années et 9 mois |