Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [parent-theme]

The main theme on which a child theme is based.

-1
votes
0answers
13 views

Syncing Parent Theme between Wordapress installs

I have created a parent theme which is installed on a number of different WordPress installations. I am trying to find the most ideal way of syncing changes made to the parent them across all ...
0
votes
0answers
12 views

Is it necessary to network enable both the parent and child theme for multisite installations?

for multisite networks, is it necessary for me to network enable both the parent and child theme if I'm only using the child theme in my sites? Does it cause my site to slow down if I have more ...
0
votes
2answers
24 views

How can I make custom page templates work on child theme?

I have created a page template called concert.php under page-templates directory with the following content: <?php /* Template Name: Concert*/ add_body_classes('page_concert'); /* Custom ...
3
votes
0answers
42 views

replace parent theme images in child theme

My images are found in the parent theme in this folder directory structure: public_html/wp-content/themes/listingpro/assets/images I tried placing replacement images with the same name in the ...
1
vote
2answers
139 views

Proper way of using functions in action hook?

I am wondering if the below logic is correct and if certain circumstances should be present for it to work, since in some cases it does not seem to be working. The example below is quite simple. Let'...
0
votes
3answers
69 views

How do I create a child theme from PowerMag theme

I am using PowerMag 2.5 as parent and can't seem to find a way to get a working child theme. As far as I am now, I can only extend css in the style.css but as far as overriding, nothing has worked. ...
2
votes
3answers
250 views

override parent theme configuration in child functions.php

Hope someone can help, am looking for some suggestions on how to override/replace some functions that are loading in a parent theme and move them into the child theme so we can make alterations to the ...
0
votes
3answers
50 views

append to existing parent theme function

My parent theme calls a function: function get_nav_markup() { ob_start(); ?> <nav class="navbar navbar-toggleable-md navbar-inverse site-navbar" role="navigation"> <div ...
0
votes
1answer
272 views

How to override html codes in wordpress?

<article id="post-<?php the_ID(); ?>" <?php post_class( array('list-article', 'clearfix') ); ?>> <div class="list-article-thumb"> <a href="<?php echo esc_url( ...
-1
votes
1answer
61 views

Problem with Child-Theme using of foundation-framework [closed]

I have created a child theme. The parent theme uses Foundation-Framework. I also have included foundation framework to my child theme and trying to add a simple navbar with dropdown but the dropdown ...
1
vote
2answers
214 views

add_filter to parent theme helper class function from child theme

I want to change heading tags from child theme but i can't figure out how to add filter to parent theme function. Parent theme function that i want to change: if(! class_exists('WpkPageHelper')) { ...
1
vote
2answers
23 views

changing blog title to an image using filter function in child theme

Hey guys i'm trying to change the blog title to an image. This is what I'm trying to achieve I tried adding this code to the css and it's working. .rh-content { text-indent: -9999px; background: ...
0
votes
1answer
120 views

How to “remove” file from parent theme

I am having an issue with a theme I am using. The parent theme has created a woocommerce.php file. When this file exists, it takes precedence over the woocommerce hooks, and it causes issues when I ...
3
votes
1answer
494 views

Using the child theme functions.php to change the customizer.php on parent theme

I'm trying to add a second logo option to the customizer.php of the parent theme using the functions.php from the child theme. But, I'm getting a 500 Internal Server Error. What am I doing wrong? ...
0
votes
1answer
112 views

Enqueuing latest version of jQuery into a child theme returns a blank screen

Wordpress beginner here. I created a child theme and I'm trying to enqueue Bootstrap 4 inside the functions.php file. From my understanding, if I want to enqueue Bootstrap properly I need to enqueue ...
0
votes
2answers
389 views

overwrite code snippet from parent to child theme

I'm trying to overwrite following code in the child theme. I want to load file /inc/soundtheme-admin.php from child folder. I copied same code snippet in child-theme/functions.php and also copied the ...
1
vote
2answers
165 views

Switching to a child theme

I am using the Zephyr theme for my site, but want to switch to a child theme as this seems to be recommended in case the theme is updated. I am worried I will lose my customization etc. Are there ...
1
vote
1answer
2k views

Do I need to update the child theme too after updating the parent?

Do i need to only update the parent theme when i am asked to do so, or will i also need to update the child theme from time to time as well? I know that the child theme is the one used to actually ...
0
votes
1answer
62 views

Creating child theme out of Coeur

I have been spending days looking into edit my theme. I understand that in order to edit the footer of my parent theme i would need to create a child theme. So here is my child theme folder on the ...
0
votes
1answer
290 views

Can I still switch to a child theme?

I bought a premium theme for my managed WordPress blog which includes a child theme. I installed both but activated the parent theme and started working on it (just adding logo and stuff) since I wasn'...
1
vote
1answer
273 views

How to create a parent theme for accesspress parallax theme?

So, I'm currently using an AccessPress Parallax theme and I've created a child theme, however, it shows there is an error. It says "The parent theme is missing. Please install the "accesspressparallax"...
0
votes
0answers
22 views

If a theme will undergo major changes would it be better to clone the parent instead of writting a child theme?

I started working on the customization of a theme following the recomendation of doing this using a child theme. The problem I find is that a lot of the functionality of the theme needs to be changed ...
0
votes
3answers
2k views

Find a Parent Theme's stylesheet $handle when it registers a stylesheet

I have a child theme where I'm using the old @import to import in the CSS and I know this is no longer best practice. I've seen on the Wordpress codex how to do this properly, which seems ...
6
votes
3answers
14k views

Why is the Child Theme Stylesheet Not Loading?

I'm using the HashOne theme and created a child theme in order to make various color changes to our website. However, the changes I've made to the child theme stylesheet are only taking place in the ...
0
votes
1answer
910 views

Theme installation error “The parent theme could not be found”

I downloaded this theme from wordpress: https://theme.wordpress.com/themes/celsius/ If I want to install it, I am getting always the following error: The parent theme could not be found. You will ...
0
votes
1answer
715 views

CSS in child theme to replace !important in parent theme

I am trying to edit the colours of certain elements in my child theme on wordpress (the specific theme is Kleo if relevant). I have been doing fine adding in custom css to the child, however it seems ...
3
votes
1answer
4k views

How to Add Customizer Setting in Child Theme

I would like to add an option to the Customizer of my Child Theme, but I am having some trouble implementing it. I am pretty sure my problem is connected to the name of the arguments I am calling, but ...
1
vote
1answer
398 views

Remote install won't find Parent theme when intalling Child Theme, but local install does

On my localhost wordpress install I am using a Parent Theme called "Tesseract", and a Child Theme called "Tesseract-child". Now, I want to deploy my code on a remote WP install and, for some unknown ...
0
votes
1answer
182 views

Need to override file included in parent theme

I am using a parent theme with built in reservations which is a modification of a reservations plugin by a different developer. It didn't do exactly what we needed we needed so we purchased the ...
0
votes
1answer
31 views

Strange Theme Error - parent style occasionally showing though child theme

I am creating a website using WordPress 4.6.1, it is using a slightly modified version of the '2013 Blue Sequence' child theme, from the parent 'Twenty Thirteen'. This child theme recolours the ...
0
votes
1answer
1k views

get_template_directory_uri() links to child theme not parent

I have created a child theme of a parent theme which shows correctly on wp theme selector and activates. I have created a style.css of said child theme with the following meta information: /* Theme ...
3
votes
1answer
211 views

How to use parent theme's enqueue methods

According to the codex, when creating a child theme, you have to manually enqueue the parent theme's scripts. My parent theme has logic to conditionally display various css files, cached css, and ...
1
vote
3answers
11k views

My child theme doesn't work Error: “The parent theme is missing. Please install your parent theme”

I am using the Pricerr theme. In my parent theme I have a CSS folder with a few css files in it, a rtl.css and a style.css. What should be the code to put in the functions folder so that I can pull ...
1
vote
3answers
2k views

What happens to child theme if I change to new version of parent theme?

What happens to child theme if I change to new version of parent theme? Tesseract theme came out with new version. But what happens to all changes saved in original Tesseract child theme? Will changes ...
0
votes
1answer
2k views

How to dequeue / deregister parent theme style

I'm making a child theme, and I'd like to remove the Google font style that it calls for in 'fonts-style' function nada_theme_styles() { wp_register_style( 'fonts-style', '//fonts.googleapis.com/...
0
votes
1answer
866 views

Free theme and css/bootstrap.css is not overridden in the child theme

Why is wordpress still using the bootstrap.css from the parent theme, whenI have a child theme which (successfuly for other things) inherits the parent theme? I have the bootstrap.css settled in the ...
1
vote
2answers
249 views

Passing variable from child theme to parent theme

I want to pass my google map custom colors from my child theme to my parent theme. So in my Parent Theme's functions.php I have add_filter( 'post_thumbnail_html', "map_thumbnail" ); function ...
0
votes
3answers
518 views

Passing variable from child theme function to parent theme filter

I want to pass a variable from my child theme function to a filter which resides in my parent theme. Please let me know whether below code will work or not ? Is it the right way ? Code in Parent ...
1
vote
0answers
212 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
1answer
78 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 ...
2
votes
2answers
2k views

How to change Parent Themes in Child Theme CSS

I am confused as to how I'm supposed to switch parent themes in my child theme css. Right now my website protovest.com is using responsive theme but I want to change it to a theme called tesseract. ...
1
vote
1answer
817 views

I want to hide the parent theme in admin

Could someone maybe explain to me how you can hide a parent theme in admin. I have been searching on the internet how to do this, but I can't seem to make it work. What is the correct code for it, and ...
1
vote
2answers
385 views

Does theme update also update a child theme zip

Total wordpress beginner here. I purchased a organicfood theme and when I got an updated version for it, among other files I also found organicfood child theme zip in main directory. I know that ...
0
votes
1answer
81 views

Removing parent theme CSS without editing parent theme

I am currently developing a child theme that builds on twentyfifteen as a parent theme. However a potential issue has cropped up that is causing a problem. I want to strip the CSS and JS assets from ...
0
votes
0answers
95 views

Changes in header.php not reflecting

I edited <meta name="author" content="my_new_value"> in header.php of the parent theme. But the same old value is displayed. I've tried switching themes but this didn't work. What could be ...
3
votes
6answers
1k views

Get Parent Theme Author Name

I want to to get the Author name of the Parent theme. I can get the theme name using wp_get_theme() to get the theme object of the current (child) theme. From this I can get the parent theme name. ...
2
votes
2answers
834 views

How to check active theme is parent or child wordpress

I am working on a plugin in plugin. I make template folder and in template folder and there are files of plugin that shows my post type data. First Scenario When user activate my plugin the template ...
1
vote
0answers
2k views

why this media query is not working / not loading when I put it in child theme?

I am trying to create a separate style sheet for responsive behavior in a site. my folder structure: magzine/style.css magazine-child/style.css magazine-child/responsive.css Magazine is my theme ...
0
votes
1answer
1k views

wp_enqueue_style referencing parent theme

I have properly set up a child theme and am adding stylesheets and scripts in my new functions.php file. The only problem is, my newly enqueued stylesheets are being referenced using the parent theme ...
12
votes
3answers
15k views

Override parent theme translation on child theme

I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages. Then I created a child theme that uses load_child_theme_textdomain() to achieve ...