This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Search specific pages #9317
    alexpopaalexpopa
    Participant

    Sweet, that fixed it, I forgot which one was first for add_filter, priority or parameters.

    In terms of the iPhone I’ll keep an eye on it I’ll try it in the simulator. I opened a private browsing mode on my iPhone and it didn’t work but I will look a little deeper and report back.

    Thanks again Ernest, great plugin.

    in reply to: Search specific pages #9315
    alexpopaalexpopa
    Participant

    That would have been sweet if it worked 🙂

    Really quick two things — i really appreciate your help:
    1) I tried adding the logic for $id but it didn’t work, so I pulled up the logs and found this:
    PHP Warning: Missing argument 2 for asp_include_only_ids(), called in /var/www/northshoreitme/wp-includes/plugin.php

    Apparently $id isn’t passed perhaps?

    2) It seems (maybe) since the update ajax search doesn’t work on mobile (iPhone) works fine on desktop.
    Here are the links to check, I can make you a username/pass if you need to look closer later on. You can type “test” or “web” and the reasults should populate.

    http://northshoreit.me/services/
    http://northshoreit.me/oops/

    in reply to: Search specific pages #9311
    alexpopaalexpopa
    Participant

    Sweet, I updated to the latest version and added the filter in functions.php and it works like a charm!

    However, what’s the recommended logic to make sure its only affecting one of the search instances (I have multiple instances of ajax search on the website, I only want one to reflect those pages because its my services page …)

    You can be specific, or general, I’m a dev.

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