Child theming is a safe way to modify a theme. A child theme inherits a "parent themes" styles and then can selectively override. This alternative to "destructive" editing allows for safe updating of the parent theme and provides an easy way to undo theme changes.

learn more… | top users | synonyms

0
votes
1answer
90 views

Child Header.php Not Showing On Other Pages

I created a child theme of the Twenty Sixteen Wordpress theme. I've read that I can edit the header.php file and it will change on all pages. My problem is, it is only changing for the home page. How ...
0
votes
2answers
28 views

Getting back a blank Wordpress site following functions code edit

I added some function code to the functions.php file of my child theme that has now set my entire site blank. Is the only way to get it back via cPanel and changing the theme back to the parent them ...
0
votes
2answers
77 views

Removed custom post type archive page shows blog page

On a website made with a purchased template, a custom post-type had an archive page. I didn't want that archive page, so I altered the custom post-type in a child-theme like so: function ...
0
votes
1answer
24 views

Creating a child theme after numerous edits to parent theme

So a quick explanation: I started messing with Wordpress a couple of years ago, having experience with HTML, CSS and some PHP. At that time I was paid a few hundred bucks to whip together a ...
1
vote
0answers
124 views

Can't get wp_title filter working in twenty sixteen child theme

I am having difficulty overriding the title set in the admin panel for a custom template page, and outputting a custom <title> tag. The parent theme is WordPress's stock Twentysixteen, which ...
0
votes
2answers
59 views

Give priority to child theme stylesheet

I've created a child theme and the main style.css works perfectly fine. However, the parent theme has another stylesheet which I want to import and create the same for child theme and use it instead. ...
0
votes
1answer
30 views

get_stylesheet_directory() in child theme breaks parent scripts

I tried hard finding another question that may answer my query but failed, so if you point any duplicates that would help. Here is my situation I have a parent theme and I am developing a child ...
0
votes
0answers
23 views

Override a __construct function in child theme

I'm trying to override a loop function in a child theme. I've tried a lot of things I found on google, but something fails, sometimes nothing change, sometimes I get a 500 error. This is the original ...
0
votes
1answer
25 views

custom post type does not working when adding in child theme function

I'm trying to register post type through child theme function.php but it does not working. However its working fine when i adding in the parent functions.php. add_action( 'init', 'testimonial' ); if ...
0
votes
0answers
49 views

Tesseract-Child: Editing CSS other than Style.css

I hope some one can help me. So here is what i want to do. I have tesseract theme by Tyler Moore. I want to change the color and style of the site name that appears in the header. No potion provided ...
0
votes
0answers
27 views

Child theme not overiding parent on some but not other elements

working locally so cannot link to site, but my issue is that I have changed the twenty twelve child theme .site-content to margin 0. I want to reduce the space between the header and the main content. ...
0
votes
0answers
36 views

Removing A Parent Theme Template

There is a template with code that I want to prevent the child theme from loading. All it does is load a little date box. What i've done is duplicate the hierarchy of that template file located in the ...
1
vote
0answers
34 views

Child Theme with multiple css files

I know this is a frequently asked question but I don't resolve it. I have make a child theme of a theme with multiple css file and I'm trying to copy them but I probably don't enqueues css files ...
0
votes
0answers
54 views

Child theme not loading parent layout

I am new to WordPress and I am just trying to help a friend customize his blog. I started doing this via the wp-admin Editor and CSS Editor until I found out this was a big no-no. So I set up a local ...
0
votes
1answer
27 views

Wordpress Child problem in admin

I created a child theme of Twenty Sixteen. It shows ok on the visitors' side, i.e. http://favrodsculpture.com. But in the admin, I can't upload images, can't log out etc... If I write a post, it does ...
0
votes
1answer
14 views

What happens to my older posts if I switch to a child theme?

I have a theme that has one custom post type. I want to mess with its templates and styles.css file. What happens to my older custom posts in case I switch to using the child theme. Do they vanish?
0
votes
0answers
25 views

Creating a WordPress website using WP-CLI

I really struggling to work this one out, its about WordPress / WP-CLI & BASH. Heres my script: if [ ! -f ".env" ]; then touch .env echo -n "Enter the DBNAME and press [ENTER]: " read ...
-4
votes
2answers
73 views

Why does twentysixteen take a free hand in dealing with longstanding usability principles?

In postings from 1996, Jakob Nielsen said that the research suggested that presenting visited and unvisited links in two separate colors is profoundly better than going with one-color-fits-all. He ...
-1
votes
2answers
38 views

What to do when child theme is out of date with parent theme

I inherited a site with Genesis as the parent theme and a Genesis child theme. The parent theme has smoothly been upgraded over the years. The child theme, however, was based on an older version of ...
1
vote
1answer
37 views

Override the function twentytwelve_scripts_styles in a child theme

I want to overide the function which enqueues scripts and styles in the theme Twenty Twelve using its child functions.php. I followed this guide but can't get it to work. Can someone suggest a ...
0
votes
2answers
25 views

How can I add some blocks to template without changing template file?

I'm working with the paid child Wordpress theme which I can not change because after it's update all my changes would be lost. I need to change post template (for castom post type, in my case it's ...
1
vote
1answer
61 views

Child theme functions.php not executing

I have the following in a child theme's functions.php file: <?php function theme_child_add_scripts() { wp_register_script( 'script', get_stylesheet_directory_uri() . ...
4
votes
0answers
100 views

How to override a function when isn't at functions.php

I am trying to override a function for a theme in the child-theme but I can't get it to work. At functions.php on the theme I can see this require_once line: ...
1
vote
1answer
57 views

How to add theme support?

I figured this would have been a question already, but I haven't come across it. I'm wondering what the correct hook for checking theme support is in a theme and also a plugin. function ...
0
votes
2answers
46 views

Why do Wordpress default themes specify fonts in so many places?

I noticed that fonts are specified in so many different locations in style.css of for example the TwentySixteen theme. .widget .widget-title. .site-title. .entry-footer. .site-footer ...
1
vote
0answers
19 views

Altered media sizes (in dash), not updating to existing images/posts

(I have searched but not found a satisfying answer – bear with me). I have a client that has a website with 1500 posts. Each post consists of ONE image, no text. I have changed to the Oria theme ...
1
vote
0answers
59 views

Include Parent functions.php in Child Theme functions.php

I'm trying to include my parents themes functions.php include into my child theme functions.php. I have a standard setup for a functions.php in my parent. This is what i have in my child themes ...
1
vote
1answer
42 views

Port existing Bootstrap site to WordPress?

I have an existing static site, built on top of Bootstrap, with custom CSS. Now I want to move the site to WordPress (yay). But I want to keep all the styling and layout in WordPress exactly the ...
2
votes
1answer
57 views

How to override functions.php in child theme?

I have a theme and I need to override some specific parts|behavior of it specifically on the functions.php file. I know the best practice here is doing this at child theme by placing a custom ...
0
votes
1answer
26 views

How to remove image on single product and get product to span page?

I'm using applay and have created some minor customisations with a child theme. I'm wanting to have a single product displayed without an image. I'm using this code in my theme's functions.php ...
0
votes
1answer
41 views

How Can I Use A Child Theme Effectively When Parent's CSS Is Located in a 'CSS folder'?

I already have a child theme and a new style.css for it, but CSS changes in my child theme's style.css don't do anything because the parent theme's different CSS stylesheets come from a "CSS" folder. ...
0
votes
1answer
130 views

How to cache bust a child theme style.css

There may be several aspects to my question but I feel in essence it's easy: how do you make sure changes to a child theme style.css are properly propagated across caches? I read in a few places that ...
3
votes
1answer
170 views

How to modify single.php in a child theme?

My WordPress site uses a child-theme (of the default twenty-sixteen) and now I would like to insert a new line into the single.php file. I know that it's better to use the functions.php file of the ...
0
votes
1answer
19 views

Solution dealing with Child Theme / Parent theme functions

This week I was struggling a bit customizing an exsisting theme for a client. To prevent the theme from being overwritten each update I created a child theme. This allowed me to cusomize most of the ...
1
vote
1answer
57 views

WOW.js animations work on one server, copied to new server, and stop working [closed]

http://bmadmin.staging.wpengine.com/lifetime-loan/ The animations don't work. (except for the cloud background, but that's hand coded rather than a function of Wow.js) ...
0
votes
0answers
34 views

child theme extend parent theme

I made a website with WooCommerce using WordPress. I have create a child theme for the theme storefront from WooCommerce. I have change the default theme for another and after I set my child theme ...
1
vote
1answer
107 views

Child Theme, Functions.php Issues

I've been toiling, probably way too long, with a simple Child Theme for a version of Fukasawa. I know that the @import method is deprecated. I also know that enqueuing it the preferred method. But... ...
5
votes
2answers
90 views

syntax for remove_filter in parent theme with class

I'm trying to remove a filter on the register_url hook a parent theme added, that seems to have a class nomenclature I can't figure out. Ordinarily, a filter for this hook would be easily added like ...
0
votes
0answers
36 views

Child Theme Approaches: importing vs. enqueueing vs. plugin

I used to create my own child themes employing the classic @import method. This method has always worked for me, but I recently discovered the existence of two new methods. One of them is the most ...
0
votes
2answers
61 views

Child theme template file will not load

I have a child theme that will load my style.css file but will not load my php template file. I got this template file by copying and pasting it from the parent directory into a new file with the ...
0
votes
1answer
34 views

WP Customizer Fatal Error trying to load class in child theme

I've developed many themes, however, I'm new to building child-themes and "especially" trying to implement classes in child themes. So I've found... Is it possible to load a WP Customizer class in a ...
0
votes
1answer
37 views

How Do I Get My Post Tags to Alphabetize?

I'm using a self-hosted WordPress site with a Child Theme of Twenty Thirteen. After I requested the same question in the above title, the Child Theme's Developer suggested that I come here and attempt ...
0
votes
1answer
110 views

Do we need to change our child function.php to require/include child dir files when we add an over-riding file.php into the child theme

With child themes we are supposed to leave parent functions.php in tact and extend it with the child functions.php. However parent functions.php typically define a whole load of include/requires which ...
0
votes
2answers
20 views

Installation directory for Wordpress and child theme

I'm very new to WordPress. I've read a common problem beginners make is installing in the wrong directory. Could someone verify mine is installed correctly? I'd like to use Storefront theme with ...
0
votes
3answers
44 views

Is a Child Theme required?

I have the question of whether a child theme is required to use? A site now uses a purchased theme from themeforest performed here are adaptations. For this issue, there is no child theme used. The ...
0
votes
0answers
13 views

Page is taking old removed attachment

The code given below is making the page to take all the media/attachments ever attached to the page ... even after removal of them from the page Even after I removed and left no media on page it is ...
0
votes
1answer
83 views

How to reverse post navigation at bottom of post

I am using a child theme derived from twentythirteen. I wanted to have my posts displayed in chronological order(ascending). I tried adding the code from this answer to index.php but for some reason ...
0
votes
1answer
43 views

using wp enqueue style to create a CSS file specifically for a page template

I am trying to create a CSS file that only works for one page template. I am trying to do it using wp enqueue style but to no avail so far. I was able to get it to work (sort of) using the following ...
0
votes
1answer
27 views

I want to edit it on my laptop as a child theme and transfer the files to my server. I don't know how

I have big gaps in my knowledge and right now I know I'm doing things wrong, and I want to buckle down and fix that. I have a wordpress site using the "shape" theme, and I directly edited the code ...
0
votes
0answers
81 views

Override parent theme files in subdirectory

How do I tell wordpress to use the child theme's version of a file rather than the parent's version? I found online that the following line should be added to my child theme's functions.php file, but ...