Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( bp_is_register_page() ) : ?>
- <script type="text/javascript">
- jQuery(document).ready( function() {
- if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
- jQuery('div#blog-details').toggle();
- jQuery( 'input#signup_with_blog' ).click( function() {
- jQuery('div#blog-details').fadeOut().toggle();
- });
- });
- </script>
- <?php endif; ?>
- </td>
- <!-- / Main Column -->
- <!-- Right Sidebar -->
- <td id="right">
- <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
- <!-- Default content here -->
- <div class="widget"><div class="widget-title"><h3>Recent Posts</h3></div>
- <?php $r = new WP_Query(array(
- 'showposts' => 20,
- 'what_to_show' => 'posts',
- 'nopaging' => 0,
- 'post_status' => 'publish',
- 'ignore_sticky_posts' => 1));
- if ($r->have_posts()) : ?>
- <ul>
- <?php while ($r->have_posts()) : $r->the_post(); ?>
- <li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a></li>
- <?php endwhile; ?>
- </ul>
- <?php wp_reset_query(); // Restore global post data stomped by the_post().
- endif; ?>
- </div>
- <div id="linkcat-99" class="widget widget_links"><div class="widget-title">
- <?php wp_list_bookmarks('category_before=&category_after=&title_before=<h3>&title_after=</h3></div>'); ?>
- </div>
- <div class="widget"><div class="widget-title">
- <h3><?php _e('Meta','atahualpa'); ?></h3>
- </div>
- <ul>
- <?php wp_register(); ?>
- <li><?php wp_loginout(); ?></li>
- <li><a href="http://wordpress.org/" title="
- <?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.','atahualpa'); ?>">
- <?php _e('WordPress','atahualpa'); ?></a></li>
- <?php wp_meta(); ?>
- </ul>
- </div>
- <?php endif; ?>
- </td>
- <!-- / Right Sidebar -->
- </tr>
- <!-- / Main Body -->
- <tr>
- <!-- Footer -->
- <td id="footer" colspan="3">
- <p>
- <?php echo bfa_footer(); ?>
- </p>
- <?php if ($bfa_ata['footer_show_queries'] == "Yes - visible") { ?>
- <p>
- <?php echo $wpdb->num_queries; ?><?php _e(' queries. ','atahualpa'); ?><?php timer_stop(1); ?><?php _e(' seconds.','atahualpa'); ?>
- </p>
- <?php } ?>
- <?php if ($bfa_ata['footer_show_queries'] == "Yes - in source code") { ?>
- <!--
- <?php echo $wpdb->num_queries; ?><?php _e(' queries. ','atahualpa'); ?><?php timer_stop(1); ?><?php _e(' seconds.','atahualpa'); ?>
- -->
- <?php } ?>
- </td>
- </tr>
- </table><!-- / layout -->
- </div><!-- / container -->
- </div><!-- / wrapper -->
- <?php bfa_incl('html_inserts_body_bottom'); ?>
- <?php wp_footer(); ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement