Saltar navegación

[Cerrado] taxonomy-based output

This support ticket is created 2 years, 3 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Minesh 2 years, 3 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2686177
jasper-mockup.jpg

When our rescue dogs are adopted, we change the taxonomy from Available to Alumni which moves them from this archive page enlace oculto to this one enlace oculto

Users are still accessing individual dog profiles through Google or other sites that give the appearance an alumni dog is still available, so I added:

[wpv-conditional if="( CONTAINS(#(dog-taxonomy),'alumni') )"]<h2>[wpv-post-title] has already found a furever home.</h2><p>Please visit enlace oculto for our currently available dogs.[/wpv-conditional]

See on front end: enlace oculto

How would I further tell it to not display the About info, etc. so the page is just this?

#2686223

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you do not want to display the dog profile page if it has been assigned a taxonomy term "alumni" - what if you add conditional display on your dog profile page conditional statement that if taxonomy term "alumni" is assigned then you can hide the result.

#2686531
jasper-mockup.jpg

I don't want to create a 404. I just want it to return different content if the taxonomy is "alumni."

Please see image.

#2686596

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

You can check the taxonomy term and display the conditional content using the [wpv-conditonal] shortcode.

I already see you are using it:

[wpv-conditional if="( CONTAINS(#(dog-taxonomy),'alumni') )"]<h2>[wpv-post-title] has already found a furever home.</h2><p>Please visit <em><u>enlace oculto</u></em> for our currently available dogs.[/wpv-conditional]

Do you mean you want solution when taxonomy term is NOT alumni?

El debate ‘[Cerrado] taxonomy-based output’ está cerrado y no admite más respuestas.