[wp-trac] [WordPress Trac] #33152: Adding Text Code To My Empty Header
WordPress Trac
noreply at wordpress.org
Tue Jul 28 12:42:33 UTC 2015
#33152: Adding Text Code To My Empty Header
---------------------------+----------------------
Reporter: The VaPreneur | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Customize | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
---------------------------+----------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Old description:
> Hi,
>
> This is my site: http://www.rcl.soloprofiteer.com/soloads/
>
> You noticed that a header was empty though it has a background color. I
> want to put a text in there using this code:
>
> <center><p style="text-align: center;"><span style="font-family: impact
> ,sans-serif; font-size: 36pt; color: #ff0000;">RCL Premier Quality Solo
> Ads</span></p><center>
>
> I am a beginner if Wordpress and I have no idea as to when can I insert
> the above code from the code below.
>
> The code below if the php header code obtain from my site.
>
> <!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 profile="http://gmpg.org/xfn/11">
> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>;
> charset=<?php bloginfo('charset'); ?>" />
> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
> <title><?php if (is_home () ) { bloginfo('name'); } elseif (
> is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
> elseif (is_single() ) { single_post_title(); }
> elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title();
> }
> else { wp_title('',true); } ?></title>
> <script type="text/javascript" src="<?php bloginfo('template_url');
> ?>/script.js"></script>
> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"
> type="text/css" media="screen" />
> <!--[if IE 6]><link rel="stylesheet" href="<?php
> bloginfo('template_url'); ?>/style.ie6.css" type="text/css"
> media="screen" /><![endif]-->
> <link rel="alternate" type="application/rss+xml" title="<?php
> printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>"
> href="<?php bloginfo('rss2_url'); ?>" />
> <link rel="alternate" type="application/atom+xml" title="<?php
> printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>"
> href="<?php bloginfo('atom_url'); ?>" />
>
> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
> <?php wp_head(); ?>
> </head>
> <body>
> <div class="Main">
> <div class="Sheet">
> <div class="Sheet-tl"></div>
> <div class="Sheet-tr"><div></div></div>
> <div class="Sheet-bl"><div></div></div>
> <div class="Sheet-br"><div></div></div>
> <div class="Sheet-tc"><div></div></div>
> <div class="Sheet-bc"><div></div></div>
> <div class="Sheet-cl"><div></div></div>
> <div class="Sheet-cr"><div></div></div>
> <div class="Sheet-cc"></div>
> <div class="Sheet-body">
> <div class="Header">
> <div class="Header-jpeg"></div>
> <div class="logo">
>
> <div id="slogan-text" class="logo-text">
> </div>
> </div>
>
> </div>
>
> Thanks and I hope to hear some help from anyone.
>
> Best,
>
> The VaPreneur
New description:
Hi,
This is my site: http://www.rcl.soloprofiteer.com/soloads/
You noticed that a header was empty though it has a background color. I
want to put a text in there using this code:
{{{
<center><p style="text-align: center;"><span style="font-family: impact
,sans-serif; font-size: 36pt; color: #ff0000;">RCL Premier Quality Solo
Ads</span></p><center>
}}}
I am a beginner if Wordpress and I have no idea as to when can I insert
the above code from the code below.
The code below if the php header code obtain from my site.
{{{
<!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 profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>;
charset=<?php bloginfo('charset'); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category()
) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
elseif (is_single() ) { single_post_title(); }
elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
else { wp_title('',true); } ?></title>
<script type="text/javascript" src="<?php bloginfo('template_url');
?>/script.js"></script>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"
type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url');
?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php
printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>"
href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php
printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>"
href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body>
<div class="Main">
<div class="Sheet">
<div class="Sheet-tl"></div>
<div class="Sheet-tr"><div></div></div>
<div class="Sheet-bl"><div></div></div>
<div class="Sheet-br"><div></div></div>
<div class="Sheet-tc"><div></div></div>
<div class="Sheet-bc"><div></div></div>
<div class="Sheet-cl"><div></div></div>
<div class="Sheet-cr"><div></div></div>
<div class="Sheet-cc"></div>
<div class="Sheet-body">
<div class="Header">
<div class="Header-jpeg"></div>
<div class="logo">
<div id="slogan-text" class="logo-text">
</div>
</div>
</div>
}}}
Thanks and I hope to hear some help from anyone.
Best,
The VaPreneur
--
Comment:
Hi The VaPreneur, this Trac is for WordPress core software.
Please try the support forums to get help with your site:
https://wordpress.org/support/.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33152#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list