August 28, 2014 at 8:26 am
#13359
Theme Horse Support Team
Keymaster
Hi Paperdavid,
You need code customisation for it. You just simply go to the theme folder -> library -> structure -> header -extension.php
Can you see this code
if( has_post_thumbnail() ) {
$attitude_featured_post_slider .= '<figure><a href="' . get_permalink() . '" title="'.the_title('','',false).'">';
$attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).'</a></figure>';
}
if( $title_attribute != '' || $excerpt !='' ) {
$attitude_featured_post_slider .= '
<article class="featured-text">';
if( $title_attribute !='' ) {
$attitude_featured_post_slider .= '<div class="featured-title"><a href="' . get_permalink() . '" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->';
}
if( $excerpt !='' ) {
$attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->';
}
$attitude_featured_post_slider .= '
</article><!-- .featured-text -->';
}
remove this code and add this code
if( has_post_thumbnail() ) {
$attitude_featured_post_slider .= '<figure><a href="#" title="'.the_title('','',false).'">';
$attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).'</a></figure>';
}
if( $title_attribute != '' || $excerpt !='' ) {
$attitude_featured_post_slider .= '
<article class="featured-text">';
if( $title_attribute !='' ) {
$attitude_featured_post_slider .= '<div class="featured-title"><a href="#" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->';
}
if( $excerpt !='' ) {
$attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->';
}
$attitude_featured_post_slider .= '
</article><!-- .featured-text -->';
}
From here you slider and all content is displayed but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
Thank you!