• Niko LionWD

    (@nikoernestoleone)


    Hi everyone!

    I’m worried, because i don’t have insert new codes, so my website show that: Parse error: syntax error, unexpected T_STRING in /usr/home/newreformesbcn.com/web/wp-content/themes/appointment/functions.php on line 1.

    I don’t undestand what…? If you help me, I’d be grateful.

    That is the document functions.php

    <?php
    /**Theme Name	: Appointment
     * Theme Core Functions and Codes
    */
    	/**Includes reqired resources here**/
    	define('WEBRITI_TEMPLATE_DIR_URI', get_template_directory_uri());
        define('WEBRITI_TEMPLATE_DIR' , get_template_directory());
        define('WEBRITI_THEME_FUNCTIONS_PATH' , WEBRITI_TEMPLATE_DIR.'/functions');
    	require( WEBRITI_THEME_FUNCTIONS_PATH .'/scripts/script.php');
        require( WEBRITI_THEME_FUNCTIONS_PATH .'/menu/default_menu_walker.php');
        require( WEBRITI_THEME_FUNCTIONS_PATH .'/menu/appoinment_nav_walker.php');
        require( WEBRITI_THEME_FUNCTIONS_PATH .'/widgets/sidebars.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH .'/widgets/appointment_info_widget.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/template-tag.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/breadcrumbs/breadcrumbs.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/font/font.php');
    	//Customizer
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer_theme_style.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-callout.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-slider.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-copyright.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-header.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-news.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-service.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-pro.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-project.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-testimonial.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-client.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-footer-callout.php');
    	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-template.php');

  • The topic ‘Parse error: syntax error, unexpected T_STRING in function on line 1’ is closed to new replies.