I need help with WordPress theme code
-
Hey I was trying to make a wp theme but it only returned a white screen. Can You guys help me? The Theme Isn’t finished, please excuse any mistakes, I have all of the codes that I use in the theme here:
Index.php
<?php get_header(); ?> <div class="masterfeats"> <div class="quicklinks"> <h2>Featured News</h2> <div class="quickxitem"> <div class="img"> <img src="images/ff_new_revolution_r3_c7.jpg" width="120" height="120" alt="News" /> </div> <div class="title"><a href="#">CAD Information - VideoGame Designing</a></div> <div class="date">March 17th 2009</div> <div class="itemsummary">Producer of Street Fighter IV Yoshinori Ono tells us about how he got into the industry, his love for Space Invaders, and some scandalous bits of information that might surprise you. What game do you think he's playing? Find out now!<br class="clear" /> </div> </div> </div> <div class="promoted"> <div class="title">CAD Information - VideoGame Designing</div> <div class="item">Producer of Street Fighter IV Yoshinori Ono tells us about how he got into the industry, his love for Space Invaders, and some scandalous bits of information that might surprise you. What game do you think he's playing? Find out now!</div> <div class="more">(<a href="#">Read More...</a>)</div> </div> <br class="clear" /> </div> <div class="bodied_information"> <?php get_sidebar(); ?> <div class="shift_left"> <div class="anima"> Top News </div> <div class="newswrap"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="item" id="<?php the_ID(); ?>"> <img src="images/ff_new_revolution_r3_c7.jpg" width="180" height="100" alt="Item #1" /> <div class="title"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></div> <div class="date"><?php the_time('F jS, Y') ?></div> <div class="itemsummary"><?php the_content('Read the rest of this entry »'); ?></div> </div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> <div class="end"></div> </div> <div class="wideadblock"> ADVERTISEMENT <img src="images/ff_new_revolution_r3_c7.jpg" width="468" height="60" /> </div> <div class="shift_left"> <div class="anima"> Quick Fix News - Anime News </div> <div class="newswrap"> <div class="item"> <div class="title"><a href="#">CAD Information - VideoGame Designing</a></div> <div class="date">March 17th 2009</div> <div class="itemsummary"><p>Both Hybrid Theory and Meteora combined the nu metal[55][56][57][58][59] and rap rock[60][59] sound with influences and elements from hip-hop, alternative rock,[61] and electronica, utilizing programming and synthesizers. William Ruhlmann from Allmusic regarded it as "a Johnny-come-lately to an already overdone musical style,"[62] whereas Rolling Stone called "Breaking the Habit" "risky, beautiful art".[63]</p> <p>In Minutes to Midnight the band experimented with their established sound and drew influences from a wider and more varied range of genres and styles, a process Los Angeles Times compares to a stage in U2's work.[64] In it, only two of the songs feature rapping, and the majority of the album can be considered alternative rock,[65][66] rather than nu metal or rap rock. It also is their first studio album to feature guitar solos.</p> <p>Linkin Park's use of two separate vocalists has become a large part of their music. Chester Bennington is most known for using screaming vocals common in various forms of metal, while also using more melodic singing, and has placed 46th in Hit Paraders list of "Heavy Metal's All-Time Top 100 Vocalists".[67]</p> <p>Mike Shinoda is the group's MC, and does all of the rapping. Mike has also done all of the backing vocals live, and in their latest album, Minutes to Midnight, he sings lead vocals on "In Between", "Hands Held High" and the B-side "No Roads Left". Shinoda has also been placed in Hit Parader's list of "Heavy Metal's All-Time Top 100 Vocalists" at number 72.[67]</p></div> </div> </div> <div class="end"></div> </div> <br class="clear" /> </div> </div> <?php get_footer(); ?>
Sidebar.php
<div class="comp_right"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <div class="boxitem"> <div class="h2title">Search Form</div> <div class="itemx"> <div class="type2"><?php get_search_form(); ?></div> </div> <div class="end2"></div> </div> <div class="boxitem"> <div class="h2title">Media System</div> <div class="itemx"> <div class="type2"><?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?></div> </div> <div class="end2"></div> </div> <div class="adblock"> ADVERTISEMENT<br /> <img src="images/ff_new_revolution_r3_c7.jpg" width="300" height="250" /> </div> <div class="boxitem"> <div class="h2title">Archives</div> <div class="itemx"> <div class="type2"><?php wp_get_archives('type=monthly'); ?></div> </div> <div class="end2"></div> </div> </div>
Header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?> <!--FinalFRACUS » Anime, Music, Video Games, The Latest News From Around The Web! «--></title> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="screen" /> <!--jQUERY--> <!--/jQuery--> <?php wp_head(); ?> </head> <body> <div class="fullendwrap"> <div class="topend"> <div class="loginbox"> <form action="wp-login.php" method="post"> <h2> <div class="rightendreg">(<a href="wp-register.php">Register</a>)</div> Login </h2> <input type="text" name="wp-username" /><input type="password" name="wp-password" /> <img src="images/go_form.jpg" width="42" height="23" style="position:absolute; top: 35px;" /> </form> </div> </div> <div class="buff_divider"> <div class="navigation_barrier"> <div id="slidetabsmenu"> <ul> <li id="current"><a href="/" title="Home"><span>FinalFRACUS</span></a></li> <li><a href="/media/anime" title="Home"><span>Anime</span></a></li> <li><a href="/media/music" title="Home"><span>Music</span></a></li> <li><a href="/media/video-games" title="Home"><span>Video Games</span></a></li> <li><a href="/media/news" title="FinalFRACUS"><span>News</span></a></li> </ul> </div> <br style="clear: left;" /> </div> <div class="mastermenu"> <a href="">About FinalFRACUS</a><a href="">FinalFRACUS FAQS</a><a href="">FinalFRACUSNet</a> </div> <div class="adspace"> <img src="images/ff_new_revolution_r3_c7.jpg" width="895" height="120" /> </div>
Footer.php
<div class="t2"> <div class="buffpres"> Top Tags: <a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a> </div> <div class="buffpres"> Entries By Date: <a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a><a href="#">and some scandalous bits of information that</a> </div> <div class="endfull"></div> </div> </div> <?php wp_footer(); ?> </body> </html>
Can you guys please Help me? I really need this theme working. Thanks alot in advance.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘I need help with WordPress theme code’ is closed to new replies.