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
0answers
11 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
36 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
24 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
13 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
22 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 ...
-3
votes
3answers
64 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
1answer
19 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
votes
0answers
19 views

Use Yoast SEO Title for Recent Posts on X Theme

I know this is super specific but hear me out. On my site I use the X Theme (linked so you can see what I'm referring to). "Recent Posts" is a module of the X Theme which I have setup to show the ...
1
vote
1answer
31 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
23 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
49 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() . ...
2
votes
0answers
33 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
53 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
30 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
13 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
43 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
20 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
34 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
19 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
34 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
48 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
62 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
16 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
35 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
24 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
57 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... ...
4
votes
2answers
45 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
35 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
47 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
22 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
29 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
65 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
39 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
12 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
36 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
37 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
24 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
36 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 ...
0
votes
0answers
9 views

Wordpress image selector in theme

I'm new to wordpress theme developing, I'll be happy if I could use your help. I'm trying to simulate the post thumbnail metabox content in my theme. I need the ability to upload and choose images ...
0
votes
1answer
50 views

Child Theme problems

I have a Premium WordPress theme that I created a child theme on. I can change the regular WordPress php pages and the css on the parent theme inside the child theme with no problems. Inside the ...
0
votes
0answers
37 views

Featured images same height

I have a theme (called Origin) from Elegant Themes. I'm using a child theme. I need to programmatically have all the featured images set to the same height for the home page. I can do this in CSS but ...
0
votes
1answer
71 views

Extracting Distance from FacetWP Proximity Function to Display in Wordpress Template

I am quite new to Wordpress & Php coding in general, I have a relatively simple theme that I have been working with that contains a custom post type that stores latitude and longitude. Each post ...
0
votes
1answer
49 views

Edit theme wp_head

My wordpress render in the head tag lots of unneeded script or css files, I tried to fix this by editing my head.php page but the theme I was using (zerif) use wp_head function to include all the ...
0
votes
0answers
26 views

How to remove plugin install notice from non-admin users in Wordpress?

Recently I installed accesspress store theme and noticed that almost every non-admin users getting a notification regarding installing some plugins related to that theme. Since I don't want to install ...
0
votes
1answer
241 views

WooCommerce: change display order of product short description and price [closed]

re: https://modestmix.com/shop/benefit-teas/go-the-fuck-to-sleep/ I'd like to move the price "$4.99–$24.99" below the product short description "Seriously. Drink a cup of this..." Any ideas how to ...
0
votes
1answer
42 views

How do child themes work?

I was creating a wordpress theme based on Twenty Fifteen and then someone suggested me to use a child theme instead. What's the biggest difference? I've heart both parent and child themes ...
0
votes
2answers
44 views

Different themes on one site

I'm correctly developing my own theme and so far I got: index, header, footer, functions and style files. The list will go on as I'm progressing with my theme. But I'm considering to use more than one ...
0
votes
1answer
89 views

Update Data parameter of a wp_localize_script() call

I'm working on a child theme, In my-page-template.php I have : //... $current_key= 5; //calculated result wp_localize_script('my_js', 'ajaxload', array('post_id' => $current_key)); In my_js.js ...
0
votes
0answers
29 views

How to Override Custom Post Type

I have spent HOURS trying to figure this out and keep failing. I have a theme that has a custom post type for Properties. I want to edit this post type to make it suitable for Canadian properties ...