Questions tagged [parent-theme]

The main theme on which a child theme is based.

Filter by
Sorted by
Tagged with
0 votes
3 answers
45 views

Wordpress child theme widget customization - Eduma

0 I'm in a bit of a struggle at the moment so I could use some help. The thing is, I need to fix some fields for registration in the Eduma theme Eduma theme has it's own child theme called Eduma-child,...
PhantomPhreak1995's user avatar
0 votes
1 answer
34 views

How do I know if the custom theme is a child theme or a full-custom theme?

Inherited a custom built WordPress site. How do I know if the theme it uses is a child theme or a full-custom theme? I would like to delete the unused themes for security and to free up space, but ...
mimibushart's user avatar
0 votes
1 answer
61 views

Child Theme style.css changes aren't showing. Parent "style-less.css" over rides it, and won't update

I'm using a child theme with a style.css file and none of the updates are showing on the live site. When I view the child theme style.css file via "view page source" the changes show in the ...
Derek's user avatar
  • 91
3 votes
0 answers
79 views

Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?

Usually, I can replace the template files and PHP codes of any parent classic theme with child themes. Since block-based theme templates rely on HTML, how can I replace parent block-based theme files ...
Mahadi Hasan Juber's user avatar
0 votes
1 answer
30 views

Can I place "parent theme" inside a child theme folder?

Client has a very strange request where they want to just install Child theme and have the parent theme be inside child theme. So essentially, they don't want to show parent theme in the list of ...
Wali Hassan's user avatar
0 votes
1 answer
27 views

Changing an html website to Wordpress and missing the Parent Theme

I have been trying to change my HTML website over to Wordpress. When I load the new theme, it says it is installed but that the Parent Theme is missing, please install. How do I do that? I have copy ...
Helen Todd's user avatar
1 vote
0 answers
20 views

Help with child theme enqueuing additional css files

A few years back, I made some css and template changes directly in my parent theme, because Wordpress was new to me and that seemed easier than messing around with this child theme stuff. It worked ...
Ray Kremer's user avatar
0 votes
1 answer
193 views

Overwrite tpl-footer.php in child [duplicate]

I am trying to overwrite a template file (tpl-footer.php) in my child-theme. According to the wordpress docs this should be possible just by adding the file with the same name and the same path into ...
Michael's user avatar
0 votes
0 answers
41 views

Parent/Child themes - both CSS files loaded

I am trying to use child themes for the first time in Wordpress - and I've got it working (at least from a user's perspective - it functions correctly) My concern is that both the parent and child CSS ...
sitestem's user avatar
6 votes
2 answers
3k views

Get parent theme version

How do I get the parent theme's version in a child theme? I want to use it when loading the parent theme's stylesheet. Here's how I load the stylesheets in the child theme's functions.php file: ...
transbetacism's user avatar
0 votes
2 answers
279 views

Removing parent theme action on pluggable function not working

I'm trying to remove a parent theme's add_action call to a pluggable function, but can't get it to work by calling remove_action() - I have to redeclare the function and just leave it empty. Is this ...
Michelle's user avatar
  • 3,438
0 votes
1 answer
54 views

How would I go about replacing this function in my child theme located in inc/template-tags.php

How would I replace this function that lies inside inc/template-tags.php in my parent theme function theme_navigation() { ?> <div id="theme-nav-container"> ...
Anders Kitson's user avatar
0 votes
1 answer
20 views

Is there another way to customize a parent template file besides adding the file to a child theme?

In the 10+ years that I have been working with WordPress child themes, I have never seen a problem with a template file being copied into a child theme and customized, until now. There were function ...
Nora McDougall-Collins's user avatar
1 vote
2 answers
2k views

How to load parent theme template parts in child theme

I was wondering how can I load parent theme template parts through child theme after customization. I have created three custom template for my theme and they are working fine. But now I want to load ...
Yusuf Been Hashem's user avatar
0 votes
1 answer
38 views

Copying a modified theme from one wordpress site to another wordpress site [closed]

So, I have one website which was using a theme called "theme-xyz". In past, I directly made modifications to this theme, in header, footer and style. Now, I want to copy this modified theme to a new ...
WiData's user avatar
  • 3
0 votes
3 answers
49 views

Overrite parent functions using child functions

So I've tried a few different ways to override a method inside the parent theme and I'm not having much luck at all. So here is the structure: themes/ - wp-starter -- custom_header.php - wp-...
DevSem's user avatar
  • 209
1 vote
1 answer
203 views

Avoid loading css from parent theme

In a parent theme (Foodica Pro) functions.php I have function foodica_scripts(), where css and js are loaded in page header, including: wp_enqueue_style( 'media-queries', get_template_directory_uri() ....
Filip Witkowski's user avatar
0 votes
0 answers
24 views

Parent Theme update was not showing on the update page

I'm a novice user and looking for some help with a wordpress site that I am maintaining. I have a parent and a child theme set up and both had a recent update available. However the parent theme ...
javshak's user avatar
1 vote
0 answers
15 views

How to preserve changes in templates and other files

I've downloaded a theme and then changed some css styles, and also php templates etc. Then I've realized, that when I will have to update the theme I'll probably lose all my changes. Is this kind of ...
xmigas's user avatar
  • 33
0 votes
1 answer
490 views

Creating a child theme: How do I find the template name of the parent directory?

I am trying to create a child theme for the Fitness Hub theme. I'm following this guide (https://developer.wordpress.org/themes/advanced-topics/child-themes/), when it comes to part 2. it makes it ...
dwright's user avatar
  • 103
0 votes
1 answer
57 views

Making a child theme in order to update the parent theme

I'm really new to Wordpress development and had made a mistake by changing a parent theme for customizations instead of customizing a child theme. Not i cannot use the updates that my theme provider ...
Randunu Dimeshan's user avatar
0 votes
0 answers
58 views

Override parent theme deregister

I have a parent theme that deregisters a script, in my case jquery. It does it like this: function parent_enqueue_scripts() { wp_deregister_script( 'jquery' ); [...] } However, in my child ...
TheKidsWantDjent's user avatar
0 votes
1 answer
76 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 ...
celebrian's user avatar
0 votes
2 answers
117 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 ...
Victor Oliveira's user avatar
3 votes
0 answers
604 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 ...
Abbi Saesong's user avatar
1 vote
2 answers
171 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'...
RobbTe's user avatar
  • 240
0 votes
3 answers
84 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. ...
Empire Hive's user avatar
3 votes
3 answers
3k 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 ...
CMYK's user avatar
  • 31
0 votes
3 answers
313 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 ...
yourenotthere's user avatar
0 votes
1 answer
2k 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( ...
javaprogrammer's user avatar
-1 votes
1 answer
153 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 ...
Shihab's user avatar
  • 134
1 vote
2 answers
814 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')) { ...
Çağrı Çolak's user avatar
1 vote
2 answers
54 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: ...
user avatar
0 votes
1 answer
991 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 ...
Martin's user avatar
  • 103
2 votes
1 answer
2k 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? ...
Duarte Nunes's user avatar
0 votes
1 answer
191 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 ...
Alex Fidel Chen's user avatar
0 votes
2 answers
789 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 ...
MKS's user avatar
  • 11
1 vote
2 answers
432 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 ...
Null_Error's user avatar
3 votes
1 answer
11k 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 ...
ConfusedUser's user avatar
0 votes
1 answer
74 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 ...
evepokua's user avatar
0 votes
1 answer
508 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'...
Ritwik Debnath's user avatar
1 vote
1 answer
370 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"...
Mariola Oliwa's user avatar
0 votes
0 answers
29 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 ...
Juan's user avatar
  • 101
3 votes
3 answers
7k 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 ...
pjk_ok's user avatar
  • 908
7 votes
3 answers
34k 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 ...
Sakena's user avatar
  • 73
0 votes
1 answer
2k 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 ...
user avatar
0 votes
1 answer
2k 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 ...
Cam's user avatar
  • 103
5 votes
1 answer
7k 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 ...
CoderScissorhands's user avatar
1 vote
1 answer
879 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 ...
CoderScissorhands's user avatar
0 votes
1 answer
281 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 ...
user1388610's user avatar