Editor- Header- how to add ‘random’, ‘next’, ‘previous’?
-
Hi,
In my header I want to add links ‘random’, ‘next’ and ‘previous’with text for the link.
This is my code-
<!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’); ?>” /><title><?php wp_title(‘«’, true, ‘right’); ?> <?php if ( is_single() ) { ?> Blog Archive « <?php } ?><?php bloginfo(‘name’); ?></title>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><!–[if IE]>
<style type=”text/css”>
body { font-size:12px; }
</style>
<![endif]–><?php
if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ );
wp_head();
?>
</head>
<body<?php
global $vertical;
//set vertical class or archive class, if needed
if($vertical && !is_archive() && !is_search()) { echo ‘ class=”vertical”‘; }
if(is_archive() or is_search()) echo ‘ class=”archive”‘;
?>><div id=”page”>
<div id=”header”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div><ul id=”menu”>
- /<?php echo mysql2date(‘Y’, get_lastpostdate(‘blog’)); ?>/”>archive
- /about/”>about
</div>
<div id=”content”>
<div class=”sleeve”>Thanks,
Patrick.The blog I need help with is: (visible only to logged in users)
-
The blog you specified at patrick.dinneen.com does not appear to be hosted at WordPress.com.
This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.
If you don’t understand the difference, you may find this information helpful.
-
- The topic ‘Editor- Header- how to add ‘random’, ‘next’, ‘previous’?’ is closed to new replies.