Forums Forums Search & Filter Pro Ajax not refresh

Viewing 10 posts - 1 through 10 (of 16 total)
  • Anonymous
    #40637

    Hi,

    I have a custom template (file example archive-artist.php).

    When you perform a search executed properly in ajax.

    If we make another request to the search engine, not refresh.

    Plugin settings:
    Display results method: Post Type Archive.

    I checked the documentation configuration:

    http://www.designsandcode.com/documentation/search-filter-pro/search-results/as-a-post-type-archive/

    why not work?

    Sorry for my English.

    Trevor
    #40653

    Is it possible for me to see the page on a live URL?

    Anonymous
    #40674
    This reply has been marked as private.
    Trevor
    #40688

    Hi

    I need to take a look in the wp admin, logged in as an administrator. Can you send me a private reply with credentials and login url if it is not /wp-admin ?

    Anonymous
    #40693
    This reply has been marked as private.
    Trevor
    #40702

    Hi, the issue was easy to spot, but I had to think how to resolve it. Your settings for Display Results -> Results Container was set at #ajax_bc

    As well as the results container, this also encloses the search form, and this is not allowed.

    Normally, you would set the results container to #content as is the default.

    # means that this is an id selector, and an id should only ever be used once on a page, and so must be unique. BUT … id="content" appears twice on your page!!! Is this your coding or the theme’s? If it is the theme, please contact the author to get this fixed.

    So, for now I have set the results container to nested id’s #main #content which IS unique.

    Let me know if this is resolved for you and if I can close this?

    Anonymous
    #40738

    Thanks for your reply.

    The problem is that I need to load the title, so #content #main not work

    Access the web http://clon.buscoconcierto.com/artistas/, click pop and “leer más”.

    In this new page, the browser must load all the div “ajax_bc”.

    If you set #content #main, the header is not changed.

    What you have to edit files to update the theme with ID ajax_bc?

    Thanks for your time

    Trevor
    #40739

    Hi

    OK, I see. What theme do you use? Maybe next time a more flexible one that does not have these issues?

    So, we would need to re-write S&F to ignore the search form inside the content element. I think it can be done, but it will take time, which we do not have for the next few days. I will speak to Ross and ask him. BTW, you said #content #main, but the order is important. It must be #main #content.

    Trevor
    #40740

    And that fix is possible, but cannot be very quick.

    Trevor
    #40741

    Are you not able to add a class to the real results container? Even if you must edit the template?

Viewing 10 posts - 1 through 10 (of 16 total)