Unhook action from child theme

I have decided to use a WooCommerce Storefront child theme called Galleria, when I have previously used the Storefront theme I have used the common remove_action to unhook the defaults and replaced with my own add_action. However as Galleria is a child theme of Storefront, it has its own add_action in the file class-galleria-structure.php though … Read more

TwentyTwelve child theme mobile menu not working

I have a pretty simple child theme of Twenty Twelve active, but the mobile menu does not expand when pressed. Here is header.php: <?php/** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id=”main”> * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve … Read more

Can’t Install Child Theme “The parent theme is missing. Please install the “Default” parent theme.”

This is my first time installing a child theme and I ran into some errors Here’ the style.css /* Theme Name: WD TechGoStore-child Theme URI: http://wpdance.com/ Description: Commerce Template Author: WPDance Team / WPDance.com Author URI: http://wpdance.com/ Version: 1.0.3 Template: Default Template Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, full-width-template, rtl-language-support, sticky-post, theme- options, … Read more

how can I remove the sidebar from my wp homepage [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago. What’s the best practice when it comes to … Read more

child theme inherticance and php autoload

I wrote this method in a parent them that will auto load a class based on the class name, thus if the class name is: SomeFolder_Folder_Folder_Class.php then it will convert that to: SomeFolder/Folder/Folder/Class.php and load it if it exists: public function load_class($class){ $path = str_replace(‘_’, “https://wordpress.stackexchange.com/”, $class); if(file_exists(get_template_directory() . “https://wordpress.stackexchange.com/” . $path . ‘.php’)){ require_once(get_template_directory() … Read more