Style Posts Based on Custom Fields
-
Hello, first time posting here. Loving the new Twenty Twenty Three theme. This one has me stumped though.
I’m looking for a way to assign unique CSS classes to posts called through a query loop.
I’m anticipating having about 8 different post styles I want to be able to switch between.
I think the neatest way to do this is via Custom Fields in each post as described on this page. But it’s an older article and have no idea how to implement this with the Twenty Twenty Three theme.
Are custom fields the best method for what I want to do? And if so, how can this be done?
Any assistance with this would be greatly appreciated!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Style Posts Based on Custom Fields’ is closed to new replies.