Thank you for sharing the access details.
I understand that the "deadline" is a date/time type field, whereas the "archive" is a checkbox type field.
During testing on my website, I couldn't make the template level conditional assignment work with the date/time type custom field or even evaluate it based on a custom shortcode that process these field values, in the background.
To achieve something like this, you'll need to distribute your content for the "Get Involved" post type into 3 different content templates:
1. The main "Get Involved Template" will be assigned to all the "Get Involved" posts.
In this template, you'll add two conditional blocks, one for when your desired condition is true and the other when it is false.
The condition that you're trying to evaluate should be fairly simple when used from inside the conditional blocks.
True condition:
( ( $(wpcf-deadline) gt 'NOW()' ) OR ( ( $(wpcf-deadline) lte 'NOW()' ) AND ( $(wpcf-archive) eq '0' ) ) )
False condition:
NOT ( ( $(wpcf-deadline) gt 'NOW()' ) OR ( ( $(wpcf-deadline) lte 'NOW()' ) AND ( $(wpcf-archive) eq '0' ) ) )
2. You'll create a second content template named "Get Involved Template - Condition True" that will hold only the content that should be shown when the condition is true.
3. After that, you'll create a third content template named "Get Involved Template - Condition False" that will hold only the content that should be shown when the condition is false.
Once these content templates are ready, you'll add them in the respective conditional blocks, added in the main "Get Involved Template", so that each one is loaded only when the condition is true or false.
I hope this makes sense and let me know if you need any further assistance around this.