Tell us what you are trying to do? I would like to differentiate between basic business listings and featured business listings in the directory. I would like this to be available as a selection: choice: featured or basic when a listing is created? Then apply different layout to those with the featured listing. I will need this to be seen in CREDS and the back end. How do you do this?
do they need to be a separate custom post? how can the query tell them apart?
I would recommend that you use different CPT for your regular listing and featured listing as with this we can assign a different layout to them automatically.
I'm not sure which query you're mentioning. Is this a view query to display the listings?
Dear Shane, sorry for the delay in replying I have been have a tech issue where all my content kept disappearing!! Its back now so I would like to get back to this support ticket....
If I set them up as 2 custom post types with separate custom form fields.
I then need to build a CRED form where the client can select basic or featured listing or do i need 2 forms? I currently only have 1 business listings form on the front end. (i currently use contact form 7 but want to change to CRED)
Can I do it with 1 form? if yes how?
If i need 2:
Once I create the 2 CRED forms with all the fields. How do i set this up on the front end. In my mind:
- I want the same look and feel of the screenshot (see hidden link) featured /basic listings
I know I can achieve this with CSS but there is not enough space for 2 so if I were to use buttons instead that hyperlinked to a separate page would that work?
How do you link from a button to a CRED form?
Thank you - they may be simple questions but I cannot work it out I need a big picture so I know how it all works / links-in with existing wordpress
Unfortunately no this won't be possible with 1 form.
You will need 2 .
For your explanation of 2 forms i'm a bit confused. Are you referring to that there might not be enough space for the 2 forms ?
How do you link from a button to a CRED form?
a. You can add the form to a page and then create a button on another page that links to that form. This button can be made to link to the forms using some javascript.