StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Home.php Code Error - Out of the Box (http://www.studiopress.com/support/showthread.php?t=430)

BravoMedia 11-06-2008 06:45 PM

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!

Paul 11-06-2008 06:48 PM

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.

Debra 11-06-2008 06:49 PM

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.


All times are GMT -5. The time now is 09:13 PM.

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