Cannot show some content in results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Cannot show some content in results

This topic contains 6 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 12 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32379
    Eduardo31
    Eduardo31
    Participant

    Hello, great plugin! Excuse me for so many questions, I will try to be tidy 🙂

    1 – Im trying to use the plugin in my bookstore website (the search bar is in http://plumigamia.com). Please see this example book http://plumigamia.com/libro/agamenon/

    You will see in product page there is a button “READ”. When you click, you see the book content. Actually, I cannot make the plugin display that text in search bar result. In fact, I need the plugin displays only this book content text, and not product description. Is it possible?

    2 – When the previous is solved, is it possible, when you click in result, it send the user not only to the book content page, but scroll to the exact paragraph he searched?

    3 – Is it possible to send directly to an Amazon page?

    4 – I find how to show title in result. Is it possible to also show category? It would be very important for us, because category is the book author name.

    Thank you very much!

    #32394
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you very much for your kind words!

    1. That is a tough questions – it depends on where this information is stored. When clicking that button I am seeing a custom ajax request, which then returns the book contents, so I can’t tell how it is stored. You may have to ask the author of this feature.
    If it’s a custom field, then you can easily use the pripary/secondary title and content fields, or the advanced title and content fields to display the custom field contents.

    2. Given the book content is not printed to the page and visible upon redirection, this is not possible without custom coding for sure. There is an automatic keyword highlighter and scroll feature – but in this case the text is not on the page visible, it requires a user interaction.

    3. It is possible to chance the result fields, including the URL via the asp_results hook. There is actually an example for changing the URL here.

    4. Yes, you can do that via the advanced title and content fields feature.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #32396
    Eduardo31
    Eduardo31
    Participant

    Thank you very much for all this info

    #32398
    Eduardo31
    Eduardo31
    Participant

    Hello,

    About ask number 4: I can display ID and price, but cannot category. I have tried with {_taxonomy_category} and {__tax_category}, but it shows an empty space.

    Excuse me, but I cannot see what Im doing wrong.

    #32424
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    If you are using product categories, they are probably not the category taxonomy, try:

    {__tax_product_cat}

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #32441
    Eduardo31
    Eduardo31
    Participant

    Hello! It seems Im closer to we need. Two questions:

    1 – Is it possible, in “result layout”, show the highlighted text even if it is not at the beginning? I mark “Display the description context” but it seems it doesn’t work for me.

    2 – Is it possible to show, in “result layout”, every part of the text where keyword appears? For example, if user search “Agamemnon returns” and it appears two times in different parts of the text, results displays that two times each one in his context paragraph.

    3 – Is it possible to display in results only the complete keyword phrase and not separate in terms? For example, if user search “the love is” I need it not display “the”, “love”, and “is” separately, because it will appear so much times.

    Thank you!

    #32460
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I’m afraid none of these are possible.

    If the context does not show up, then try both increasing the context height, as well as this option.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.