I'm attempting to customize a wordpress theme. I've added custom field cp_job with form submission. This indicates if the ad is either Buyer(Buying services) or Seller(selling services), which is now complete.
Now i want to fetch results based on buyer or seller. In this wordpress theme classipress they have ads on the side
I simply want to fetch ads which have the attribute buyer or seller, which i assume is under the mysql column cp_job. These ads will return the ad with all columns. Doing this in native PHP and mysql would be easy but working around this theme/wordpress is way more complicated as i don't understand wordpress syntax.
Any help greatly appreciated, this is urgent. Can i have an example?