Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Web 2.0, Mashups, and Other Web Programming > BOOK: WordPress 24-Hour Trainer
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 6th, 2010, 07: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
Reply With Quote
  #2 (permalink)  
Old March 9th, 2010, 06:26 PM
Wrox Author
 
Join Date: Mar 2010
Location: Michigan
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.
Reply With Quote
The Following User Says Thank You to ddamstra For This Useful Post:
erayman (March 11th, 2010)
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:25 PM
Regular Expression to find all tags except bold edwardforgacs C# 0 December 23rd, 2003 08:31 AM



All times are GMT -4. The time now is 06:48 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.