StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 11-06-2008, 06:45 PM
BravoMedia's Avatar
BravoMedia BravoMedia is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 51
Default Home.php Code Error - Out of the Box

So I downloaded the Lifestyle theme yesterday and found an error; out of the box.
Opening the file in Dreamweaver as I always do, every thumbnail on "home.php" was highlighted in yellow indicating an error with a closing quote possibly missing.

Line 30 in the template looks like this (again... out of the box):
the error is at the end of the string:
Quote:
[/b]" />
changing this to "alt text" fixed the error:
If anyone else has found this error I hope this helps. If the template was supposed to be that way, maybe someone can chime in and explain why an error was detected in the code when it is written in its original format.

Cheers!
  #2  
Old 11-06-2008, 06:48 PM
Paul Paul is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Edinburgh, UK
Posts: 1,499
Default Re: Home.php Code Error - Out of the Box

I don't know why Dreamweaver shows it as an error, but that is the way it's meant to be.
__________________
Some of the websites I've built with StudioPress:
<a href="http://www.horseracing.fm">Horse Racing</a> | <a href="http://wedding-blog.net">Wedding Blog</a> | <a href="http://www.weddingtrix.com">Wedding Planning Guide</a> | <a href="http://advance.to">Search Engine Marketing</a> | <a href="http://www.automateyourprofits.com">Betting Software</a> | <a href="http://www.bettingbots.com">Betting Bots</a> | <a href="http://www.pokerclubscotland.com">Poker Club Scotland</a>
  #3  
Old 11-06-2008, 06:49 PM
Debra's Avatar
Debra Debra is offline
Community Moderator
 
Join Date: Oct 2009
Location: Ontario, Canada
Posts: 13,365
Default Re: Home.php Code Error - Out of the Box

Alt text php the title allows each seperate image to have a unique alt ie. the title of the post.

I'm sure I've read somewhere that dreamweaver doesn't always appreciate WP code.
__________________
Fat Cat Designs | "Creativity takes courage." Henri Matisse

Make life easier use FireFox and these Customizing tools: Firebug - Web Developer

New to Genesis? See our Guide for Beginners!

Recommended StudioPress Designer
StudioPress on Facebook
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error code when attempting to add additional sections to home page biskinner General Discussion 1 04-06-2010 05:21 PM


All times are GMT -5. The time now is 01:22 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.