Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Theme Name: Tribe Child
- Theme URI: http://example.com/tribe-child/
- Description: Tribe Child Theme
- Author: John Doe
- Author URI: http://example.com
- Template: tribe
- Version: 1.0
- License: GNU General Public License v2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
- Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
- Text Domain: tribe-child
- */
- FUNCTIONS.PHP
- <?php
- function my_theme_enqueue_styles() {
- $parent_style = 'parent-style';
- wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
- wp_enqueue_style( 'child-style',
- get_stylesheet_directory_uri() . '/style.css',
- array( $parent_style ),
- wp_get_theme()->get('Version')
- );
- }
- add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement