Hello everybody,
I have a question.
I’ve used a query loop to create a simple job board. This works fine, but the client wants the jobs that are taken to have greyed out text and no apply-button. Is there an easy way to do this?
Thanks!
Hello everybody,
I have a question.
I’ve used a query loop to create a simple job board. This works fine, but the client wants the jobs that are taken to have greyed out text and no apply-button. Is there an easy way to do this?
Thanks!
Maybe you can create a meta field for text color and a meta field for job status. In the loop, you can use conditions to display button (check job status). Hope that makes sense. Best regards.
Thanks for your reply.
For the button this should work. But I don’t know how to use this for greying out the text. The condition only makes it visible or not-visible.
Don’t know what your exact setup looks like but something similar to this should work
Depending on your setup you might not even need a function, just a custom field to insert as attribute.
Once you have that you can style anything inside a listing based on that attribute selector.
Thanks! I’ll give that a try.