yodasw16
09-12-2007, 03:23 PM
I am working on integrating a wordpress blog into a site I am making. I am getting this error:
---
Parse error: parse error, unexpected $ in /home/content/t/h/e/thedogjogger/html/blog/wp-content/themes/wp theme/sidebar.php on line 71
---
here is "sidebar.php" if someone can have a look and tell me if they see something I am missing. Thanks
<div id="rightcolumn">
<h3 class="rightbox" id="linktext">Blog Links</h3>
<p class="feed"><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><img src="http://www.thedogjogger.com/images/feedicon.png" alt="RSS Feed" title="RSS Feed" width="14" height="14" /> RSS Feed</a></p>
<p class="feed"><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><img src="http://www.thedogjogger.com/images/feedicon.png" alt="Comments RSS Feed" title="Comments RSS Feed" width="14" height="14" /> Comments RSS Feed</a></p>
<div id="sidebar">
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<?php if ( is_404() || is_category() || is_day() || is_month() ||
is_year() || is_search() || is_paged() ) {
?>
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
<?php } ?>
<h5>Blogroll</h5>
<ul class="rightbox borderedlist_r">
<?php get_links_list('name'); ?>
</ul>
<h5>Categories</h5>
<ul class="rightbox borderedlist_r">
<?php wp_list_categories('orderby=name&show_count=1&title_li='); ?>
</ul>
<h5>Archives</h5>
<ul class="rightbox borderedlist_r">
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h5>Admin</h5>
<ul class="rightbox borderedlist_r">
<li><?php wp_loginout(); ?></li>
<li>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
</ul>
</div>
</div>
---
Parse error: parse error, unexpected $ in /home/content/t/h/e/thedogjogger/html/blog/wp-content/themes/wp theme/sidebar.php on line 71
---
here is "sidebar.php" if someone can have a look and tell me if they see something I am missing. Thanks
<div id="rightcolumn">
<h3 class="rightbox" id="linktext">Blog Links</h3>
<p class="feed"><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><img src="http://www.thedogjogger.com/images/feedicon.png" alt="RSS Feed" title="RSS Feed" width="14" height="14" /> RSS Feed</a></p>
<p class="feed"><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><img src="http://www.thedogjogger.com/images/feedicon.png" alt="Comments RSS Feed" title="Comments RSS Feed" width="14" height="14" /> Comments RSS Feed</a></p>
<div id="sidebar">
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<?php if ( is_404() || is_category() || is_day() || is_month() ||
is_year() || is_search() || is_paged() ) {
?>
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
<?php } ?>
<h5>Blogroll</h5>
<ul class="rightbox borderedlist_r">
<?php get_links_list('name'); ?>
</ul>
<h5>Categories</h5>
<ul class="rightbox borderedlist_r">
<?php wp_list_categories('orderby=name&show_count=1&title_li='); ?>
</ul>
<h5>Archives</h5>
<ul class="rightbox borderedlist_r">
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h5>Admin</h5>
<ul class="rightbox borderedlist_r">
<li><?php wp_loginout(); ?></li>
<li>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
</ul>
</div>
</div>