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/dreamssalon-wp/wp-content/themes/dreamsalon-child/functions.php
<?php
//
// Recommended way to include parent theme styles.
//   
add_action( 'wp_enqueue_scripts', 'dreamsalon_child_enqueue_styles', 10 );
function dreamsalon_child_enqueue_styles() {

  $parenthandle = 'dreamsalon-style';
  $theme = wp_get_theme();

  wp_enqueue_style( $parenthandle, get_template_directory_uri() . '/style.css',
      array('bootstrap'),  // if the parent theme code has a dependency, copy it to here
      $theme->parent()->get('Version')
  );
  wp_enqueue_style( 'dreamsalon-child-style', get_stylesheet_directory_uri() . '/style.css',
      array( $parenthandle ),
      $theme->get('Version')
  );
}
// Your code goes below