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

Reply To: Need to replace target link with link stored in title

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Need to replace target link with link stored in title Reply To: Need to replace target link with link stored in title

#19372
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

Thank you, that screenshot actually helped. I think I understand what is going on now. So the problem is, that the code will only replace the link with the title that is already a custom field value, that’s why it is incorrect. Requesting it again from the database will do the trick:

I have installed that plugin to test it with this code, this one should work now.