Parse Error: Unexpected ‘>’ in line 7
-
Hello:
I am trying to edit this code:
<div id="sidebar"> <ul> <li> <h2>Categories</h2> <?php wp_list_cats();?> </li> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <li><h2>Author</h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> </li> --> <li> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> <li><h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks(); ?> <li><h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="https://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid XHTML</a></li> <li><a href="https://gmpg.org/xfn/">XFN</a></li> <li><a href="https://www.ads-software.com/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php wp_meta(); ?> </ul> </li> <?php } ?> </ul> </div> <?php wp_footer(); ?> <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> </body> </html>
It was template code unzipped from a file. Every time i try to edit it, it gives me the parse error. even if it’s just to uncomment some lines. all i really want to do is take away the “Meta” links, and put them in small text at the bottom of the screen.
Any and All help is appreciated, thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Parse Error: Unexpected ‘>’ in line 7’ is closed to new replies.