Wrox Programmer Forums
|
BOOK: WordPress 24-Hour Trainer
This is the forum to discuss the Wrox book WordPress 24-Hour Trainer by George Plumley; ISBN: 978-0-470-55458-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: WordPress 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 6th, 2010, 08:35 PM
Registered User
 
Join Date: Jan 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Can't find similar html tags in other themes

Hi-I've been working through the book as I build my first WordPress site. I wanted to add my logo to my site, I'm using the theme: "jQ 3.1" by Devolux, but I can't find similar html code as used in the example (Lesson 27). After awhile I gave up. But I'm finding similar problems identifying the same or similar html as the starting point in other examples further on in the book that require changing the CSS. I'm a newbee as far as html goes, but I think I'm familiar enough with html to match the examples in the book with what "jQ 3.1" by Devolux displays in the html screens.

Any suggestions?
Thanks,
Ray
 
Old March 9th, 2010, 07:26 PM
Wrox Author
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ray, it looks to me like the jQ theme use text for where a logo would normally go.

The simplest way to put a logo in there would be to open up the header.php template file and find:

Code:
<div id="blog-line">
<!-- blog title and tag line -->
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a> | <?php bloginfo('description'); ?></h1>
</div>
and replace it with something like:

Code:
<div id="blog-line">
<!-- blog title and tag line -->
<a href="<?php bloginfo('url'); ?>"><img src="/mylogo.png" alt="<?php bloginfo('name'); ?>" /></a> 
</div>
You will have to modify the CSS to get the spacing right. Also note, that there are other (better) ways of doing this so that printing the page works better. But this is an easy way to get you going.
The Following User Says Thank You to ddamstra For This Useful Post:
erayman (March 11th, 2010)





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tags issue.. atulshin XSLT 2 October 21st, 2008 03:57 AM
how to find text within range of two tags dipsut XSLT 3 May 25th, 2007 04:27 PM
Sorting on similar tags question terrypink XSLT 21 April 2nd, 2007 02:55 PM
remove html tags lucian Dreamweaver (all versions) 1 November 14th, 2004 03:25 PM
Regular Expression to find all tags except bold edwardforgacs C# 0 December 23rd, 2003 09:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.