Forum Replies Created
-
AuthorPosts
-
Thanks. Thought I should ask. It is not a necessity…just a good to have feature.
Guys,
I’ve had to reload my wordpress and start from scratch. The first thing after creating my child theme I tried your code snippet and it worked perfectly.
So I guess the parse error I’ve been getting was introduced by something else although I still haven’t figured out what since it happened when I edited functions.php.
Thank you so much for your help.
Percy
Thanks, but doesn’t work for me. I can’t even get to adding the CSS because the parse error blocks the whole site. There is not a single thing I can edit other than the already opened functions.php.
Guys,
I’ve done what you are suggesting probably 10 times hoping for a different result every time. The only change I made was exactly what Ismael said to change and nothing else and yet even the default functions.php code has not been able to solve my problem.
From your response I guess I’m going to have to do a fresh WP install with your theme because it doesn’t look like you have any other solution other than the things I’ve already tried.
It would be nice to know that this problem could be solved, but I’ve already lost 4 days since the first day I posted this, which not good. I know you are extremely busy because it takes you about 2 days to respond and I don’t have that long to wait.
Regards,
PercyHello Ismael,
Thank you so much for your help. I do love th Enfold theme.
Please note that I added the PHP code to the Theme Functions (functions.php) file, but then I got the following syntax error:
“Parse error: syntax error, unexpected T_FUNCTION in /home/nsindote/public_html/dib/wp-content/themes/enfold/functions.php on line 494”
When this happened I then removed the new code, but unfortunately the error still remains.
Let me also say when I studied the code I saw the PHP opening syntax (<?php), but I didn’t see the closing syntax (?>). I tried adding the closing syntax thinking maybe that could be the problem, but that also didn’t solve the problem.
Your urgent help would be greatly appreciated as I can’t see to do anything now.
Thanks,
PercyThis reply has been marked as private. -
AuthorPosts