Tagged Questions
0
votes
1answer
17 views
Child Theme - what is the scope of overwriting files?
I noticed that creating twentythirteen-child/archive.php overwrites twentythirteen/archive.php but creating twentythirteen-child/shortcodes/drop-cap/drop-cap.php does not overwrite ...
0
votes
1answer
22 views
Modular CSS and JS in Child Themes
Let's assume that twentythirteen/shortcodes/ exists and inside are folders with shortcodes. 1 folder = 1 shortcode. Each shortcode has: 1 PHP file, 1 CSS file, 1 JS file.
...
0
votes
1answer
14 views
Including style.css in Child Theme
Twenty Thirteen uses wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri() ); in functions.php.
Wheter I use it or not use it in twentythirteen-child/functions.php the style.css from Child ...
0
votes
1answer
14 views
Including files in Child Themes
Twenty Thirteen uses the following in functions.php: require( get_template_directory() . '/inc/custom-header.php' );. When I copy /inc/custom-header.php to twentythirteen-child, it isn't replaced. I ...
2
votes
2answers
413 views
Adding Custom Javascript to Skeleton Child Theme
I'm trying to register & enqueue ImageMapster in my Skeleton Child Theme on the main.php page to make an image map with hovering image effects. I added this code to the "Header Functions" section ...
2
votes
1answer
1k views
How do I dequeue a parent theme css file?
My parent theme (Starkers) adds a CSS file that I'm trying to remove (I want to use @import instead so I can override styles more easily). Starkers has the following in its functions.php:
add_action( ...
0
votes
0answers
72 views
Child-theme, deactivate function from parent [duplicate]
Possible Duplicate:
How do I dequeue a parent theme css file?
I'm working on a child-theme from Starkers.
However, I can not disable wp_enqueue_script(), because I do not want to use the ...
0
votes
1answer
122 views
Page not found when trying to link to files in child theme directory
I'm trying to create a child theme based on Toolbox 1.4 by Automattic.
I have my scripts file saved as child_theme/js/scripts.js on my server and I enqueue it by using
wp_enqueue_script( 'scripts', ...
0
votes
2answers
1k views
How do I get a child theme to load scripts from the parent theme?
Pretty new to WordPress functions, so apologies if this is basic stuff.
I've designed a parent theme that registers and enqueues two scripts like so:
if ( !function_exists( 'scherzo_scripts' ) ) ...