• 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 Responsible Slider: Pulling custom fields

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 Responsible Slider: Pulling custom fields

This topic is: not resolved

Tagged: Custom fields, genesis responsive slider

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 11 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 8, 2014 at 10:09 pm #84113
    mediacampana
    Member

    will try to explain as simply as i can:
    I´m trying to modify the genesis responsive sider to pull before the title a custom field called "copete"
    So i went to genesis-responsive-slider.php and about line 629 i modify the code like this (added code is explianed in the code)

    Somehow it didnt work. What i am missing?
    Do i have to declare the custom field in functions.php?
    Can someone give me some tips?
    Thanks in advance.

    <?php if ( $show_excerpt == 1 || $show_title == 1 ) { ?>
    
    						<div class="slide-excerpt slide-<?php the_ID(); ?>">
    
    							<div class="slide-background"></div><!-- end .slide-background -->
    
    							<div class="slide-excerpt-border ">
    
    								<?php
    
    									if ( $show_title == 1 ) { 
    
    								?>
    								<!-- Add this to pull the custom field called copete -->
    								<p align="right" > <?php $key="copete"; echo get_post_meta($post->ID, $key, true); ?></p>
    								<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    								<?php 
    
    									}
    
    									if ( $show_excerpt ) {
    
    										if ( $show_type != 'full' )
    
    											the_excerpt();
    
    										elseif ( $show_limit )
    
    											the_content_limit( (int)$show_limit, esc_html( $more_text ) );
    
    										else
    
    											the_content( esc_html( $more_text ) );
    
    									}
    
    								?>
    
    							</div><!-- end .slide-excerpt-border  -->
    
    						</div><!-- end .slide-excerpt -->
    February 21, 2014 at 10:49 am #91697
    Susan
    Moderator
    This reply has been marked as private.
  • 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