Forums › Forums › Search & Filter Pro › Date Range Serch is not working
Tagged: date range
- This topic has 4 replies, 2 voices, and was last updated 4 years, 9 months ago by Anonymous.
-
Anonymous(Private) February 27, 2020 at 11:58 am #235064
My Date Range Serch form is not working now.
・I’m using it for Custom Post Type.
・Meta Key is “concert_date_sf”, it’s an advanced custom field date picker. I set the value at my custom post. (I ensured it.)
・Other form is working( Taxonomy: category, Serch form).
・When I changed Data Range Serch form, URL Parameter was added(?_sfm_concert_date_sf=20201101+20201130) but all posts were shown.
・I simplified my template file as much as possible, in “archive-concert.php”, there is a loop like below.<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'template-parts/post/loop', $postType['slug'] ); endwhile; else : echo wpautop( 'no post'); endif; ?>
Now, what should I ensure and fix now?
Anonymous(Private) February 28, 2020 at 8:51 am #235164Thank you for replying.
It was not an Ajax problem. ( I disabled it , checked the container , still not working.)
I disabled another plugin suspected of interfering but still not working.
Finally, I delete the plugin, reverted template file to the previous version ( where the plugin stopped working at first ) , then reinstall it, then it worked.
I’m not sure when the bug was fixed… I changed the setting too much so they cached wrong data or something…?
Anyway, thank you. -
AuthorPosts