![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2013
Posts: 2,605
|
Editing Header
My site http://jism.org is using a theme from http://www.adultsiteskins.com.
The header is pretty bare from the site title to the search area. How do I add a banner into the blank area? Here's the header codes. <!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> <title><?php if (is_home () ) { bloginfo('name'); } elseif (is_attachment() ) { echo get_the_title($post -> post_parent).' » '; wp_title('', true); } elseif (is_category() ) { single_cat_title(); } elseif (is_single() || is_page() ) { single_post_title(); } elseif (is_search() ) { echo esc_html($s); } else { wp_title('',true); } ?></title> <meta name="viewport" content="width=device-width" /> <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css?ver=3.0.2" rel="stylesheet" type="text/css" /> <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" /> <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'); ?>" /> <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <![endif]--> <?php wp_head(); ?> <script src="<?php bloginfo('template_directory'); ?>/js/jquery.tools.min.js" type="text/javascript"></script> <script src="<?php bloginfo('template_directory'); ?>/js/init.js" type="text/javascript"></script> </head> <body> <div class="header"> <div class="info"> <?php if(is_home()) { ?> <h1><?php bloginfo('name'); ?></h1> <?php } else { ?> <h1><a href="<?php echo site_url(); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <?php } ?> <p><?php bloginfo('description'); ?></p> </div> <div class="user-bar"> <form method="post" action="<?php bloginfo('url'); ?>/"> <input type="text" class="search-form" name="s" onfocus="javascript: if(this.value == 'Search') this.value = '';" onblur="javascript: if(this.value == '') { this.value = 'Search';}" value="Search" /> <input type="submit" class="search-button" value="" /> </form> <div class="clear"></div> <div class="user-login"> <?php if(is_user_logged_in()) : $user = wp_get_current_user(); if ( !($user instanceof WP_User) ) return; echo 'Howdy, <a href="'.admin_url().'profile.php">'.$user -> display_name.'</a>'; else : ?> Please <?php wp_register('', ''); ?> or <a href="<?php echo wp_login_url( home_url() ); ?>">Login</a> <?php endif; ?> </div> <div class="rss-feed"><a href="<?php bloginfo('rss2_url'); ?>">RSS Feed</a> | <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS Feed</a></div> </div> </div> <div class="navigation"> <?php wp_nav_menu(array('theme_location' => 'header-menu', 'container' => '', 'depth' => '2' ));?> </div> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
scriptmaster
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
|
<div class="user-bar">
<!-- start here banner code--> <!-- end banner cose --> <form method="post" action="<?php bloginfo('url'); ?>/"> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Oct 2013
Posts: 2,605
|
Quote:
http://jism.org |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Oct 2013
Posts: 2,605
|
Got it! I put the banner tag here
<p><?php bloginfo('description'); ?></p> </div> <!-- start here banner code--> <!-- end banner cose --> <div class="user-bar"> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 2,620
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |