Stubborn parse error on wordpress theme
Hello, I\'ve made my first wordpress theme from scratch and as expected I\'m running into some trouble getting it to function.
Here\'s the error message: Parse error: syntax error, unexpected $end in /home/seve4033/public_html/blog/wp-content/themes/sevensharks/footer.php on line 35 ...line 35 is </html> so I\'m lost as to what is unexpected. If you guys could lend a helping eye with this thatd\'d be great. Thanks in advance <?php /** * @package WordPress * @subpackage Seven_Sharks */ ?> <div id=\"footer\"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists(\'dynamic_sidebar\') || !dynamic_sidebar(\'footer\') ) : ?> <hr id=\"frule\" /> <div class=\"submenu\" id=\"category\"> <h3><?php _e(\'Categories\')?></h3> <ul> <?php wp_list_categories(\'title_li=\'); ?> </ul> </div> <div class=\"submenu\"> <h3><?php _e(\'Archives\') ?></h3> <ul> <?php wp_get_archives(\'type=monthly&limit=12\'); ?> </ul> </div> <div class=\"submenu\"> <li> <h3><?php _e(\'Blogroll\')?></h3> <ul> <?php wp_list_bookmarks(\'title_li=&categorize=0\'); ?> </ul> <?php endif; ?> </div> <div id=\"copyright\"> All Content © 2010 Seven Sharks. All Rights Reserved. <br> <a href=\"<?php bloginfo(\'rss2_url\'); ?>\">Entries (RSS)</a> and <a href=\"<?php bloginfo(\'comments_rss2_url\'); ?>\">Comments (RSS)</a>. <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> </div> <div class=\"clear\"></div> </div> </div> <?php wp_footer(); ?> </body> </html>
1 Answer
ok i downloaded the last worldpress and tried (its did not give me any errors)
but just try this code: <?php /** * @package WordPress * @subpackage Seven_Sharks */ ?> <div id="footer"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer') ) { ?> <hr id="frule" /> <div class="submenu" id="category"> <h3><?php _e('Categories')?></h3> <ul> <?php wp_list_categories('title_li='); ?> </ul> </div> <div class="submenu"> <h3><?php _e('Archives') ?></h3> <ul> <?php wp_get_archives('type=monthly&limit=12'); ?> </ul> </div> <div class="submenu"> <li> <h3><?php _e('Blogroll')?></h3> <ul> <?php wp_list_bookmarks('title_li=&categorize=0'); ?> </ul> <?php } ?> </div> <div id="copyright"> All Content © 2010 Seven Sharks. All Rights Reserved. <br> <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>. <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> </div> <div class="clear"></div> </div> </div> <?php wp_footer(); ?> </body> </html> Posted: is_set 0 of 0 people found this answer helpful. Did you? Yes No |
© Advanced Web Core. All rights reserved