Skip Navigation

[Resolved] Basic and featured listings

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 6 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#617408

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?

What is the link to your site? hidden link

#617486

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Holly,

Thank you for contacting our support forum.

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?

Please let me know.
Thanks,
Shane

#619177
Snip20180222_23.png

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

Kind regards,

Holly

#619202

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Holly,

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.

Was this clear?

Please let me know.
Thanks,
Shane