Tagged: responsive slider
Is there a way to display a posts meta on the slider? Like the date, category(ies), and author?
It depends on what slider you are using. Most of them work off of posts... and anything in the post shows up in a caption box. If so, just put the meta data in each post via the WP editor.
I think the Soliloquy slider might have the ability to grab the meta and put it in the caption for you.
I'm using the Genesis Responsive Slider. I see the option for displaying a post's content and title. Maybe there's a hack that can go into the plugin file to get the meta?
I ended up editing the plugin file. Not ideal since I may be using this plugin on multiple sites of my network...but it works for now. Maybe this could be a feature request for the next version?
In `genesis-responsive-slider.php` on line 323, I added this:
<div class="date"><?php echo get_the_date(); ?></div>
$category = get_the_category();
echo '<a href="'.get_category_link($category->term_id ).'">'.$category->cat_name.'</a>';
It works for what I need in the meantime.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!