Forums Forums Search & Filter Pro Wrap output

Viewing 9 posts - 1 through 9 (of 9 total)
  • Anonymous
    #184387

    Hi,

    Been looking at the documentation, but don’t know enough php to really get what I’m looking at.

    I am looking to wrap the output so that i can style it with css. Is there a way to do this without being a php master?

    Regards,
    Axel

    Trevor
    #184395
    This reply has been marked as private.
    Anonymous
    #184409
    This reply has been marked as private.
    Trevor
    #184421

    Ah. I had thought (misunderstood) that you meant to alter the form, but it is the results in question.

    Does you theme have normal (unfiltered) page that looks like this? Let me know what the theme is and maybe give me a link to a page like the one you want.

    If so, as I see you have already edited the results.php file, you could further add the extra HTML to make that structure.

    Anonymous
    #184427

    Yes, it’s the results I need to fix. I have not edited the results.php file, what you saw is what is shown without any edits. But I think I will edit the results.php, because that looks like what I wanted.

    However, I have another question: I have set the search box to search pages that I have assigned to a category (another plugin lets me do that), but when I search, I don’t always get results even though I think there should be something there. Does it search for the title of the page or does it search for the name of the category or does it search both? For example: the page title is “Brooklyn” and the category assigned is “New York”, should I see something when searching for New York? Because I don’t.

    Basically what I want is to be able to search both page title and category. And when the search results are from hits on a category, I want all the pages assigned to that category to show up.

    Thanks again,

    Axel

    Trevor
    #184431

    I will take the second question last. You would need to add a second plugin to search as you want. The simplest one that I think will work is WP Extended Search, and you can set that up to search in whatever you want. If that does not work, then install the free Relevanssi plugin and set it up, see our documentation here:

    https://searchandfilter.com/documentation/3rd-party/relevanssi/

    For editing the results.php file, see here:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/

    Anonymous
    #184433

    Thank you Trevor for your patience and help! 🙂

    BR,
    Axel

    Trevor
    #184437

    Is this thread resolved Axel?

    Anonymous
    #184439

    Yes, thank you!

Viewing 9 posts - 1 through 9 (of 9 total)