Tons of Theme Problems
-
Alright so I designed a layout that was working 99% (didn’t support for more then one post with out getting ugly and didn’t support more then on widget with out getting ugly).
I started setting up the main page to display post and run the loop but I keep getting this error…
Parse error: syntax error, unexpected $end in /home/blooddes/public_html/gamersdrug/wp-content/themes/custom/index.php on line 66
and here is my index code…
<?php get_header(); ?> <body> <!-- Wrapper --> <div id="wrapper"> <!-- Header --> <div id="header"> <!-- Logo --> <div id="logo"> <a href=""><img src="/images/logo.png" style="border:none;" alt="GamersDrug" /></a> </div> <!-- Special --> <div id="special"> </div> <!-- Menu --> <div id="menu"> <ul> <li><a href="">Games</a></li> </ul> </div> </div> <!-- Content --> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <!-- News --> <div id="news"> <!-- News Title --> <div id="newstitle"> <div id="spcimg"><span><a href="<?php the_permalink(); ?>" rel="bookmark" title='Click to read: <?php strip_tags(the_title()); ?>'><?php the_title(); ?></a></span></div> </div> <!-- News Date --> <div id="newsdate"> <?php the_time('F jS, Y'); ?> by <?php the_author(); ?> </div> <!-- News Content --> <div id="newscontent"> <?php the_content('Read the rest of this entry »'); ?> </div> </div> <?php endwhile; ?> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>
And my url is https://blooddesigns.net/gamersdrug/
Can anyone help me with this problem?
Also almost forgot may background color wont work anymore and it also has a space at the top of page. (this is when it was working without the loop)
my style/* Theme Name: GamersDrug Theme URI: https://blooddesigns.net/ Version: 0.0.5 Description: A custom design Author: Josh Blood Author URI: https://blooddesigns.net Tags: custom,blood,designs,gamers,drug */ @charset "utf-8"; /* CSS Document */ body { background-color:#333; margin: 0; } #wrapper { width: 950px; height: 100%; margin: 0 auto; } #header { background:url(images/headbg.png) repeat-x; width: 950px; height: 102px; float: left; } #logo { height: 50px; width: 238px; float: left; margin-left: 50px; margin-top: 25px; } #special { background:url(images/vgimghead.png) no-repeat; height: 102px; width: 422px; float: right; } #content { background:url(images/contentbg.png) #dad6c4 repeat-x; min-height: 500px; height: auto; width: 950px; float: left; } #menu { float: left; margin-top: 70px; margin-left: -150px; } #menu ul { list-style: none; margin: 0; } #menu li { display: inline; } #menu a { font-size: 17px; text-decoration: none; color:#FFF; font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold; } #news { min-height: 200px; width: 650px; float: left; margin-left: 30px; margin-top: 50px; border: #a1a1a1 solid; background:#FFF; margin-bottom: 50px; } #newstitle { height: 28px; width: 650px; background: url(images/newsbg.png) repeat-x; } #spcimg { height: 28px; min-width: 95px; background: url(images/newsbullet.png) no-repeat; } #spcimg span { float: left; margin-top: 5px; margin-left: 100px; } #spcimg span a { font-size: 12px; text-decoration: none; color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } #newsdate { height: 12px; max-width: 175px; background:#000; font-size: 10px; text-decoration: none; color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; text-align: center; margin-top: 5px; margin-left: 15px; float: left; padding-left: 5px; padding-right: 5px; } #newscontent { height: auto; width: 600px; margin: 0 auto; margin-top: 20px; padding-top: 10px; padding-bottom: 10px; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } #sidebar { width: 200px; height: auto; float: right; border: #a1a1a1 solid; margin-right: 30px; margin-top: 50px; } #sidetitle { background:url(images/newsbg.png) repeat-x; height: 28px; width: 200px; } #sidetitle span { float: left; font-size: 12px; color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; margin-top: 5px; margin-left: 15px; } #sidecontent { background: #FFF; width: 200px; height: auto; } #sidecontent p { margin-top: 0px; margin-bottom: 0px; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; } #footer { background: url(images/footerbg.png) repeat-x; height: 30px; width: 950px; float: left; } #footer span { float: left; font-size: 12px; color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; margin-top: 7px; margin-left: 15px; } #footer a { text-decoration: none; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Tons of Theme Problems’ is closed to new replies.