Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Conditional brackets – either/or possible? › Reply To: Conditional brackets – either/or possible?
Wow, thanks a lot for your effort!
I tried your code, but here’s what it does for me:
If $field1 has a value, the Advanced Description Field (where I inserted the {asp_my_custom_field_code}) only shows that value, but nothing else any more. The rest of the Advanced Description Field is deleted. If it doesn’t have a value, it returns nothing and shows the rest of the field as usual.
Do you have a quick idea how to make it that the field still shows the rest, but inserts the value of the function?
I don’t want to bother yo too much with this 🙂
Thanks a lot and have a great day!