$text
"; } // Slider url $link = get_theme_mod( 'featured_link'.$i , false ); if ( $link == '' or $link == false ) $link = get_permalink( $post->ID ); // Get post fetured image $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); // Buttton $button_bg = $button_color = ''; $button_text = get_theme_mod( 'featured_button_text'.$i , __('Learn More', 'great') ); if ( get_theme_mod( 'featured_button_bg'.$i ) ) $button_bg = get_theme_mod( 'featured_button_bg'.$i ); if ( get_theme_mod( 'featured_button_color'.$i ) ) $button_color = get_theme_mod( 'featured_button_color'.$i ); ?>