Dynamically Sort by Category in Archives

  • Unknown's avatar

    I have a site which I am building for a mid sized city police department (note that I am a cop – not a programmer – but I do know a fair amount). The purpose of the site is to house “log” entries – incidents of specific importance which are documented in narrative form so that information about incidents can be referenced from shift to shift and by other divisions within the department (eg, detectives, traffic, gangs, etc.).

    I have set up about 12 categories for posts (each one specific to a division). When a user logs in, they are taken to a page where they see the most recent “log” entries (blog posts) from one specific category – patrol. This is by far the most used.

    I have menu items to browse each category as well – with a sort function for ASC, DSC, etc.

    What I am having trouble with is the following:

    I am using the Archives Calendar Widget to browse the archives by specific date, lets say Oct. 31st, 2014 – when you select that date it shows all the “logs” for that day in every category. I would like to add some type of filtering function so that I can allow the user to, preferably dynamically, show or hide given categories specific to that date.

    So if I clicked on Oct. 31st, 2014 up top I envision like check boxes where the choices are All, Cat1, Cat2, Cat3 and so on….it auto defaults to all but if a user checks Cat 1 for instance, it will hide all posts FOR THAT DAY except Cat 1. If the user checks Cat 1 and Cat 2, if would show those but hide Cat 3, etc.

    It would be sort of like the filters one sees on e-commerce sites where you refine by brand, price range, etc. but in this case you would be starting from a certain date and then drilling down by selected categories.

    I have tried Isotope plugins but can’t seem to get that to work.

    I have also tried to implement Quicksand and some other plugins but I can’t seem to find anything or a way to further drill down into a specific archive.php display. Haven’t had much luck getting quicksand up and running. I’ve spent days trying to research this on my own and have run into walls. I know there is a way, just need pointed in the right direction.

    Open to any and all suggestions, even if it involves rethinking the way I am approaching this.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    thistimethisspace · Member ·

    https://www.rpdlogs.com/ is not hosted here at WordPress.COM and we cannot help with it. If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.ORG bloggers.
    Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
    WordPress.org support docs are at https://codex.wordpress.org/Main_Page

  • The topic ‘Dynamically Sort by Category in Archives’ is closed to new replies.