Info
- 5 posts
- 3 voices
- Started 2 years ago by InvTrdr
- Latest reply from InvTrdr
- This topic is resolved
Links in the Header.
-
- Posted 2 years ago #
I am using the "Structure" theme with the header.php file code below. This is the link http://bbshowcase.org/forums/ to see the layout of the template. Just change the theme to "Structure" at the bottom of the page to see it. I am trying to change the links on top to different links pointing to my sites. Like "home", "Example1", Example2" etc. Where and how do I do it in the code below?
Thank you.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"<?php bb_language_attributes('1.1'); ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php bb_title() ?></title><?php
// Feed header
bb_feed_head();
// Get functions
require_once(bb_get_template('functions.php'));
op_script_loader();
// bbPress head function
bb_head();
?><link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
</head><body id="<?php bb_location(); ?>">
<div id="body-container">
<?php require_once(bb_get_template('main-nav.php')); ?>
<div id="header-container">
<div id="header">
<h1>" title="<?php bb_option('name'); ?>"><span><?php bb_option('name'); ?></span></h1>
</div>
</div><div id="container">
<div id="<?php if(is_front()) echo "content"; else echo "forums"; ?>" class="forums left">
-
- Posted 2 years ago #
Looks like something got changed while pasting the code above. Will try with a few "x" in there. Looks like it removes the a href after <h1>. Will switch around "<" and ">" so code will stick to the page.
>div id="header-container"<
>div id="header"<
>h1<>a href=">?php bb_option('uri'); ?<" title=">?php bb_option('name'); ?>"<>span<>?php bb_option('name'); ?<>/span<>/a<>/h1<
</div>
</div><div id="container">
-
- Posted 2 years ago #
Use backticks ( ` ) to display code. Place one before the code and one after.
-
- Posted 2 years ago #
Didn't get anything.
Put the code in between backtick (`) characters. You can find the key above of Tab -
- Posted 2 years ago #
Thanks. Was looking in the wrong file. It was in the nav.php file.
-
You must log in to post.