[Theme: Fourteenpress] Help removing function in child theme.
-
Hi, I am still learning how to use a child theme properly, so I could use some help.
I would like to remove the visual editor styling from my theme via the functions.php child theme, but I cannot figure out how.
My current child theme functions.php:
<?php /** * Functions and definitions for the Fourteenpress theme. */ add_action('wp_enqueue_scripts', 'fourteenpress_enqueue_theme_style'); function fourteenpress_enqueue_theme_style() { wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css'); } add_action('widgets_init', 'fourteenpress_remove_left_sidebar', 11); function fourteenpress_remove_left_sidebar() { unregister_sidebar('sidebar-1'); }
This is the part I would like to remove from the parent functions.php:
// This theme styles the visual editor to resemble the theme style. add_editor_style( array( 'css/editor-style.css', twentyfourteen_font_url(), 'genericons/genericons.css' ) );
Any help would be much appreciated!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Theme: Fourteenpress] Help removing function in child theme.’ is closed to new replies.