-
Author
-
July 16, 2013 at 10:57 #660ZeRoEParticipant
My 404 page is showing the following;
Parse error: syntax error, unexpected T_FUNCTION in /home/******/public_html/websites/******/wp-content/themes/sweetdate/page-templates/404-page.php on line 17
Any help would be welcomed 🙁
July 16, 2013 at 14:40 #667SQadminKeymasterIt is possible that your PHP version is lower than 5.3.
You can modify your 404.php page by copying it to your sweetdate-child theme and do this changes there:
Replace these 2 lines
add_filter(‘kleo_main_section_class’, function() { return ‘text-center’; } );
add_filter(‘kleo_content_class’, function() { return ‘twelve’; } );
withCOPY CODEadd_filter('kleo_main_section_class', 'custom1' ); function custom1() { return 'text-center'; } add_filter('kleo_content_class', 'custom2' ); function custom2() { return 'twelve'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 4, 2013 at 00:10 #3810SQadminKeymasterThis is fixed in the theme version 2.1. Try re-downloading the theme from themeforest and replacing existing theme files. Remember to always do files backup before updating.
Custom sidebars need contain widgets to show.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 5, 2013 at 02:04 #3873SQadminKeymasterWhat is the error you are getting? You need to put the image in the Featured image if you want to use the Image format
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.