WordPress.org

Forums

Accidental Header HTML Removal (2 posts)

  1. charlesleahy
    Member
    Posted 2 years ago #

    Hi, I just accidentally removed a bit of HTML in my header, has anybody any idea what I removed? If so you would be a legend and I will never forget you! Thanks. This is now what the website looks like after my accident http://www.dubaixpats.com/ this is the html. THANK YOU!!!

    <!DOCTYPE html>
    <html>
    <head>
    <title>Dubai Xpats | Your Local Guide To Dubai</title>
    <!-- ZGIF4CRVrdiF15DMKBgx095WVA4 -->
    <meta name="description" content="Welcome to Dubai Xpats one of the best guides to helping new expats get settled in and also helping experienced expats find things to do in Dubai. Here you can also discover how to do things in Dubai, schools, things for kids to do & places to eat out in Dubai." />
    <meta name="keywords" content="dubai xpats, dubai, uae, things to do, how to dubai, kids, new to Dubai, Expats, places to visit, Dubai Guide, Dubai Information, Dubai Info, expats in dubai, kids in dubai, moving to dubai, living in dubai, dubai things to do, schools, places to eat out, hotels" />
    <meta name="robots" content="index, follow" />
    <meta name="google-site-verification" content="3aStomxis3j5nKGorkJ7glsgnVZPP2CRn8OkSW_uUfQ" />
    </head>
    
    I SCREWED UP FROM SOMEWHERE HERE ---------
    
    <?php if(of_get_option('theme_skin') == 'dark') { ?>
    <link href='<?php echo MOM_CSS; ?>/dark.css' rel='stylesheet' type='text/css'>
    <?php } ?>
    <link href='http://fonts.googleapis.com/css?family=Play:400,700' rel='stylesheet' type='text/css'>
    <!-- Custom favicon -->
    <?php if ( of_get_option('custom_favicon') != 'false') { ?>
    <link rel="shortcut icon" href="<?php echo of_get_option('custom_favicon'); ?>" />
    <?php } ?>
    
    TO SOME WHERE HERE -------------------
    
    <!-- feeds, pingback -->
      <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?> RSS Feed" href="<?php if (of_get_option('feedburner')!= false) { echo of_get_option('feedburner'); } else { bloginfo( 'rss2_url' ); } ?>" />
      <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <?php wp_head(); ?>
    
        <!--[if lt IE 9]>
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    
    <?php include MOM_FW . '/option_js.php'; ?>
    <?php include MOM_FW . '/option_css.php'; ?>
    </head>
    <body>
        <?php if ( is_page_template('fixed-home.php') ) { ?>
        <?php if ( of_get_option('fixed_bg') != false ) { ?>
        <img alt="Home" src="<?php echo of_get_option('fixed_bg');?>" id="full_bg">
        <?php } ?>
        <?php } else { ?>
    <?php if(of_get_option('theme_layout') == 'fixed') { ?>
        <?php if ( of_get_option('fixed_bg') != false ) { ?>
    <img alt="Home" src="<?php echo of_get_option('fixed_bg');?>" id="full_bg">
    <?php } ?>
        <?php } ?>
        <?php } ?>
        <div class="fixed">
    
    <header id="header">
        <div class="top_line"></div>
    <div class="inner">
        <div class="logo">
    <a>">
    	<?php if(of_get_option('logo_img')){ ?>
    	<img src="<?php echo of_get_option('logo_img'); ?>" alt="<?php bloginfo('name'); ?>" />
    	<?php } else { ?>
    	<img src="<?php echo MOM_IMG; ?>/DX Official.png" align="top" alt="<?php bloginfo('name'); ?>" />
        <?php } ?>
    </a>
        </div> <!--End Logo-->
    <div align="right"/>
    <script src="http://h2.flashvortex.com/display.php?id=2_1346263826_16732_438_29038_728_90_9_2_80" type="text/javascript"></script></header> <!--End Header-->
    <nav id="navigation">
        <div class="nav_wrap">
        <div class="inner">
         <?php if ( has_nav_menu( 'main' ) ) { ?>
    			     <?php  wp_nav_menu ( array( 'menu_class' => 'nav','container'=> 'ul', 'theme_location' => 'main' )); ?>
    			     <?php } else { ?>
    			     	<ul class="nav">
                        	<li class="home"><a>"><?php _e('Home', 'theme'); ?></a>
    			     	  <?php wp_list_categories(array(
    					  	'title_li' => false,
    						'hierarchical' => 1
    					  )); ?>
    			     	  <!--Top Nav-->
    
         <?php } ?>
     <?php  echo mom_main_mobile_menu(); ?>
       </div> <!--Inner-->
        </div> <!--End Nav Wrap-->
    </nav> <!--End Navigation-->
    <?php news_ticker() ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use the pastebin. As it stands, your code has been permanently damaged/corrupted by the forum's parser.]

  2. charlesleahy
    Member
    Posted 2 years ago #

    sorry for all the HTML! I know its a bit long but I gues HTML is pretty long!

Topic Closed

This topic has been closed to new replies.

About this Topic