1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wordpress help please

Discussion in 'Blogging' started by tony20, Aug 10, 2010.

  1. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    725
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    Hey guys.

    first time using wordpress to make a static site!:eek:

    take a look at my site http://www.cleaningprobournemouth.co.uk

    My question is, how do i remove side menu links (i.e. carpet cleaning, upholstery cleaning etc etc) from apearing on the top menu??

    Its driving me nuts and cant fix it :(

    please HELP

    Thanks
    Tony
     
  2. cheva

    cheva Junior Member

    Joined:
    Aug 22, 2009
    Messages:
    117
    Likes Received:
    54
    Location:
    Aiur
    you'll have to edit ur theme file, most prolly header.php
     
    • Thanks Thanks x 1
    Last edited: Aug 10, 2010
  3. TaffSteR

    TaffSteR Newbie

    Joined:
    Apr 10, 2010
    Messages:
    7
    Likes Received:
    3
    login to your wordpress admin panel click the page you don't want the sidebar on and on the right hand side there is a template option, choose no sidebar (if your theme came with that option)
     
    • Thanks Thanks x 1
  4. DocMello

    DocMello Newbie

    Joined:
    Feb 10, 2009
    Messages:
    21
    Likes Received:
    4
    I don't have the exact theme you're using but here's my advice.

    Go into your Wordpress admin panel and go to Appearance > Editor and find the template file which holds the top menu.

    A good place to start would be header.php and index.php.

    Find the ode for the top menu and edit it out.

    Don't forget to save before exiting.

    Hope this helps.
     
    • Thanks Thanks x 1
  5. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    725
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    Hey guys!

    thanks for the quick replys! :)
    I had a look at the code and i have no idea what to take out! :(

    could you please look and tell me what you'd suggest?

    His is the header:

    <!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>
    <title>
    <?php
    /*
    Cryonie Wordpress Theme
    (c) 2009 Scriptol.com
    License GNU GPL 2.0
    */
    if(is_404()) { _e('Page not found', ''); }
    elseif (is_home()) { bloginfo('description'); echo " - "; bloginfo('name'); }
    elseif (is_category()) { echo single_cat_title(); }
    elseif (is_date()) { _e('Archives', ''); echo " of "; bloginfo('name'); }
    elseif (is_search()) { _e('Search results', ''); }
    else the_title();
    ?>
    </title>
    <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    <link rel="stylesheet" type="text/css" media="screen,projection" href="<?php bloginfo('stylesheet_url'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" <?php _e('RSS feed', '' ) ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />

    <?php wp_head() ?>

    <script type="text/javascript">
    function preload()
    {
    var img1 = new Image();
    var img2 = new Image();
    img1.src = "wisland.jpg";
    img2.src = "logo.gif";
    }
    window.onload=preload;
    </script>


    </head>

    <body class="hfeed">

    <div id="header">
    <div id="logoback">
    </div>
    <div id="logo" onclick="location.href='<?php echo get_settings('home'); ?>/';">
    <?php bloginfo('name'); ?> <br>
    <span class="sitedesc"><?php bloginfo('description'); ?></span>
    </div>
    <div id="navbar">
    <span id="navcat">
    <?php wp_list_categories('title_li=&sort_column=name&hierarchical=0&number=7') ?>
    </span>
    <span id="navpage"><?php wp_list_pages('title_li=&number=4&depth=1'); ?></span>
    </div>
    </div>

    and this is the index:

    <?php
    /* Cryonie Wordpress Theme (c) 2009 Scriptol.com - Licence GNU GPL 2.0 - Keep this copyrigth notice. */
    get_header();
    get_sidebar();
    ?>

    <div id="wrapper">
    <div id="home">

    <h1>
    <?php
    if (is_category()) single_cat_title();
    elseif (is_search()) bloginfo('name');
    else wp_title('',true);
    ?>
    </h1> carpet cleaning bournemouth

    <?php while ( have_posts() ) : the_post() ?>

    <div id="<?php the_ID() ?>" class="excerpt">
    <h2><a href="<?php the_permalink() ?>"> <?php the_title() ?></a></h2>
    <div class="summary">
    <?php the_content('<span class="more">'.__('More...', '').'</span>'); ?>
    </div>

    <div class="homeinfo">
    <span class="author" title="Author of the article">By <?php the_author_link(); ?> on </span>
    <span class="date" title="First publised"><?php the_date(); ?></span> |
    <span class="category" title="Category of the article"><?php the_category(', ') ?></span>
    <span class="comments"><?php
    if(comments_open())
    {
    echo " | ";
    comments_popup_link(
    __('A comment?', ''),
    __('1 comment', ''),
    __('% comments', ''),
    'comments-link',
    'Shuttt');
    }
    ?>
    </span>
    <span class="edit"><?php edit_post_link(__('Edit', ''), '', ''); ?></span>
    <br>
    <span class="tags"><?php the_tags(); ?></span>
    </div>

    </div> <!--id/excerpt-->

    <div id="pagination">
    <?php wp_link_pages(); ?>
    </div>

    <?php endwhile ?>

    <div class="navigation">
    <div class="alignleft"><?php previous_posts_link(__('Newer entries', 'encyclopedia')) ?></div>
    <div class="alignright"><?php next_posts_link(__('Older entries', 'encyclopedia')) ?></div>
    </div>

    </div> <!--home-->

    </div> <!--wrapper-->



    <?php get_footer() ?>


    Thanks in advance
    Tony
     
  6. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    725
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    Got it! :) thanks again