Ross
Forum Replies Created
-
Ross Moderator in reply to:
ajax loading not working(Private) June 5, 2014 at 1:27 pm #1307This reply has been marked as private.Ross Moderator in reply to:
Display count for custom taxonomy display's count for all post types(Private) June 5, 2014 at 11:06 am #1300Hey John
Basically this “count” number is stored in WordPress’ own tables whenever you add/remove a post from your taxonomy and automatically covers all post types if used with multiple post types.
It is usually recommended to set up taxonomies exclusive to specific post types, so you could create two taxonomies one for each post type, and therefor you will have counts that match what you want.
This is a temporary workaround, having said that there is other functionality that a lot of users have been asking for, which I am making a priority to include which will help with your use case above.
Essentially the functionality I am looking to add is a “auto hide” of terms that have no posts – which would also auto update the counts displayed – I think this would work for you, see this feature request – https://support.searchandfilter.com/forums/topic/category-specific-searches/
Thanks
Ross Moderator in reply to:
ajax loading not working(Private) June 5, 2014 at 10:59 am #1299Hey Piotr
Sorry I missed that!
Yeah its pretty easy, edit the search template I created for you
And you have this code for your main loop:
if (have_posts()) : while (have_posts()) : the_post(); ?> <?php get_template_part( 'blog-post-format/blog-post', get_post_format() ); ?> <?php endwhile; ?> <?php endif; ?>
Before the endif you need to add an else so it would be like:
if (have_posts()) : while (have_posts()) : the_post(); ?> <?php get_template_part( 'blog-post-format/blog-post', get_post_format() ); ?> <?php endwhile; ?> <?php else: ?> No Posts Found <?php endif; ?>
Ross Moderator in reply to:
Cannot get AJAX results to show on same page as form(Private) June 4, 2014 at 11:27 pm #1279Hey Ken how are you getting on?
Yeah it looks like some modifications to the layout from you theme which don’t seem to work with static templates…
If you can begin modifying the search results template with your theme then your on to a winner.
The search results page is much like an archive page, rather than a standard post/page so maybe look at how you can modify your archive pages using your themes editing capabilities which will hopefully give you a good start for modifying the search page… ๐
Ross Moderator in reply to:
Create New Form not Saving in WP-Admin(Private) June 4, 2014 at 7:21 pm #1275Hey Raoni
Unfortunately not.. but I will look at adding it in…
Open a feature request here and I will keep track of it ๐
https://support.searchandfilter.com/forums/forum/search-filter-pro/feature-requests/
Ross Moderator in reply to:
Not Updating To Current Version(Private) June 4, 2014 at 7:12 pm #1273Hey Robert! Just sent you an email there with the latest update ๐
Ross Moderator in reply to:
Create New Form not Saving in WP-Admin(Private) June 4, 2014 at 6:57 pm #1271OK I think its now fixed ๐
The first problem was a PHP error which was easily fixed..
The second problem was the plugin, searching your WP Meta table, to create a dropdown list and I think the memory limit was exceeded! This means you must have a lot of values in your meta!!
Anyway, also my query wasn’t very efficient, so it is now optimised and fixed ๐
Hope there will be no more problems!
Thanks
Ross Moderator in reply to:
Create New Form not Saving in WP-Admin(Private) June 4, 2014 at 6:27 pm #1270Working on it now, please bear with me ๐ I fixed the first issues but there seems to be another so making some changes live to the plugin with debug enabled…
Ross Moderator in reply to:
Create New Form not Saving in WP-Admin(Private) June 4, 2014 at 4:34 pm #1263Hey Raoni
Think I’ve sorted it, would you mind sending across you FTP details and I’ll do a couple of tests?
Thanks
Ross -
AuthorPosts