Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Questions Regarding Advanced Title Fields › Reply To: Questions Regarding Advanced Title Fields
November 29, 2018 at 5:42 pm
#20192
Keymaster
Hi Michael,
Got it, you only want to restrict the original title (the first line). I had to look up a function to limit a string to words for that, I am not sure how well that works. You might have to pass this to a developer to review it.
The $title_limit_per_line variable was removed, instead there is now only a $title_limit variable. Change that one to the number of words you need to reduce the original title to, before the additions.
I have not overwritten the previous gist, so the new code is here: