• 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

Genesis Slider Plugin – Only Show Content Overly Box When There Is Content

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 › Genesis Slider Plugin – Only Show Content Overly Box When There Is Content

This topic is: not resolved

Tagged: Genesis Slider Plugin

  • This topic has 1 reply, 1 voice, and was last updated 13 years, 9 months ago by KelliS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 16, 2012 at 7:23 pm #390
    KelliS
    Participant

    I am using the Genesis Slider at http://www.surfpines.org and they want to add a content box overlay to only the first slide. The problem is that if I enable content to be shown in the slider settings, it shows the empty white box for the other slides that don't have content too.

    Can we use an if empty statement to check if there is content to show before displaying that white overlay box? That way it would only show up for ones that do have content. I tried adding something like this to the plugin.php file right above where it started the box div but no luck.

    <code><div> <?php if ( $show_excerpt == 1 || $show_title == 1 ) { ?> <?php if(!empty($slider_posts->post_content)) { ?> <div></code>

    Thanks for your help!

    November 26, 2012 at 2:18 pm #1739
    KelliS
    Participant

    Anyone have any ideas with this - if this is possible to do?

    I'm sorry for posting again, but I originally posted the day that my.studiopress.com came out and so I think it got lost in the old forum and not seen in the new.

    Thanks again!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

© 2026 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