WordPress.org

Support

Support » Themes and Templates » Magazine Basic » Syntax Error Function.php

Syntax Error Function.php

  • 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!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Syntax Error Function.php’ is closed to new replies.
Skip to toolbar