Forums Forums Search & Filter Pro DIVI theme with CPT Archive

Viewing 10 posts - 11 through 20 (of 30 total)
  • Anonymous
    #98271

    Also, the “search” doesn’t work and if I choose a price range with no results it shows some results out of the range

    Trevor
    #98277

    Did you try the filter_next_query shortcode method with Custom Display results?

    Anonymous
    #98286

    Yes, but it seems it doesn’t show anything

    Anonymous
    #98300

    To sum up:
    – with the shortcode and custom display it doesn’t work; Any suggestion?
    – with the Post Archive Layout it works without AJAX but the no result page is incoherent;
    – with the Post Archive Layout AND AJAX it works bad (no pics, no results from the “search”, if I choose a range with no results it shows results out of range).
    Any help?

    Trevor
    #98320

    I think this must be the way that the plugin you are using works. Is this the one:

    https://elegantmarketplace.com/downloads/custom-post-type-layout-injector/

    Anonymous
    #98323

    Yes, this is the plugin.
    Well, if I can fix the problems of the third case (PT Archive with AJAX) it would be good.

    Anonymous
    #98333

    Update:
    I solved the pic problem not using animation.
    Now the only problem is that if I search for something that is not in the fields, instead of telling “no results found…” it doesn’t do anything (showing the same results of the previous search).
    Maybe this can be fixed in some ways?

    Ross Moderator
    #98366

    Ah the issue with this is, the message “no results found” will probably not be inside your ajax container defined in the display results tab.

    Its likely you have an

    if(have_posts...

    and you open you ajax container here, but not in the else part which shows “no results”.

    Best

    Anonymous
    #98531

    Hi Ross,
    Thank you for your reply,
    where can I change the AJAX container or check if it’s the point?
    Thank you!

    Trevor
    #98612

    Hi

    You would need to know which template file your theme is using. In Divi I believe it might be this file:

    /wp-content/themes/Divi/includes/no-results.php

    Have a look in there and see if that is the message you see. If so, make a little edit and check again to see if that edit is showing, and then if it is, you can set it as you want?

Viewing 10 posts - 11 through 20 (of 30 total)