change the $content_width

Is there are better way to change this (annoying) variable please? The Twenty Sixteen theme provides you with the twentysixteen_content_width filter, where the default is 840. To modify it you should be able to use this within your child theme’s functions.php file: add_filter( ‘twentysixteen_content_width’, function( $content_width ) { // Override the default 840 content width … Read more

Overriding a parent theme folder in the child theme

Try using get_stylesheet_directory_uri() instead of bloginfo(‘template_directory’). This function will give you the path to the style.css of your currently activated theme (the child theme). From there you can navigate to all sub-folders in your child theme folder. <button id=”buy” type=”submit”><img src=”https://wordpress.stackexchange.com/questions/251648/<?php get_stylesheet_directory_uri(); ?>/img/Buy-Now-Button.jpg” border=”0″ width=”160″ height=”47″ title=”” alt=”Buy One” style=”cursor:pointer;”></button>

Filter and modify entry-footer link in twentyseventeen

The category link that you are referring to, that is displayed beneath the single post page content is not added with a filter. It is displayed via a function called twentyseventeen_entry_footer(). If you take a look at the themes files you can find the function on line #59, within the file: /wp-content/themes/twentyseventeen/inc/template-tags.php Here is the … Read more

Child theme not using parent theme css/styles/formatting?

The theme you’re trying to use as a parent, Grow Minimal, is a child theme of the Grow theme. It’s not possible to create a child theme of another child theme without writing custom code workarounds. In your code, these two lines just do the same thing twice: wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ ); wp_enqueue_style(‘thinkup-style’, … Read more