Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › A couple questions › Reply To: A couple questions
October 11, 2016 at 6:56 pm
#10450
Keymaster
Oh I see why now, there is one missing “&” sign in the foreach loop code, dang it!
Additionally, based on your screenshot I’ve constructed a possible solution, including getting the fields and checking if they are empty as well. The “the_field” function would not work in this case, as this is not a classic wordpress posts loop, so each field needs to be parsed separately:
I actually haven’t tested this code, but I’m almost sure it will place the HTML code into the results.