WordPress.org

Support

Support » How-To and Troubleshooting » Altered functions.php – reverted to original, now nothing will load.

Altered functions.php – reverted to original, now nothing will load.

  • Hello,

    I need help as I think I have done something stupid and I am too much of a newbie to fix it myself.

    Whilst trying to add something to the site, a piece of code was added to the folder functions.php which did not seem to work – I removed the code that was added and now it is back to its original which is this –

    <?php
    /**
     * Sets up the theme by loading the Mysitemyway class & initializing the framework
     * which activates all classes and functions needed for theme's operation.
     *
     * @package Mysitemyway
     * @subpackage Functions
     */
    
    # Load the Mysitemyway class.
    require_once( TEMPLATEPATH . '/framework.php' );
    
    # Get theme data.
    $theme_data = get_theme_data( TEMPLATEPATH . '/style.css' );
    
    # Initialize the Mysitemyway framework.
    Mysitemyway::init(array(
    	'theme_name' => $theme_data['Name'],
    	'theme_version' => $theme_data['Version']
    )); 
    
    ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    HOWEVER

    When I click Update Page, it takes me to a blank page – I can go back to the folder, but nothing else, whether in the back-end or front, will now load.

    PLEASE HELP!

    http://www.mamaconference.co.uk

    RM

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Altered functions.php – reverted to original, now nothing will load.’ is closed to new replies.
Skip to toolbar