Modify Title and Images from Results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Modify Title and Images from Results

This topic contains 2 replies, has 2 voices, and was last updated by hbb97 hbb97 3 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30434
    hbb97
    hbb97
    Participant

    Hi

    Is posible to modify the title and images from the results? Is any filter to do that?

    Thanks
    Héctor

    #30442
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Héctor,

    Sure, you can use the asp_results hook for that.
    In the foreach loop in the example, the $r->title variable contains the title, and the $r->image contains the result image.

    Best,
    Ernest Marcinko

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


    #30471
    hbb97
    hbb97
    Participant

    It works like a charm!
    Héctor

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

The topic ‘Modify Title and Images from Results’ is closed to new replies.