Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #399131

    Hi

    I’m hoping you can help with a plugin conflict I’m having using the Enfold theme.

    I’m using SearchWP to implement an advanced search for a portfolio website I’m developing. I’ve added your code in the function.php for ajax display which works really well but unfortunately, with the plugin activated, portfolio tag archives are not displaying when a tag is selected. I have the same issue using Relevanssi.

    Any thoughts?

    The problem doesn’t exist when using the Search Everything plugin so this could be a solution. Do you have a code I can add to function.php to implement Ajax results using Search Everything?

    Thanks in advance.

    I look forward to hearing from you.

    Edward.

    #399243

    Hi AREA10STUDIO!

    Send us a link to your page and paste the code your using here and we’ll take a look.

    Regards,
    Elliott

    #399267
    This reply has been marked as private.
    #399767

    Hi!

    Hmm, not sure what it could be. Sorry, have you tried contacting the plugin authors?

    Best regards,
    Elliott

    #399770

    Thanks Eliot,

    I have but unfortunately they aren’t much help.

    Can you recommend a functions code I could try to get Ajax search results using the ‘Search Everything’ plugin? That would be very helpful as I don’t have the issue using that plugin.

    Appreciate your help.

    Edward

    #401277

    Hi!

    We would like to check the page but it requires us to login. Please post the login details here so that we can check it. For for more info, please contact the plugin author.

    Regards,
    Ismael

    #401299
    This reply has been marked as private.
    #401923

    Hey!

    Still not sure why the tag pages aren’t working. What happens when you delete the Ultimate Tag Cloud Widget plugin?

    Cheers!
    Ismael

    #454204

    I too am using Search Everything, and wondering if there was a suggested code addition to function.php that worked.
    The search results displaying on the page after hitting enter are excluding set pages, but the ajax box is still displaying the pages.

    #454205

    I found a solution that worked for me on wordpress.org/support/topic/excluding-page-from-search (Thanks Todd!)
    For me I added this to function.php (where 1234 is your page ID)

    function mySearchFilter($query) {
    if ($query->is_search) {
    $excludeId = 1234;
    $query->set(‘post__not_in’, array($excludeId));
    }
    return $query;
    }
    add_filter(‘pre_get_posts’,’mySearchFilter’);

    • This reply was modified 9 years, 5 months ago by Aaron.
    #454508

    Hey!

    I’m not sure if you solved it or not, do you still have problems with the ajax results? Thanks for sharing the solution by the way.

    Best regards,
    Rikard

    #454598

    Yes it is solved, thanks Rikard.

    The ajax window results are mirroring the on-page results with the addition of the code mentioned in #454205

    SearchEverything works to remove selected pages for the on-page results, but not the ajax window (it still displays unwanted pages).
    The code snippet fixes this. Voila!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Advanced Search Problem’ is closed to new replies.