Thanks, Kevin! I’ve just had a look at the child theme you have for download for Pinnacle. The functions.php doesn’t include the $parent_style. This is the code I was hoping to get to:
`<?php
function my_theme_enqueue_styles() {
$parent_style = ‘<strong>parent-style</strong>’; // This is ‘twentyfifteen-style’ for the Twenty Fifteen theme.
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’ );
?>`
Does the functions.php not require all this? I’m totally clueless, but basically, I wanted to create a child theme so I can keep a modification I made to the entry-meta-subhead.php from one theme update to the next.
I already have this in the style.css under the pinnacle child folder
/*
Theme Name:Pinnacle Child
Theme URI:https://kadencethemes.com/product/pinnacle-free-theme/
Description:Pinnacle is a bold theme with versatile options and multiple styles. This theme is loaded with features and tools that allow full creativity to be released into a unique site. Built with a modern flat design, its fully responsive layout make for easy navigation on mobile/tablet displays. Pinnacle is perfect for any kind of business, online store, portfolio, or personal site. It is fully compatible with woocommerce and gives you a unique layout for an ecommerce site. Pinnacle was built and designed by <a href="http://kadencethemes.com/">Kadence Themes</a>.
Version:1.0.0
Author:Kadence Themes
Author URI:https://www.kadencethemes.com/
Template: pinnacle
Tags: grid-layout, two-columns, one-column, custom-colors, custom-menu, featured-images, translation-ready, theme-options, e-commerce, photography, portfolio
License: GPL
License URI: http://www.gnu.org/copyleft/gpl.html
Text Domain: pinnacle-child
*/