I'm trying to hack the blog's "featured post" feature to easily toggle a listing as available (button prompts user to apply) or unavailable (button prompts user to join waitlist). The text on the button as well as the link would change for each case. Additionally there's a text box I'd like to hide when the post is not marked as featured. I've played around with code blocks and code injections, but can't figure out how to correctly query if a post is featured. Is this even possible?
Show/hide text and button if blog post is featured
in Customize with code
Posted
Site URL: https://strawberry-lobster-ajlp.squarespace.com/listings/blog-post-title-two-t5jz2
I'm trying to hack the blog's "featured post" feature to easily toggle a listing as available (button prompts user to apply) or unavailable (button prompts user to join waitlist). The text on the button as well as the link would change for each case. Additionally there's a text box I'd like to hide when the post is not marked as featured. I've played around with code blocks and code injections, but can't figure out how to correctly query if a post is featured. Is this even possible?
Site PW: AardvarkBadgerCougar