Enterprise Child Theme – Site Unable to load – Please HELP!!

Community Forums Forums General Discussion Enterprise Child Theme – Site Unable to load – Please HELP!!

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20075

    jmalisos
    Participant
    Post count: 16

    Website: http://sculpturesgreggrady.com

    I pasted a code to the functions.php editor to unregister the Genesis widgets and now I am receiving the following :

    Parse error: syntax error, unexpected $end in /nfs/c05/h04/mnt/72994/domains/sculpturesgreggrady.com/html/wp-content/themes/enterprise/functions.php on line 76

    The code I copied and pasted was as follows…

    /** Unregister Genesis widgets */
    add_action( 'widgets_init', 'unregister_genesis_widgets', 20 );
    function unregister_genesis_widgets() {
        unregister_widget( 'Genesis_eNews_Updates' );
        unregister_widget( 'Genesis_Featured_Page' );
        unregister_widget( 'Genesis_User_Profile_Widget' );
        unregister_widget( 'Genesis_Menu_Pages_Widget' );
        unregister_widget( 'Genesis_Widget_Menu_Categories' );
        unregister_widget( 'Genesis_Featured_Post' );
        unregister_widget( 'Genesis_Latest_Tweets_Widget' );
    }

    #21341

    cehwitham
    Participant
    Post count: 396

    I see your site is now loading and this is marked as resolved. Did you need assistance in what you were trying to achieve?


    Twitter: cehwitham Web: cehwitham.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.