Reply To: A couple questions

Ernest Marcinko
Ernest Marcinko

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.

Ernest Marcinko

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