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

Scroll to result in a page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Scroll to result in a page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #30607
    gravitemedia79gravitemedia79
    Participant

    Hi, I need, when we type a search term in the search bar, and this term is in the content, I want to automaticly scroll down to this term.

    There is a option for that? If not is there a way to do that?

    Thank you!

    #30608
    gravitemedia79gravitemedia79
    Participant

    I use ACF for the content, for now, ist find de keyword in the page but not scroll and didnt highlight it

    #30614
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Yes, these options right here: https://i.imgur.com/6MTAwlC.png

    This will only work if the user clicks on the result from the live search, on the single result pages.

    #30657
    gravitemedia79gravitemedia79
    Participant

    Ok, yes, I already see that, and setup it to get scroll to the keyword result in the page but that doesnt work.
    Would it be because the terms entered with ACF and not in content area?

    #30665
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Probably, especially if it is rendered later on, during the page load (via ajax or promise requests). Those are very hard to detect and scroll to after redirection.

    #30681
    gravitemedia79gravitemedia79
    Participant

    Thanks Ernest,
    Is there a way this works with ACF fields?

    #30682
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I highly doubt it. If you want I can take look at a page where this is visible. I tired the given URl, but it is htpassword protected.

    #30688
    gravitemedia79gravitemedia79
    Participant

    User : gravitemedia
    pass : mediagravite

    #30710
    Ernest MarcinkoErnest Marcinko
    Keymaster

    The single results highlighter seems to be disabled (search ID=3), based on the search options I can see on the front-end. Make sure to turn that on: https://i.imgur.com/mRwsli1.png

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Scroll to result in a page’ is closed to new replies.