This is the Photo Contest Winner archive. In there, look at the first field present after the feature image. This field is called Winner. We would like to make the display of this field conditional on if the value for the field is Yes. So for the one that is Yes, we want Winner: Yes to display. But for all the other posts, we do not want Winner: No to display. I tried making it a conditional field and thought I was doing it correctly, but the Winner: No output on the other posts persisted. So that's when I decided to ask you about this because I'm not sure if I was setting up the conditional field correctly.
Please check how I've configured the conditional block:
=> hidden link
As you set to store the value for Winner field when checkbox is checked is "Winner", we need to check against the value "Winner" as you can see how its configured with the conditional block:
=> hidden link
Awesome! Thanks for the fix on issue #1. I'm glad that looks like it was an easy fix and seeing the way you coded it, I don't feel bad that I couldn't figure that out myself.
Do you have any documentation or tutorial information about placing elements like [wpv-post-title] like this within HTML? I don't have a specific need to do anything else like this right now, but I can see where knowledge of how to add fields and other data using this approach might be helpful for future needs. If there is a list of all post elements and field shortcodes that can be used like this, that would be very helpful to see.
Glad to know that solution I shared help you to resolve your issue. As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue reported.
Next time, kindly open a new ticket for every question you may have. Thank you for understanding.
Awesome again on fix #2! I'm looking at where you set the condition and that looks like you did it exactly the way I tried to do it. So now I'm just unclear on what you did differently to make it work. I'd like to get to where I can do this myself without having to bother you with another support thread.
I converted your work to HTML so I could make the Winner: text bold to keep that consistent with the other fields. That worked.
OK, I've now studied this a little more to try to recreate what you did myself as another field under the other ones. I think I'm now seeing what I did wrong. Tell me if this sounds correct to you. I set up a Conditional the same way you set it up. But it didn't show anything. I think the reason for that is I didn't realize the Conditional is just a container. I didn't add the single field display within the Conditional container before. I thought the Conditional was the display of the field I was choosing. I now added the single field within the Conditional container and it is now showing the Yes result but not the No results. I think that was it.
That page with the shortcodes is exactly what I was hoping you'd have. Thanks. Sorry for asking these questions within the same thread. They were just sub-issues within the main issue so I kept it in here. I'll create new support tickets going forward.
I get it now with using Conditionals. Thanks for the help. Looking at the Doc on this, that's great that Conditionals can be used based on User Roles too. I wasn't even thinking about that and likely would have ended up starting a new support ticket for that when the need arose. But now that I've seen this, I'll know how that's done already. Great.
So far your plugin is meeting all our advanced functionality needs. I haven't seen anything yet to lead me to think it won't be able to do what we need, which is very good. I think everything is just a matter of learning how to make it all work. It is a pretty steep learning curve though. I'm used to being able to just play around with different settings until I can make it work and that usually succeeds. I'm getting stumped more than usual with using Toolset, but I still have confidence that it can do it all and the problem is solely my lack of experience using the plugin and all its features. Hopefully I'll do better with the set up of future functionality as I get more familiar with everything and will require gradually less support with everything. Thanks a bunch again and this ticket can now be considered done. I'll check the resolved button next.