HabboxWiki needs you!
Are you a Habbo buff? Or maybe a rare trader with a bunch of LTDs? Get involved with HabboxWiki to share your knowledge!
Join our team!
Whether you're raving for rares, excited for events or happy helping, there's something for you! Click here to apply
Need a helping hand?
Check out our guides for all things to help you make friends, make rooms, and make money!


Results 1 to 7 of 7

Thread: Edit Code

  1. #1
    Join Date
    Sep 2008
    Location
    Shropshire
    Posts
    657
    Tokens
    1,134
    Habbo
    Luke367

    Latest Awards:

    Default Edit Code

    Hello, I need to remove this from the layout using within wordpress... But can't find it. Could anyone help me find it so i can remove it?
    Ill give everyone +REP that helps me...

    This file is "header.php" as my mate told me it should be in there if any where.

    Code:
    <?php/**
     * Header Template
     *
     * Here we setup all logic and HTML that is required for the header section of all screens.
     *
     */
     global $woo_options, $woocommerce;
    ?>
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
    <!--[if IE 7 ]>    <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
    <!--[if IE 8 ]>    <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
    <!--[if IE 9 ]>    <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?> class="no-js"> <!--<![endif]-->
    <head profile="http://gmpg.org/xfn/11">
    
    
    <title><?php woo_title(); ?></title>
    <?php woo_meta(); ?>
    
    
    <!-- CSS  -->
    	
    <!-- The main stylesheet -->
    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css">
    
    
    <!-- /CSS -->
    
    
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php $GLOBALS['feedurl'] = get_option('woo_feed_url'); if ( !empty($feedurl) ) { echo $feedurl; } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
    
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
          
    <?php wp_head(); ?>
    <?php woo_head(); ?>
    
    
    </head>
    
    
    <body <?php body_class(get_option('woo_site_layout')); ?>>
    <?php woo_top(); ?>
    
    
    <div id="wrapper">
    
    
    	<?php if ( function_exists( 'has_nav_menu') && has_nav_menu( 'top-menu' ) ) { ?>
    
    
    	<div id="top">
    		<div class="col-full">
    			<?php wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'top-nav', 'menu_class' => 'nav fl', 'theme_location' => 'top-menu' ) ); ?>
    		</div>
    	</div><!-- /#top -->
    
    
        <?php } ?>
        
        <div class="header">
    					
    			<div id="logo">
    	
    			<?php 
    				if ($woo_options['woo_texttitle'] != 'true' ) : 
    				$logo = $woo_options['woo_logo']; 
    				if ( is_ssl() ) { $logo = preg_replace("/^http:/", "https:", $woo_options['woo_logo']); }
    			?>
    				<h1>
    					<a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo( 'description' ); ?>">
    						<img src="<?php if ($logo) echo $logo; else { echo get_template_directory_uri(); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo( 'name' ); ?>" />
    					</a>
    				</h1>
    	        <?php endif; ?>
    	
    	        <?php if( is_singular() && !is_front_page() ) : ?>
    				<span class="site-title"><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></span>
    	        <?php else : ?>
    				<h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    	        <?php endif; ?>
    				<span class="site-description"><?php bloginfo( 'description' ); ?></span>
    	
    			</div><!-- /#logo -->
    			
    			<?php woo_nav_before(); ?>
    			
    			<div id="navigation" class="col-full">
    				<?php
    				if ( function_exists( 'has_nav_menu') && has_nav_menu( 'primary-menu') ) {
    					wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fl', 'theme_location' => 'primary-menu' ) );
    				} else {
    				?>
    		        <ul id="main-nav" class="nav fl">
    					<?php
    		        	if ( isset($woo_options[ 'woo_custom_nav_menu' ]) AND $woo_options[ 'woo_custom_nav_menu' ] == 'true' ) {
    		        		if ( function_exists( 'woo_custom_navigation_output') )
    							woo_custom_navigation_output();
    					} else { ?>
    			            <?php if ( is_page() ) $highlight = "page_item"; else $highlight = "page_item current_page_item"; ?>
    			            <li class="<?php echo $highlight; ?>"><a href="<?php echo home_url( '/' ); ?>"><?php _e( 'Home', 'woothemes' ) ?></a></li>
    			            <?php
    			    			wp_list_pages( 'sort_column=menu_order&depth=6&title_li=&exclude=' );
    					}
    					?>
    		        </ul><!-- /#nav -->
    		        <?php } ?>
    		        
    		        <?php woo_nav_after(); ?>
    		        
    			</div><!-- /#navigation -->
    		
    		</div>
    
    
    	
    	<div id="container" class="col-full">
    	
    	<?php woo_content_before(); ?>

  2. #2
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    Is it not a widget you can remove?

  3. #3
    Join Date
    Sep 2008
    Location
    Shropshire
    Posts
    657
    Tokens
    1,134
    Habbo
    Luke367

    Latest Awards:

    Default

    Quote Originally Posted by today View Post
    Is it not a widget you can remove?
    Nope looked in all the widget files and nothing in that page.

  4. #4
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    When you say files, do you mean the widget settings page in the wordpress admin panel.

    The page where you click and drag widgets.

  5. #5
    Join Date
    Sep 2008
    Location
    Shropshire
    Posts
    657
    Tokens
    1,134
    Habbo
    Luke367

    Latest Awards:

    Default

    Quote Originally Posted by today View Post
    When you say files, do you mean the widget settings page in the wordpress admin panel.

    The page where you click and drag widgets.
    yer thats correct.

  6. #6
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    Why not just ask WooThemes they have amazing support.

  7. #7
    Join Date
    Sep 2008
    Location
    Shropshire
    Posts
    657
    Tokens
    1,134
    Habbo
    Luke367

    Latest Awards:

    Default

    Quote Originally Posted by today View Post
    Why not just ask WooThemes they have amazing support.
    Ok thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •