*
* @package WordPress
* @subpackage Beautiful
* @since Beautiful 1.0
*/
if( !class_exists("beautiful_content") ) :
/**
* functions for content area
*/
class beautiful_content extends beautiful_core {
/**
* content start
*/
public function content_start() {
echo '';
}
/**
* end of the blogroll content
* @param query $query
* @return navigation
*/
public function content_end($query = "") {
?>
blog_navigation($query) ?>
home-slider-half-width
* 1920×960 -> home-slider-full-width
*
* @var string
*/
if( $thumbnail == "home-slider-full-width" ) :
?>
' . __("previous posts", "beautiful") . '', $max_num_pages); ?>
' . __("next posts", "beautiful") . ' ', $max_num_pages); ?>
' . __("previous posts", "beautiful") . ' ', $max_num_pages); ?>
' . __("next posts", "beautiful") . '', $max_num_pages); ?>
spectrum_colors($number, $color, $diff);
}
/**
* make random color for boxes/lists at each call
* @return color
*/
public function random() {
echo $this->random_color();
}
/**
* make all boxes/lists same color
* @return color
*/
public function same_color() {
// get base color
$color = esc_attr( get_theme_mod("beautiful_same_color") );
// make it rgba with alpha 0.9
$color = $this->hex2rgba($color, 0.9);
echo $color;
}
/**
* return each box box color
* @param box number $number
* @return color
*/
public function box($number) {
// get color
$color = esc_attr( get_theme_mod("beautiful_box_" . $number) );
// make it rgba with alpha 0.9
$color = $this->hex2rgba($color, 0.9);
echo $color;
}
/**
* return carousel
* @return carousel
*/
public function get_carousel() {
// full width carousel
if( esc_attr( get_theme_mod("beautiful_homepage_slider_style") ) == "full_width" ):
echo $this->carousel("home-slider-full-width");
// half width carousel
else:
echo $this->carousel("home-slider-half-width");
endif;
}
} // class beautiful_content extends beautiful_core
endif; // if( !class_exists("beautiful_content") ) :