advance/utilities.php
function a13_bg_image()
//page/gallery individual if(get_post_meta(get_the_ID(), '_bg_settings', true) == 'bg_image'){ $bg_image = get_post_meta(get_the_ID(), '_bg_image', true); $bg_color = get_post_meta(get_the_ID(), '_bg_image_color', true); $fit = get_post_meta(get_the_ID(), '_bg_image_fit', true); } //global setting else{ $bg_image = $apollo13->get_option( 'appearance', 'body_image' ); $bg_color = $apollo13->get_option( 'appearance', 'body_bg_color' ); $fit = $apollo13->get_option( 'appearance', 'body_image_fit' ); }
//page/gallery individual if(get_post_meta(get_the_ID(), '_bg_settings', true) == 'bg_image'){ $bg_color = get_post_meta(get_the_ID(), '_bg_image_color', true); $fit = get_post_meta(get_the_ID(), '_bg_image_fit', true); } //global setting else{ $bg_color = $apollo13->get_option( 'appearance', 'body_bg_color' ); $fit = $apollo13->get_option( 'appearance', 'body_image_fit' ); }
if(!empty($bg_image) || !empty($bg_color)){ $html = ''; } echo $html;
$bg_image = array( 'http://hypershot.theme.apollo13.eu/wp-content/uploads/sites/3/2013/07/shattered.jpg', 'http://hypershot.theme.apollo13.eu/wp-content//uploads/sites/3/2012/11/002.jpg', 'http://hypershot.theme.apollo13.eu/wp-content//uploads/sites/3/2012/11/003.jpg', 'http://hypershot.theme.apollo13.eu/wp-content//uploads/sites/3/2012/11/004.jpg', ); $rand_key = array_rand($bg_image); if(!empty($bg_image) || !empty($bg_color)){ $html = ''; } echo $html;
$bg_image
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You could do such changes:
go to
advance/utilities.php
line around 366, there you will findfunction a13_bg_image()
change: to and this part change to And insert your images in
$bg_image
array, or use current as example.With regards.