First Time With WordPress (3 posts)

  1. Watsy
    Posted 8 years ago #

    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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/1">
    <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'); ?> );
    <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(); ?>
    <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 id="header">
    <h1>" title="<?php bloginfo('My Blog'); ?>"><?php bloginfo('My Blog'); ?></h1>
    <h2><?php bloginfo('Test Blog');?></h2>

    Many Thanks


  2. MichaelH
    Posted 8 years ago #

    Make a backup of your files before commencing...

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

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

    WordPress Backups
    Stepping into Template Tags
    Editing Files

  3. Watsy
    Posted 8 years ago #

    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 :)


Topic Closed

This topic has been closed to new replies.

About this Topic