WordPress.org

Ready to get started?Download WordPress

Forums

Magazine Basic
Syntax Error Function.php (6 posts)

  1. zdkapl
    Member
    Posted 10 months ago #

    I have absolutly no idea what to do. My site is gamerthoughts.net and I can't log in and when I go to my site it say this:

    Parse error: syntax error, unexpected '<' in /home/content/95/11662995/html/wp-content/themes/magazine-basic/functions.php on line 730

    I contacted GoDaddy my host, and they showed me this is wrong and said I would have to come here: This is what they gave me

    }<?php
    /**
     * Register our sidebars and widgetized areas.
     *
     */
    function arphabet_widgets_init() {
    
        register_sidebar( array(
            'name' => 'Home right sidebar',
            'id' => 'home_right_1',
            'before_widget' => '<div>',
            'after_widget' => '</div>',
            'before_title' => '<h2 class="rounded">',
            'after_title' => '</h2>',
        ) );
    }
    add_action( 'widgets_init', 'arphabet_widgets_init' );
    ?>

    Please help! I when I go to file manager in godaddy, I can get to my theme magazine basic, but I can't click on functions.php it just has the text and has a blue scroll next to it. I'm really freaking out right now. I know nothing about coding!

  2. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Did you modify this file? You can download a new copy of the theme to your local computer here:

    http://wordpress.org/themes/magazine-basic

    Then replace that file using the file manager.

  3. zdkapl
    Member
    Posted 10 months ago #

    How do I replace the file? I looked online for godaddy and have no clue. Sorry if I posted this question multiple times, I'm having trouble seeing if it was posted

  4. zdkapl
    Member
    Posted 10 months ago #

    How do I replace the file with godaddy?

  5. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

  6. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    And yeah, the forums ARE being weird today :). I'll delete the duplicates.

Reply

You must log in to post.

About this Theme

About this Topic