• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Responsive slider options

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Responsive slider options

This topic is: not resolved

Tagged: responsive slider

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 8 months ago by NWTD.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 20, 2013 at 10:03 am #41842
    NWTD
    Member

    Is there a way to display a posts meta on the slider? Like the date, category(ies), and author?

    May 20, 2013 at 11:13 pm #41966
    dev
    Participant

    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.

     

    NewMedia Website Design

     

    May 21, 2013 at 9:14 am #42025
    NWTD
    Member

    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?

    May 21, 2013 at 9:28 am #42026
    NWTD
    Member

    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="meta">
    <div class="date"><?php echo get_the_date(); ?></div>
    <div class="category">
    <?php
    $category = get_the_category();
    if($category[0]){
    echo '<a href="'.get_category_link($category[0]->term_id ).'">'.$category[0]->cat_name.'</a>';
    }
    ?>
    </div>
    </div>`

    It works for what I need in the meantime.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble