Conditional Logic on Labels
-
Hi!
I’d like to apply conditional logic to the labels that are displayed.My blog posts have 2 fields:
Post_Type
Commercial_PostI’d like to display a label and then the Commercial_Post field’s content.
But the label should change.
If Post_Type=”Value1″ then the label would be “AAA”
If Post_Type=”Value2″ then the label would be “BBB”So imagine this data on the post:
Post_Type=Value1
Commercial_Post=CompanyNameI’d like to display “AAA CompanyName” on my blog.
Is this possible with your hooks? If so, would you mind helping me to know how to use them for this scenario? Thanks very much!!!
- The topic ‘Conditional Logic on Labels’ is closed to new replies.