WordPress.org

Ready to get started?Download WordPress

Forums

AJAX driven category filter (10 posts)

  1. magnusn
    Member
    Posted 4 years ago #

    Hello,
    I'm making a portfolio page,
    and I've been wonder how I'd go about getting a way to filter out the different categories of work I've done.
    I've made a really quick draft of what I want to achieve,
    and I was hoping there was some kind of pluging or theme with the function in it already. But I haven't been able to find something that suited my needs so far..

    my idea

    Kind regards,

    Magnus

  2. pdonnelly
    Member
    Posted 4 years ago #

    Did you get this working Magnus?

    Regards

    Paul Donnelly

  3. scottbothel
    Member
    Posted 4 years ago #

    I'd love to know if anyone is working on this as well...

  4. pdonnelly
    Member
    Posted 4 years ago #

    I guess not :(

  5. seborgarsen
    Member
    Posted 4 years ago #

    bump?

  6. magnusn
    Member
    Posted 4 years ago #

    Hi All,
    I am really sorry that I've forgotten about this post, but since nobody could answer, it seemed like it was no use asking..

    A nice fellow wrote me an e-mail asking if I'd found a solution, and this is actually the case :)

    After alot of copy+pasting my way through I ended up with this.

    The zip-file contains the necessary code snippets (for header, sidebar and a page template file, that has to be assigned to a page that calculates the new result.

    I made the zip for the guy who mailed me, and I haven't tested it, since it's a stripped down version of my code that I've just done today.

    Happy holidays,

    Magnus

  7. seborgarsen
    Member
    Posted 4 years ago #

    I'll try it out over the next days and report back.

    Merry New Year, guys and gals :)

  8. disable
    Member
    Posted 4 years ago #

    I try also..

  9. magnusn
    Member
    Posted 4 years ago #

    Hi again,
    by the way, I read some different tutorials to figure this out, so maybe you should read them too:

    http://www.tyssendesign.com.au/articles/cms/fetching-posts-in-wordpress-expressionengine-with-jquery-ajax/ - updating a page with ajax

    http://digwp.com/2009/07/display-a-random-post-with-ajax-refresh/ - same thing just a bit more simple

    http://www.blog.highub.com/javascript/javascript-core/javascript-get-form-checkbox-array-values/ - for check which checkboxes is checked

    http://wordpress.org/support/topic/225224 - for the category part

    Kind regards,

    Magnus

  10. seborgarsen
    Member
    Posted 4 years ago #

    Thank you, Magnus!

Topic Closed

This topic has been closed to new replies.

About this Topic