• Resolved amandaleeorg

    (@amandaleeorg)


    Okay, I was trying to delete some things from my sidebar, and it looks like I messed up. This is the error I’m seeing:

    Parse error: parse error, unexpected T_ENDIF in /home/content/g/a/m/gamzattinapoli/html/wp-content/themes/UpstartBloggerMinim/ubminim/sidebar.php on line 94

    Here’s my sidebar code:

    <div id="sidebar">
    
    <a href="<?php echo get_settings('home'); ?>/"><img src="http://www.amandalee.org/wp-content/uploads/2010/01/header-photo.jpg" width="336" alt="<?php bloginfo('name'); ?>" /></a><br />
    
    <div class="sitetitle"><?php bloginfo('name'); ?></a></div>
    <div id="description"><?php bloginfo('description'); ?></div>
    
    <div id="ads">
    
    <a href="http://www.etsy.com/shop/ilovelifeiloveyou"><img src="http://www.amandalee.org/wp-content/uploads/2010/02/illily-88x88-ad.jpg" class="adpicleft"></a>
    <a href="http://www.amandalee.org/category/postcarding/"><img src="http://www.amandalee.org/wp-content/uploads/2010/02/postcard-ad.jpg" class="adpicmiddle"></a>
    <a href="http://www.amandalee.org/advertise/"><img src="http://www.amandalee.org/wp-content/uploads/2010/02/advertise-here.jpg" class="adpicright"></a>
    
    </div>
    
    <div id="subcolumns">
    
    <div id="subcolumnleft">
    <div class="subcolumnheadline">SEARCH</div>
    	<?php include(TEMPLATEPATH . '/searchform.php'); ?>
    <br />
    <br />
    <div class="subcolumnheadline">CLICKAGE</div>
    Visit my other projects: <a href='http://amandaleedotorg.tumblr.com'>Tumblr</a>, <a href="http://www.etsy.com/shop.php?user_id=6236342">i love life i love you</a>, <a href="http://30knits30days.tumblr.com">30 Knits in 30 Days</a>, and <a href="http://www.minorleaguesmusic.com">The Minor Leagues</a>.
    See the rest of my writing: <a href="http://www.almostfourstars.com">Almost Four Stars</a>, <a href="http://www.abovethefraymag.com">Above the Fray</a>, and <a href="http://www.task.fm/blog">TaskBlog</a>.
    Still want more? <a href="http://www.twitter.com/amandalee">Follow me</a> on Twitter.
    <br />
    <a href="http://independentfashionbloggers.org/"
    target="_blank"><img
    src="http://heartifb.com/images/badges/white_180x100.gif" width="150"></a>
    <br />
    <br />
    
    </div>
    <div id="subcolumnright">
    <div class="subcolumnheadline">FEEDS</div>
    <ul>
    <li><a href="<?php bloginfo('rss2_url'); ?>">Subscribe via RSS</a></li>
    <li><a href="http://feedburner.google.com/fb/a/mailverify?uri=amandalee/zhBO&loc=en_US">Subscribe to amanda lee dot org by Email</a>
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li>
    </ul>
    <br />
    <br />
    <div class="subcolumnheadline">POPULAR POSTS</div>
    <ul>
    <li><a href="http://www.amandalee.org/2009/12/essential-sewing-skills-for-wardrobe-maintenance/">Essential Sewing Skills for Wardrobe Maintenance</a></li>
    <li><a href="http://www.amandalee.org/2009/11/the-8020-rule-sartorialized/">The 80/20 Rule...Sartorialized</a></li>
    <li><a href="http://www.amandalee.org/2009/10/pre-move-decluttering-packing-without-screaming/">Pre-Move Decluttering: Packing Without Screaming</a></li>
    <li><a href="http://www.amandalee.org/2009/08/how-to-love-your-life-even-if-you-hate-your-job/">How to Love Your Life, Even If You Hate Your Job</a></li>
    <li><a href="http://www.amandalee.org/2009/05/a-reiteration-why-fashion-is-important/">A Reiteration: Why Fashion Is Important</a></li>
    <li><a href="http://www.amandalee.org/2009/05/full-disclosure-i-take/">I Take Off My Clothes for Money</a></li>
    <li><a href="http://www.amandalee.org/2009/04/frugal-fashion-from-my-mum-7-tips/">Frugal Fashion From My Mum</a></li>
    <li><a href="http://www.amandalee.org/2009/01/the-cost-per-wear-how-much-is-your-clothing-worth-to-you-or-are-you-getting-your-moneys-worth/">The Cost Per Wear: How Much Is Your Clothing Worth?</a></li>
    <li><a href="http://www.amandalee.org/2008/12/the-value-of-outfit-pics/">The Value of Outfit Photos</a></li>
    </ul>
    
    </div>
    
    <?php if (function_exists('wp_list_pages')) { ?>
    <h3>pages</h3>
    <ul>
    <?php wp_list_pages('title_li=' ); ?>
    </ul>
    <?php } ?>
    
    <?php if (function_exists('akpc_most_popular')) { ?>
    <h3>popular</h3>
    <ul>
    <?php akpc_most_popular($limit = 5); ?>
    </ul>
    <?php } ?>
    
    <!-- edit this to add your own advertising content -->
    
    <p><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/feed-icon-28x28.png" alt="Feed" /></a></p>
    
    			<?php endif; ?>
    
    <h3>Copyright</h3>
    	Copyright &copy; 2007-2010 by Amanda Lee. All rights reserved.

    Any thoughts? Suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try removing <?php endif; ?> near the end of the file. And next time, please use the WordPress pastebin for copies of complete files and post the pastebin url here. It makes life easier for everyone.

    Thread Starter amandaleeorg

    (@amandaleeorg)

    Oh, sorry, I didn’t know about the pastebin! Thanks for the tip.

    Also, this fixed it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘unexpected t_endif’ is closed to new replies.