1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help with "Parse error: syntax error, unexpected $end" in wordpress

Discussion in 'HTML & Website Design' started by VeryCheaptemplates, Jul 26, 2011.

  1. #1
    Please i am getting
    On sideviewmagazine.com

    Here is the header.php code

    <?php
    /**
     * @package WordPress
     * @subpackage SideView_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    
    <?php comments_popup_script(); ?>
    
    <?php wp_head(); ?>
    
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
    <?php if ( is_home() ){ ?>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/easySlider1.7.js"></script>
    <script type="text/javascript">
    	jQuery(document).ready(function(){
    		jQuery('.info').hide(); jQuery('.info').animate({opacity: 0.6},100 ).slideDown(1000);
    		jQuery("#slider").easySlider({
    			auto: false, 
    			continuous: true,
    			onBeforeShow: function(){
    				jQuery('.info').hide(); jQuery('.info').animate({opacity: 0.6},100 ).slideDown(1000);
    				}
    		});
    	});	
    
    </script>
    <?php } ?>
    
    <?php if(!is_home()){ ?>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jcarousel.js"></script>
    <script type="text/javascript">
    jQuery(document).ready(function() {
        jQuery('#mycarousel').jcarousel({
            animation: 1000
        });
    });
    
    
    
    
    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-24744691-2']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>
    
    
    </head>
    <body <?php body_class(); ?> <?php if(!is_home()){?> id="wrap" <?php } ?>>
    <div id="main">
      <div id="header">
    
     
    	<div id="links">
        	<?php 
    			if ( is_nav_menu( 'top1' )) { wp_nav_menu( array( 'menu' => 'top1', 'sort_column' => 'menu_order', 'container_class' => 'menu1' ) ); }
    		 ?>
             <?php 
    			if ( is_nav_menu( 'top2' )) { wp_nav_menu( array( 'menu' => 'top2', 'sort_column' => 'menu_order', 'container_class' => 'menu2' ) ); }
    		 ?>
             <?php 
    			 if ( is_nav_menu( 'top3' )) { wp_nav_menu( array( 'menu' => 'top3', 'sort_column' => 'menu_order', 'container_class' => 'menu3' ) ); }
    		 ?>
        </div>
        <!--end links-->
          <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="logo" id="logo" /></a>
      </div>
      <!--end header-->
      <?php if(!is_home()){ include (TEMPLATEPATH . '/slide.php'); }  ?>
       <div id="bar"></div>
     
    PHP:
    I googled it and and got some response about curly brackets but i dont know how to fix it. Here is what i saw on google

    Pls help! Thanks
     
    VeryCheaptemplates, Jul 26, 2011 IP
  2. VeryCheaptemplates

    VeryCheaptemplates Active Member

    Messages:
    486
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    I think i figured it out, never mind, thanks!
     
    VeryCheaptemplates, Jul 26, 2011 IP
  3. Essentially87

    Essentially87 Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    E-mail me at . I am going to need FTP, hosting login, and Wordpress admin to try to help you fix these things. Good luck ;-) but I wouldn't e-mail my password out to someone on a forum if I was you. I am actually going to help you but it's your call on whether you think I am a l337 h4x0r or not ;-).
     
    Essentially87, Jul 26, 2011 IP