Forums Forums Search & Filter Pro Filtering the default WordPress Search

Viewing 10 posts - 11 through 20 (of 24 total)
  • Trevor
    #86188

    The problem is being caused by this function:

    epi_search_custom_loop() if you can find it in the theme files. It is over-writing our plugin’s filters.

    I wonder if would be better to use the Shortcode method for Results Display?

    Trevor
    #86190

    If you go to the feature request section of the forum, and add the part about the Post Types hiding when empty we can consider it for the next major release.

    Anonymous
    #86192

    I need the results to display in a specific format, with custom fields. The shortcode won’t offer me that kind of flexibility.

    Can you tell me what, specifically might be causing a problem? That function contains over 1500 lines of code, mostly related to what fields to display and in what format.

    I can’t think of anything in there that might be stopping the filters from working… it’s mostly just “if post type is this, then display it like this” stuff.

    Trevor
    #86196

    The shortcode method uses our own template (results.php), and in that you can put the same code as is used in the search.php file, but it will draw the results from our loop.

    Anonymous
    #86201

    Ah okay! I’ll give that a go.

    What’s the best procedure to use to go about editing that file? Obviously editing it in place isn’t ideal, due to updates. Can I create a copy in my theme files? What works best/works at all?

    Anonymous
    #86207

    Brill! Seems to be working. Just got a bit of customisation to do to get it looking the same as it was. Some of the code doesn’t like the change!

    Thanks for your help Trevor!

    Anonymous
    #86209

    Okay. New problem. The page isn’t refreshing for new searches again. And there’s no option to enter a custom class or ID for the shortcode…

    Trevor
    #86220

    Jon, we will have to talk over the weekend (tomorrow or Sunday) or Monday, as it is late here. Do you have Skype?

    Anonymous
    #86264

    Hey!

    Alas, I’ve got family obligations all weekend ☹

    If you get a chance, could you explain what I’ve done wrong here so I can fix it if/when I get a free minute?

    Thanks Trevor!
    Jon

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