• Hi Everyone, I am new to wordpress and need to remove the title on top of my header, can someone please tell me how to modify the code or what to remove from the code (I’m also a php newbie, so an example of where to change would be much appreciated

    This is the header.php

    !<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head profile=”https://gmpg.org/xfn/1″&gt;
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
    <meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats please –>
    <style type=”text/css” media=”screen”>
    @import url( <?php bloginfo(‘stylesheet_url’); ?> );
    </style>
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />

    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”menu”>

      <li <?php if(is_home()){echo ‘class=”current_page_item”‘;}?>>” title=”Home”>Home
      <?php wp_list_pages(‘title_li=&depth=1’);?>

    </div>
    <div id=”header”>
    <h1>” title=”<?php bloginfo(‘My Blog’); ?>”><?php bloginfo(‘My Blog’); ?></h1>
    <h2><?php bloginfo(‘Test Blog’);?></h2>
    </div>

    Many Thanks

    Watsy

Viewing 2 replies - 1 through 2 (of 2 total)
  • Make a backup of your files before commencing…

    Probably need to change
    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    to
    <title><?php bloginfo('name'); ?></title>

    Resources
    WordPress Backups
    Stepping into Template Tags
    Editing Files

    Thread Starter watsy

    (@watsy)

    Hi, I was reading the forum and seen a post saying you leave the title and description under options and delete

    <h1>” title=”<?php bloginfo(‘My Blog’); ?>”><?php bloginfo(‘My Blog’); ?></h1>
    <h2><?php bloginfo(‘Test Blog’);?></

    I did that and it worked ??

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘First Time With WordPress’ is closed to new replies.