Here you can showcase the x number of Featured Content. You can edit this Headline, Subheadline and Feaured Content from "Appearance => Theme Options => Featured Content Option".
';
echo $adventurous_default_featured_content;
}
}
if ( ! function_exists( 'adventurous_homepage_featured_content' ) ) :
/**
* Template for Homepage Featured Content
*
* To override this in a child theme
* simply create your own adventurous_homepage_featured_content(), and that function will be used instead.
*
* @uses adventurous_main action to add it in the header
* @since Adventurous 1.0
*/
function adventurous_homepage_featured_content() {
//delete_transient( 'adventurous_homepage_featured_content' );
// Getting data from Theme Options
$options = adventurous_get_options();
$quantity = $options['homepage_featured_qty'];
$headline = $options['homepage_featured_headline'];
$subheadline = $options['homepage_featured_subheadline'];
$layouts = $options['homepage_featured_layout'];
if ( !$adventurous_homepage_featured_content = get_transient( 'adventurous_homepage_featured_content' ) ) {
//Checking Layout
if ( 'four-columns' == $layouts ) {
$classes = "layout-four";
}
else {
$classes = "layout-three";
}
//Checking headline and subheadline
$adventurous_homepage_featured_content = '