Hi there!
Were you trying to create a child theme when this happened?
If not could you explain what you were trying to achieve when this happened.
Cheers,
Luke the Daft Duke
Hi Luke !
I had the child theme up, and actually its working already… I am not 100% sure if the error was always there or not…
So I checked the old topics about it and I try to find out if there was something similar, but I couldn’t figure out yet.
I think perhaps my child theme Style is incomplete.
All I got on my Child Style
Theme Name: Child theme for Makery
Description: Child theme with new changes for the existing theme
Author: Allenvik
Template: Makery
Look’s like your missing the Text-Domain
part.
/*
Theme Name: YourThemeName Child
Theme URI: http://yourthemesurl.com
Description: YourThemeName Child Theme
Author: YourName
Author URI: http://yourwebsite.com
Template: Name of the Parent Theme
Version: 1.0.0
Text Domain: your-childtheme-name
*/
/* =Theme customization starts here
-------------------------------------------------------------- */
and your functions.php file :
<?php
add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
function enqueue_child_theme_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') );
}
But it look’s like ‘Makery’ is a premium theme so perhaps the Theme authors could help you with support. These forums are really for the free themes available at the WordPress repository.
I hope that helps.
Luke the Daft Duke
Hi Luke,
I have corrected the text domain part alright, however the error remained, so I went further to modify functions.php, and then… the site disappeared!
no luck trying to re-log back in by /wp-login or wp.login.php..
Try to go back and reedit and doesn’t work either.
Any idea how to get back in?
Thx for your help
As this is a premium theme please use their support forums:
http://themextemplates.com/support/
You could try deleting the child theme (via FTP) and starting over.
Yea ! I should have gone to ask their help first.. I just not so use to this. Regarding the FTP, this is exactly what I am doing right now, I am trying to download the functions.php of the child theme so I can correct the mistake.
I actually found the old functions.php and I managed to correct the mistake, upload the new file and the site is BACK ! YEA !
Also I notice that the old functions was under a different child theme name… instead of ‘Child theme for Makery’, it was ‘registration’?
Can this be the initial problem then?
Could be, I’m not sure.
As it’s a premium theme there is no way for me to look at it and tell you, hence using their own support forums.
Glad you got it working again 🙂
Yea !
So good to be back !
I have just asked them for support.
Thx 4 your help