Tagged: child theme, customization, enfold
-
AuthorPosts
-
September 25, 2013 at 3:15 pm #166113
Hi,
I have written this code in style.css file for child theme
/*
Theme Name: EnfoldChild
Description: A superflexible and responsive Business Theme by Kriesi – <br/> Update notifications available on twitter and facebook:<br/> Follow me on twitter<br/> – Join the Facebook Group
Version: 1.7
Author: Kriesi
Author URI: http://kriesi.at
Theme URI: kriesi.at/themes/enfold/
Template: Enfold
*/
I have also typed this code in functions.php file:
<?php
/*
* Enfold Child Theme functions File
*/
I have followed each steps for creating child theme as per the vedio given by you.
Though i am facing error message . I am getting error message as: this child theme require the parent theme.
I have also tried the zip folder that you have given to me though i am getting error message.
Please help me out in this.
Thanks & Regards.September 26, 2013 at 4:24 am #166390Hey kriru!
Did you place the main theme files on wp-content/themes folder?
You should have this code for the following files:
1.) styles.css
/* Theme Name: Enfold Child Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then. Version: 1.0 Author: Kriesi Author URI: http://kriesi.at Template: enfold */ /*Add your own styles here:*/
2.) functions.php
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */
3.) A screenshot.
Best regards,
IsmaelSeptember 26, 2013 at 6:38 am #166449yes i have did this. But not succeded yet. and i am create child theme for version 1.7
September 26, 2013 at 12:17 pm #166569Hello!
Just to make sure, you have installed parent theme prior to creating child theme and their template names are matching, is that correct?
Best regards,
YigitSeptember 26, 2013 at 1:19 pm #166611yes you are correct
September 27, 2013 at 9:19 am #167067Hello!
You should place enfold parent folder and enfold child theme folder inside wp-content/themes folder. Is that what you did?
Regards,
IsmaelSeptember 30, 2013 at 6:15 am #168001Yes i have do it
September 30, 2013 at 5:46 pm #168219Hey!
Please download the latest version of the theme, Enfold 2.2. This is the screenshot of how your themes folder should look like on a localhost. It is basically the same when you upload the site live.
Cheers!
IsmaelOctober 3, 2013 at 7:15 am #169763Please check – http://screencast.com/t/NeJawTNvon
my directory look like this
October 3, 2013 at 9:52 am #169829Hey!
Please create me a wordpress admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.
Regards,
PeterOctober 5, 2013 at 8:23 am #170741Hi
as you said i have create a WordPress admin account
please check your email
and please check for these questions also-
1) https://kriesi.at/support/topic/how-to-customize-google-custom-search/
2) https://kriesi.at/support/topic/error-message-in-child-themeparent-theme-is-required-in-the-child-theme/October 5, 2013 at 8:37 am #170747Hey!
Please tell me where you see the error message. I can see this text on the theme option page: http://www.clipular.com/c?5311784160329728=xucg7q1StSu1w2NN8XDvM9pKzO8&f=.png but it’s not an error message but just a standard wordpress text which will always show up as soon as the user activates a child theme.
I thought you can’t activate the child theme because wordpress always returns an error.
Regards,
PeterOctober 5, 2013 at 9:34 am #170761i see this error where you describe your answer
October 5, 2013 at 9:44 am #170762October 5, 2013 at 2:20 pm #170793Hi!
Yes, but it’s not an error message. It’s the standard wordpress message which tells you that
1) the current selected theme is a child theme
2) and it helps you to determine which theme is used as the parent theme. This information is important coz otherwise an user could delete the parent theme by accident and then the entire websites doesn’t work anymore.Cheers!
PeterOctober 16, 2013 at 9:08 pm #176620I received this message as well, and I’m glad to see that it’s not an error message. But it does look like we are both facing the same error when trying to use a child theme.
I wonder whether our problem is caused by broken links in the Theme Options section for our theme children.
My child theme will not import settings from its parent theme (Enfold, version 2.3.2). It appears to use # as placeholder links for the “Import dummy data” and “Import Parent Theme Settings” buttons. Do you see this same error in your Theme Options for your Enfold Child theme?
For me, when I hover over either of these buttons, I see that they link to:
{my website address}/wp-admin/admin.php?avia_welcome=true&page=avia#
which is the URL of the page I was on followed by a pound sign. Is it possible that when a new version of Enfold was being tinkered with, a placeholder link (#, which redirects to the current page) was accidentally left in the code?Thanks, and take care.
- This reply was modified 11 years, 1 month ago by MHM. Reason: fixed code to bold links
October 16, 2013 at 9:16 pm #176624Hey!
I just installed a child theme for someone today and imported everything that was previously set up from the parent so as of 2.3.2 there are no code errors or anything like that with the button.
The # is the correct “url” and you’ll see it used all over the theme options since the links aren’t actually urls taking you anywhere.
This image however is *not* an error. Its just an informational message: http://www.clipular.com/c?5311784160329728=xucg7q1StSu1w2NN8XDvM9pKzO8&f=.png
For more on Child themes see: https://vimeo.com/67221517
You can download an enfold child theme from here: http://kriesi.at/files/enfold-child.zip
Cheers!
DevinOctober 17, 2013 at 4:00 pm #177048Thanks! I used the video you linked as a guide to create my child theme. And I have downloaded the .zip and reviewed it to make sure that my child theme was set up properly (it was, down to the lowercase “e” in “enfold”).
This child theme has worked with previous versions of Enfold. For example, my child theme told the socket to be right-aligned. However, it has stopped working with 2.3.2.
October 17, 2013 at 4:02 pm #177051And I have tried clicking “Import Parent Theme Settings,” but it has not worked. My website remained in the default color scheme and did not absorb any of my customizations that I have set in Enfold.
October 18, 2013 at 3:42 pm #177436You can try disabling any active plugins you have running to check if there is a conflict or anything. If you have any changes in the child theme to the core files then you may also need to re-do them or check if the parent files they are replacing have been adjusted.
October 18, 2013 at 3:54 pm #177444Thanks for responding. The only file I am replacing is custom.css, so it’s not an issue of core files. My child theme worked with my previous version of Enfold including my current plug-ins.
October 18, 2013 at 5:00 pm #177487Things change from version to version of the theme. A plugin that may have worked before may not work with something new that has been added.
For instance in 2.4 we’ll be adding the masonry option in and the javascript to support it may not work with another plugin.
October 18, 2013 at 5:44 pm #177514I will just use the main Enfold theme for now and tweak its code there. I am having other larger concerns with Enfold that need to be settled first. Thank you for your time.
-
AuthorPosts
- The topic ‘Error message in child theme:parent theme is required in the child theme.’ is closed to new replies.