This topic has 6 replies, 3 voices, and was last updated 11 years by SQadmin.

  • Author
  • #660
     ZeRoE
    Participant

    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 🙁

    #667
     SQadmin
    Keymaster

    It 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’; } );
    with

    COPY CODE
    
    add_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 solution
    #678
     ZeRoE
    Participant

    Thank you!

    #3795
     skinnyc
    Participant
    This reply has been set as private.
    #3810
     SQadmin
    Keymaster

    This 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 solution
    #3845
     skinnyc
    Participant
    This reply has been set as private.
    #3873
     SQadmin
    Keymaster

    What 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
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?