Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action( 'wp_enqueue_scripts', 'hashone_enqueue_styles' );
- function hashone_enqueue_styles() {
- wp_enqueue_style( 'hashone-parent-style', get_template_directory_uri() .
- '/style.css' );
- }
- /*
- * Theme Name: HashOne Child
- * Template: hashone
- * Text Domain: hashone-chile
- */
- <?php
- add_action( 'wp_enqueue_scripts', function() {
- wp_enqueue_style( 'hashone-parent-style', get_template_directory_uri() . '/style.css' );
- });
- #site-title {
- color: #000000;
- background: #ffffff;
- }
- #site-title {
- color: #ffffff !important;
- background: #000000 !important;
- }
- get_theme_file_uri()
- get_parent_theme_file_uri()
- get_theme_file_path()
- get_parent_theme_file_path()
- get_stylesheet_directory_uri()
- get_template_directory_uri()
- get_stylesheet_directory()
- get_template_directory()
Add Comment
Please, Sign In to add comment