Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

i cant edit my sidebar:(


  #1  
Old Mar 29, 2010, 02:36 AM
noblejunaid
 
1 posts · Mar 2010
i installed a theme
i can access to widgets from wp-admin
but i cant change it i added some widgets but they r not showing up
it is just showing default widgets
ithink there is some thing wrong with sidebar.php or function.php
help
Code:
<?php
/**
 * @package HiBlue_web2morrow_com
 * @subpackage HiBlue
 */
?>

<div id="sidebar">
    
    
  <div class="sb-bg">
    <div class="sb-top">
    <div class="sb-bot">
    <div class="sb-con">

      <!-- TABBED MENU -->
      <div id="container">  
          
        <ul class="menu">  
          <li id="nav_recent" class="nav_recent active"></li>  
          <li id="nav_comments" class="nav_comments"></li>  
          <li id="nav_archives" class="nav_archives"></li>  
        </ul>  
            
        <span class="clear"></span>  
          
        <div class="tabbedcontent nav_recent">  
          <ul><?php wp_get_archives('type=postbypost&limit=5'); ?></ul>

        </div>  
            
        <div class="tabbedcontent nav_comments">  
          

<?php
//global $wpdb;
$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID,
comment_post_ID, comment_author, comment_date_gmt, comment_approved,
comment_type,comment_author_url,
SUBSTRING(comment_content,1,42) AS com_excerpt
FROM $wpdb->comments
LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID =
$wpdb->posts.ID)
WHERE comment_approved = '1' AND comment_type = '' AND
post_password = ''
ORDER BY comment_date_gmt DESC
LIMIT 10";
$comments = $wpdb->get_results($sql);
$output = $pre_HTML;
$output .= "\n<ul>";
foreach ($comments as $comment) {
$output .= "\n<li>" . "<a href=\"" . get_permalink($comment->ID) .
"#comment-" . $comment->comment_ID . "\" title=\"on " .
$comment->post_title . "\">" . strip_tags($comment->com_excerpt)
."...</a></li>";
}
$output .= "\n</ul>";
$output .= $post_HTML;
echo $output;?>


        </div>  
            
        <div class="tabbedcontent nav_archives">  
          <ul>
				    <?php wp_get_archives('type=monthly'); ?>
				  </ul>
        </div>             
        
      </div>  
      <!-- END OF TABBED MENU -->

    </div>
    </div>
    </div> 
  </div>

<div class="sb-bg">
  <div class="sb-top">
  <div class="sb-bot">
  <div class="sb-con" style="height: 20px;">        
      <div style="float: left; padding-left: 10px;">
      <a href="<?php bloginfo('comments_rss2_url'); ?>" title="subscribe"><img class="center" border="0" src="<?php bloginfo('template_url'); ?>/images/nav_rss.png" alt="subscribe" /></a>
      </div>  
      
      <div style="float: left; padding-left: 15px; padding-top: 1px;">
        <!-- AddThis Button BEGIN -->
<script type="text/javascript">var addthis_pub="hiblue";</script>
<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[url]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/sm-bookmark-en.gif" width="83" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>
<!-- AddThis Button END -->

      </div>
	</div>
  </div>
  </div> 
</div>

    

<? include(TEMPLATEPATH.'/ad_blocks.php'); ?>      
       
      
      
<div class="sb-bg">
  <div class="sb-top">
  <div class="sb-bot">
  <div class="sb-con">
    <h3>Pages</h3>
    <ul>
      <?php wp_list_pages('title_li=' ); ?>
    </ul>
	</div>
  </div>
  </div> 
</div>
 
 
    

</div>
  #2  
Old Mar 29, 2010, 10:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This forum is for users of the Atahualpa theme. If you are using another theme, I suggest you go ask the theme's authog for some help.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Sidebar Template jlc500k Sidebars & Widgets 2 Feb 19, 2010 07:50 AM
Which php file should I Edit to Insert Opt In form in SideBar for Atahualpa Theme? kacang Sidebars & Widgets 0 Aug 1, 2009 03:41 AM
Can't edit widgets in Left Sidebar Ashjoielee Sidebars & Widgets 1 Mar 20, 2009 03:28 PM
Can't edit sidebar widgets Ashjoielee Sidebars & Widgets 2 Mar 20, 2009 02:23 PM
Stack Overflow at line: 353 and can't edit sidebar widgets kellya29 Sidebars & Widgets 1 Jan 6, 2009 08:10 PM


All times are GMT -6. The time now is 08:52 PM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.