HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/dev/dev-dreamstour-wp/wp-content/themes/dreamstour/inc/typo.php
<?php
/**
 * @Set Post Views
 * @return {}
 */
if (!function_exists('dreamstour_add_dynamic_styles')) {
     function dreamstour_add_dynamic_styles() {
		global $dreamstour_theme_options;
          ob_start();
         ?>
        <?php

   $breadcrumb_image = $dreamstour_theme_options['breadcrumb_image'];
    
   $breadcrumb_image_url = isset($breadcrumb_image) && $breadcrumb_image != '' ? $breadcrumb_image['url'] : '';
    if($breadcrumb_image_url) {
   ?>
    
.breadcrumb-bar {
  background-image: url("<?php echo esc_url($breadcrumb_image_url); ?>");
  background-size :cover;
}
 
<?php
   } 
   $theme_primary_color = !empty( $dreamstour_theme_options['primary_color'] ) ? $dreamstour_theme_options['primary_color'] : '';
  
			 ?>
 
   <?php  
	  
   if (!empty($theme_primary_color)) {
                 ?>
				
				  :root {--dreamstour_primary_color:<?php echo esc_html( $theme_primary_color );?>;}
   <?php } 
		 
        return ob_get_clean();
    }

}