Advertisement:

Author Topic: My Website(www.cynmart.com) just went down after editing function.php  (Read 467 times)

bernascoginger

  • Newbie
  • *
  • Posts: 30
I am using osclass 3.5 bender theme. I edited my function.php to include cartegory icons ontop of each category name.
 I added a new folder into my "image" folder called categoryicons...I added the lines below into my function.php

I tested it after editing the function on my local server "wamp" and it worked the image below:

Firstly, when i did the editing and I accessed my website only the "Real estate category" icon appeared ontop.
I tried again and suddenly my website is no longer loading the webpage..

Please visit my website at: www.cynmart.com to see what is happening..

I need help immediately to keep my website in session

Regards

<ul class="r-list">
             <li>
                <!-- <h1><a class="category <?php echo osc_category_slug() ; ?>" href="<?php echo osc_search_category_url() ; ?>"><?php echo osc_category_name() ; ?></a> <span>(<?php echo osc_category_total_items() ; ?>)</span></h1>-->
                 
                 <!-- START code insert of main category Png icons -->
<h1><a class="category <?php echo osc_category_slug() ; ?>" href="<?php echo osc_search_category_url() ; ?>"><img src="<?php echo osc_current_web_theme_url('images/categoryicons/') . osc_category_name() .'.png' ?>" width="50px" height="50px" alt="" title=""/></a>

<br /><strong><span class="category <?php echo osc_category_slug() ; ?>"></span><span><a href="<?php echo osc_search_category_url() ; ?>"><?php echo osc_category_name() ; ?></a> (<?php echo osc_category_total_items() ; ?>)</span></strong></h1>
<!-- END code insert of main category Png icons -->