WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate WP Query Search Filter
Ajax results display (7 posts)

  1. oksanaar
    Member
    Posted 2 months ago #

    Hey!

    Thanks for the wonderful plugin.

    It works fine on my website. However, when I use the Ajax option, it returns not the same customposttype - archive page, but search page... I need it to return the same page, as the main archive one, obviously.

    Where can I find it?

    Here's the page I'm talking about:

    Our Tours

    Thanks a lot!
    Oksana

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

  2. TC.K
    Member
    Plugin Author

    Posted 2 months ago #

    You need to customize the Ajax result output to look like your archive page. Refer to this post on how you can use uwpqsf_result_tempt to customize the result.

  3. oksanaar
    Member
    Posted 2 months ago #

    Thanks a lot! Will check it out now.

  4. xusht
    Member
    Posted 2 months ago #

    Hi I also want results to look like archive but dont know what to do with uwpqsf_result_tempt

    I dont understand hooks - where do i add that code on the post ?
    http://9-sec.com/2014/01/ultimate-wp-query-search-filter/

  5. TC.K
    Member
    Plugin Author

    Posted 2 months ago #

    @xusht,
    You should add the code in your theme's functions.php

  6. oksanaar
    Member
    Posted 2 months ago #

    Hi there,

    I added the code to my functions file. Now it shows the links as a li-list. I guess I'll need to modify that somehow

    However, it also shows the following: Warning: Missing argument 5 for uwpqsfprocess::ajax_pagination(), called in /home/ahyari/public_html/staging.activeukraine/wp-content/themes/socha/functions.php on line 65 and defined in /home/ahyari/public_html/staging.activeukraine/wp-content/plugins/ultimate-wp-query-search-filter/classes/uwpqsf-process-class.php on line 311

    What's wrong exactly here?

    Thanks

  7. TC.K
    Member
    Plugin Author

    Posted 2 months ago #

    Try this instead:

    $apiclass->ajax_pagination($arg['paged'],$query->max_num_pages, 4, $id, $getdata);
    There is one parameter I forgot to add into the function in the post.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.