davide90
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [The Events Calendar] Question about list viewOk thank you, i will deactivate the server cache and i will see !
Forum: Plugins
In reply to: [The Events Calendar] Question about list viewHi, there are not cache plugin active, probably there is server side cache anyway.
Forum: Plugins
In reply to: [The Events Calendar] Question about list viewThank you, it worked, but of course when i change date in datepicker it losts the query, the page is loaded in javascript when i click inside datepicker
Forum: Plugins
In reply to: [The Events Calendar] Question about list viewI have tried this but it doens’t work
function custom_events_list_query($query) { if (class_exists('Tribe__Events__Main')) { if ($query->is_main_query() && is_post_type_archive('tribe_events') && tribe_is_list_view()) { $query->set('posts_per_page', 4); $query->set('ignore_sticky_posts', true); $query->set('post_status', array('publish', 'private')); } } return $query; } add_filter('pre_get_posts', 'custom_events_list_query');- This reply was modified 2 years, 1 month ago by davide90.
Forum: Plugins
In reply to: [The Events Calendar] Question about list viewThank you, but with this simple query i just tried for test it breaks the site
if ( tribe_is_list_view() ) { $query = tribe_get_events( [ 'posts_per_page' => 5 ] ); } return $query;- This reply was modified 2 years, 1 month ago by davide90.
Forum: Plugins
In reply to: [WooCommerce] Variations products on shop pageok thank you !
Viewing 6 replies - 1 through 6 (of 6 total)