Add some text in the header, Roots theme
-
I am a programmer in Python and C++, so I have the potential to understand WordPress coding, but I don’t have much time to learn all about it, so I hired a guy to create my website. It turns out I need to make some modifications and I am out of money, so I’m going to attempt these myself.
Website is here.
First, I want to put some text in the header. I want to put a slogan, “Pure Sound for Perceptive Ears.” But I don’t understand how the header is coded in Roots. I see a number of files, such as “templates/head.php”, “templates/header.php”, “page-header.php”, and more. I don’t understand most of the code here. Is there a simple answer to the question of adding some text to the header?
Is Roots a free or commercial theme? I understand that this forum won’t support commercial themes.
Do I need to spend some time learning the basics of Roots before I attempt anything?
Mike
EDIT: I’m not sure how much my website is actually based on roots. I’m going to post some of the code here, in head.php and header.php .
Here is head.php:
<!DOCTYPE html>
<!–[if lt IE 7]> <html class=”no-js lt-ie9 lt-ie8 lt-ie7″ <?php language_attributes(); ?>> <![endif]–>
<!–[if IE 7]> <html class=”no-js lt-ie9 lt-ie8″ <?php language_attributes(); ?>> <![endif]–>
<!–[if IE 8]> <html class=”no-js lt-ie9″ <?php language_attributes(); ?>> <![endif]–>
<!–[if gt IE 8]><!–> <html class=”no-js” <?php language_attributes(); ?>> <!–<![endif]–>
<head>
<meta charset=”utf-8″>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″><?php wp_head(); ?>
<link rel=”alternate” type=”application/rss+xml” title=”<?php echo get_bloginfo(‘name’); ?> Feed” href=”<?php echo home_url(); ?>/feed/”>
</head>Here is header.php:
<header class=”banner” role=”banner”>
<div class=”container”>
<div class=”row”>
<div class=”col-xs-12 col-lg-2″>
<h1 class=”logo”>/”><?php bloginfo(‘name’); ?>”>Brilliant Zen Audio</h1>
</div>
<div class=”col-xs-12 col-lg-7 col-lg-offset-3″>
<nav role=”navigation” class=”clearfix”>
<?php
if (has_nav_menu(‘primary_navigation’)) :
wp_nav_menu(array(‘theme_location’ => ‘primary_navigation’, ‘menu_class’ => ”));
endif;
?>
</nav>
</div>
</div>
</div>
</header>
- The topic ‘Add some text in the header, Roots theme’ is closed to new replies.