WordPress.org

Ready to get started?Download WordPress

Forums

AJAX enabled search (web 2.0) (2 posts)

  1. onDev
    Member
    Posted 7 years ago #

    I'm not entirely new with WP, but this is the first blog in WP I'm using.. well.. it's my first one ever ;)

    However, as a webdeveloper, I have the ability to hack it to my desires, and I've just implemented AJAX to the search.

    How do I do it?
    I'm using jQuery as JavaScript framework.. this makes it a bit easier to do some stuff, like an AJAX call.

    I hacked wp-rss2.php, so I can search it on TITLE only, the current search does it by TITLE and CONTENT and I didn't want this..

    I then simply let AJAX grab the XML, manipulate it using JS and use DOM to show my search results ;)

    I might write an article no it, but some feedback would be nice.

  2. eminentstyle
    Member
    Posted 6 years ago #

    I am more than a little late to the party but I would be instested to hear more.

    I am using jquery for various things on my site and a live search using this rather than a whole other library would be usefull and would keep the size overheads down.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags