WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
[resolved] How to restore functions.php file? (4 posts)

  1. vijayasawant
    Member
    Posted 1 year ago #

    I tried to add following code to functions.php file.

    if (class_exists('MultiPostThumbnails')) {
    new MultiPostThumbnails(
    array(
    'label' => 'Secondary Image',
    'id' => 'secondary-image',
    'post_type' => 'post'
    )
    );
    }

    After updating I am getting following error. My website is down. How to restore functions.php file?
    Parse error: syntax error, unexpected '<' in D:\Hosting\10125564\html\wp-content\themes\ResponsiveOld\responsive\functions.php on line 30

    Vijaya

  2. vijayasawant
    Member
    Posted 1 year ago #

    It is solved. Thanks.

  3. Dereklee88
    Member
    Posted 1 year ago #

    how did you solved it?

  4. vijayasawant
    Member
    Posted 1 year ago #

    I could connect to hosting server through FTP. I removed the update from functions.php file by logging into the hosting site.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic