This support ticket is created hace 6 años, 7 meses. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Tell us what you are trying to do?
Hello,
I'm developing a site for a insurance company , with differents 'content templates' for each custom post type (depending of the goup of insuraces) .
3 in total: Insurances for enterprises , particular insurances , RC insurances
All the 3 custom types have a taxonomy: Online recruitment , Office hiring
For the time being, although the three templates are the same, I have made them separate in case in the future the client wanted to add different fields for each category. (Now, they have a description, coverages, others, & a button for more information that leaves to a contact form)
So now, the client want to add an aditional button only for the custom types with a determanted taxonomy. In this case he wants add a second button for 'hire online'
I'm not sure how to ad a custom type for a taxonomy, because now there are costom post type with this same taxonomy in the 3 custom post types.
Is there any documentation that you are following? Toolset help
Is there a similar example that we can see? i think only in our site.
What is the link to your site? enlace oculto
and an example of this type of custom post that we need add a second button is: enlace oculto
If you see the mega menu , you will see the post with 'online hiring'. Its not a custom post, i need :
- Or add this button only for a taxonomy
- Or made a conditional custom templete that appears for this taxonomy (that its in 3 types....)
I not sure how made that. I hope i explained well, my english is a liittle bit poor.
I did not understand the solution, because I did not know exactly where I had to put the code. I saw in the attached documentation that a particular view was created and that the condition showed one or another template. But I do not know if it's because I used visual composer or for what reason, but it gave me errors in the loop. For that reason I tried to do it in another way, since this code and the documentation made me try to make a conditional on the same button and it worked for me. I hope I have applied it correctly.
What I have done is make a block of text in the visual composer where I add the button that I want to appear only in online hiring.