gica
MemberForum Replies Created
-
Sorry, always the same error. It is from your function. Even if functions.php is empty, your code gives error.
Hellow!
This is the link: http://pastebin.com/E8Un7Sfs
I have removed that says Prasanna. But I think the problem is in the function (code) that I tray to put in.
I`m sorry. Don’t works. Your code makes the error message every time. Any idea? Thanks.
Hellow Prasanna. Only now I have read your message. I think we have a big time difference.
In my child-theme’s functions.php I have a few functions. Exact that:
<?php
function graphene_filter_gettext( $translated, $original, $domain ) {
$strings = array(
'Read more' => 'Segueix llegint',
'Permalink to %s' => 'Enllaç permanent a',
'Go back to the front page' => 'Torna a l'inici',
);
if ( ! empty( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );
?>
<?php
function graphene_custom_header_width(){
return 981;
}
function graphene_custom_header_height(){
return 365;
}
add_filter('graphene_header_image_width', 'graphene_custom_header_width');
add_filter('graphene_header_image_height', 'graphene_custom_header_height');
?>I don’t think that is the cause of the problem. Even when I leave ‘functions.php’ empty, the problem persist when I put in your code for the fire effect. Something will be wrong. Only I must say that I have a shadow effect (in the CSS of the child’s theme) in the header’s text. I don’t know if this can be responsable for the error message. If it can help you, I will give you the link of my site:
http://enmaristanynodorm.site11.com/
I’m waiting your news. And thanks again,
Gica.
Thanks, Prasanna. But may be it’s a error in the function. It returns this:
Parse error: syntax error, unexpected $end in /home/a8573851/public_html/wp-content/themes/graphene-child/functions.php on line 43
Some suggestions?
Viewing 5 posts - 1 through 5 (of 5 total)
