<?php
/*
Theme Designed By: S O R O U S H M A R K E T
Email: info@soroushmarket.ir
Demo Website: soroushmarket.ir
Author Website: soroushmarket.ir
*/
   add_action('wp_head', 'custom_styles', 160);
   function custom_styles() { 
   global $data;
   ?>
<style type="text/css">
   <?php if ($data['site_bg'] != '') { ?>
   body {
   background-image: url(<?php echo $data['site_bg']; ?>);
   }
   <?php  }?>
</style>
<?php }?>