Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Incorrect URLs for Learnpress Lessons in Search Results › Reply To: Incorrect URLs for Learnpress Lessons in Search Results
May 9, 2017 at 1:56 am
#13021
Hi, Ernest:
I think you are saying to add this line to one of the theme’s files…
$l = new LP_Lesson( get_the_ID() );
…but I am not sure which file to put it in. HelpGuru has a number of PHP with the word “search” in them. Any additional context you can provide so I can find the correct location?
And by “changing the result anchor link,” I think you mean an Ajax Search Pro setting, right?
Please advise and thank you for any help you can provide.
Thanks, Steph