Custom Blog Loop Component Options

That seems like a great use for the new blog components. Although there isn’t a way to show the pictures at the moment, I think that the custom fields idea could solve it.

It’s still early but this is roughly how it would work:

  • You will create a custom field named “Characters” which will be a dropdown that lets you pick multiple values, and configure it with your character’s names.
  • Inside blog loop, you will add an image for each of your character’s headshots.
  • In the component options, we will add a settings group called “Blog Loop Conditional Display” or similar. There you will set each of the images to display only if that character is selected in the “Characters” dropdown.

This is just the initial idea, we may think of an easier way to implement this type of functionality. An alternative to “Blog Loop Conditional Display” would be if Blog Loop adds all the selected values as CSS classes, and we leave it to the user to use CSS to style each card and show/hide elements.

We would love to hear others’ thoughts about this.

2 Likes