Skip Navigation

[Closed] taxonomy-based output

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 year, 5 months ago.

Assisted by: Minesh.

Author
Posts
#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 hidden link to this one hidden link

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 hidden link">Available for Adoption for our currently available dogs.[/wpv-conditional]

See on front end: hidden link

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

#2686223

Minesh
Supporter

Languages: English (English )

Timezone: 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
Supporter

Languages: English (English )

Timezone: 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 <a href="<em><u>hidden link</u></em>">Available for Adoption</a> for our currently available dogs.[/wpv-conditional]

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

The topic ‘[Closed] taxonomy-based output’ is closed to new replies.