Feature request: css class on no_posts_message
-
Loving this plugin, and have been using it for years now. I wonder if I’m just missing a feature, or if this is one you could add…
I currently have the following shortcode:
[display-posts tag="mid-winter-mojave" image_size="large" include_excerpt="true" wrapper="div" wrapper_class="display-posts-listing-grid" posts_per_page="20" columns="1" include_date="false" date_format="M j, Y" order="ASC" orderby="date" no_posts_message="Let's not get ahead of ourselves, this trip is coming soon...Consider subscribing to be notified when it's here!"]Works great. Mostly.
When there are no posts to show, it shows the no_posts_message, but shows it in a simple
<p>and there’s no way to style it. the wrapper and wrapper_class can’t be used, because they are not output.It’d be great if the no_posts_message had a class set on the element, or a way to set such a class using another attribute (perhaps no_posts_message_class or some such).
Thanks!
The topic ‘Feature request: css class on no_posts_message’ is closed to new replies.