Forums › Forums › Search & Filter Pro › Movie Demo Questions
Tagged: ajax, archive template, Demo
- This topic has 7 replies, 2 voices, and was last updated 10 years, 1 month ago by Ross.
-
Anonymous(Private) September 26, 2014 at 11:54 am #5108
Dear Ross,
I set up search and filter to filter a custom post type. I use a custom archive-customposttype.php template and ajax (no short codes).
The basics are working fine, but not exactly as your movie demo: when I click a movie genre in your demo, an archive template loads the corresponding movies and your plugin updates the chosen genre in the filter dropdown as well.
Could you explain how you sweet it up? Any special gimmicks within your archive.php loop?
Thanks in advance, Georg
Ross Moderator(Private) September 29, 2014 at 11:13 pm #5248Hey Georg
Do you mean so that once you drill down in to an article or page that it keeps the terms highlighted?
Unfortunately in the demo this only worked with taxonomies – and was kind of by a bug actually – however the newer versions of the plugin do not support this as the bug was “fixed”…
I will be adding this feature back in though – and making sure it is compatible with all types of fields (author, meta, search box) etc…
Thanks
Anonymous(Private) September 30, 2014 at 11:38 pm #5353It’s not a bug, it’s a feature ๐
But I am not sure if we are talking about the same thing.If I click on a genre, for example “Drama”, but not within your Filter Plugin, but in one of the movie posts on the left, it opens another archive view with movies just from that category.
So far, so good โ WordPress standard behavior. But then the magic happens:
The Filter plugin on the right highlights the chosen category in the Genre-dropdown as well which is great because it makes the user experiences much more consistent.
Here’s the link: http://demo.designsandcode.com/sfpro-movie-reviews/genre/drama/How did you achieve that? I am having a similar setup with custom post types and taxonomies.
Ross Moderator(Private) October 1, 2014 at 12:07 am #5357Haha Georg yeah we are talking about the same thing ๐ Unfortunately – which means its no longer available unless you want to use an older version (the demo is several sub versions old) – there was a bug in the code that was having this “side effect” – which is nice, but I couldn’t fix the bug without loosing this.
So yeah, its “fixed” – however I do plan to add this back in properly soon..
A few users have asked for it so I’ll look at hopefully including it in the next couple of weeks after the current update I’m working on.
Thanks
Anonymous(Private) October 1, 2014 at 7:46 am #5367Ok, thanks for the info. What a lovely bug! I think it’s a great feature because it feels like Search&Filter is deeply embedded into WordPress.
I have to demo a website for a client on tuesday so could you point me to the old version? Maybe I am implementing the old version for the time being.
Having this as a regular feature in a future version would be awesome.
Ross Moderator(Private) October 2, 2014 at 10:17 am #5437Hey Georg
I will email you version 1.8 tonight – I think this is where it got “fixed” :/
Thanks
Ross Moderator(Private) October 18, 2014 at 10:49 pm #6132Hey Hans
I just saw this post and realised I forgot to forward you a previous version – I’ve just emailed it to you ๐
Thanks
-
AuthorPosts