Adding function from parent theme to child theme

In your child functions file, try: remove_action(‘admin_init’, ‘kioken_builder_init’); function ben_kioken_builder_init() { if ( defined(‘WPB_VC_VERSION’) ) { //etc } } add_action(‘admin_init’, ‘ben_kioken_builder_init’); You don’t need the if(is_admin()) check because admin_init only fires on admin pages.

What might cause a featured image not to display?

The php extension PHP GD was not installed on my dev machine. Installing php5-gd resolved this – sudo apt-get install php5-gd Stepping through using xdebug revealed that the theme’s aq_resize function was failing at the following code: else { $editor = wp_get_image_editor($img_path); if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) … Read more

WordPress + Child Theme = Am I missing something?

Actually @Pieter Goosen took care of the issue when he corrected the Codex and removed the call to the extra style sheet. So in fact this works the way it should add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ ); function theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ ); } Thanks Pieter.

CSS stopped working after line 150 [closed]

It seems to me that you’ve not declared ‘lora’ in your stylesheet…all I can see is lorabold, lorabold_italic, loraitalic, loraregular. So I imagine that the css is being interpreted as font-family: !important; and although I’m not 100% I’m pretty sure this is what’s causing your problem. Try changing #wr-promo-title h1 {font-family: ‘lora’ !important;} to #wr-promo-title … Read more