Permalink
Browse files

minor changes to register_sidebar

  • Loading branch information...
1 parent ea7044c commit 94d79263c0c74f60592aa8109627f5b9a2f0746f drecodeam committed Mar 13, 2012
Showing with 342 additions and 51 deletions.
  1. BIN arrow.png
  2. BIN arrow_close.png
  3. +10 −3 comments.php
  4. +2 −2 footer.php
  5. +6 −0 functions.php
  6. +3 −1 header.php
  7. +21 −14 index.php
  8. BIN layers.png
  9. BIN layers2.png
  10. +17 −20 sidebar.php
  11. +16 −1 single.php
  12. +267 −10 style.css
  13. BIN wp-logo.png
View
BIN arrow.png
Deleted file not rendered
View
Deleted file not rendered
View
@@ -1,3 +1,10 @@
-<div id="comments">
-<?php comments_template(); ?>
-</div>
+<?php
+$comments_args = array(
+ // change the title of send button
+ // remove "Text or HTML to be displayed after the set of comment fields"
+ 'comment_notes_after' => '',
+ // redefine your own textarea (the comment body)
+);
+
+comment_form($comments_args);
+?>
View
@@ -24,8 +24,8 @@
<div id="f_website">
- <div class="left">Slidle Theme by ankur anand. | Powered by wordpress</div>
-
+ <div class="left"> <a href="www.wordpress.org"> <img src="<?php bloginfo('stylesheet_directory'); ?>/wp-logo.png" width="50px"></a>
+Slidle Theme by ankur anand. | Powered by <a href="www.wordpress.org">wordpress</a></div>
</div>
View
@@ -1,9 +1,15 @@
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
+'name' => 'LeftSideBar',
+'id' => 'left-sidebar',
+'description' => 'The main left sliding sidebar.',
'before_widget' => '<div class="side_widget">',
'after_widget' => '</div>',
'before_title' => '<div class="widget_title">',
'after_title' => '</div>',
));
+
+add_theme_support( 'automatic-feed-links' );
+
?>
View
@@ -4,7 +4,7 @@
<html <?php language_attributes(); ?>>
<head>
- <meta charset="<?php bloginfo( 'charset' ); ?>" />
+<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(); ?> <?php bloginfo( 'name' ); ?></title>
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
@@ -27,6 +27,8 @@
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/
+if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
+
wp_head();
?>
</head>
View
@@ -3,6 +3,8 @@
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
+<?php if ( !(in_category('gsoc'))) { ?>
+
<!-- Post Time Info , Category and Comments Start-->
<div class="post_info">
<div class="post_date">
@@ -11,39 +13,44 @@
</div>
<div class="post_category">
- <?php the_category(', ') ?>
+ <?php the_category(',') ?>
</div>
<div class="post_comment" >
<?php comments_popup_link('0', '1', '%'); ?>
</div>
<div class="post_tweet">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/twitter.png" height="40px">
- <a href="http://twitter.com/share?url=<?php echo urlencode(the_permalink()); ?>&amp;text=<?php echo urlencode(the_title()); ?>&amp;via=drecodeam&amp;related=drecodeam">Tweet This</a>
+ <img src="<?php bloginfo('stylesheet_directory'); ?>/twitter.png" height="40px">
+ <a href="http://twitter.com/share?url=<?php echo urlencode(the_permalink()); ?>&amp;text=<?php echo urlencode(the_title()); ?>&amp;via=drecodeam&amp;related=drecodeam">Tweet This</a>
</div>
- </div>
+ </div>
<!-- Post Time Info , Category, Tags End-->
<div class="post_entry">
<!-- Title Start-->
- <div class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
- <?php the_title(); ?>
- </a> </div>
+ <div class="post_title">
+ <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
+ <?php the_title(); ?>
+ </a>
+ </div>
<!-- Title End-->
<!-- Text Start-->
- <div class="post_text">
-<?php the_content( $more_link_text, $strip_teaser ); ?>
- </div>
- <div id="read_more">
- <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> read more ...</a>
- </div>
+ <div class="post_text">
+ <?php the_content( $more_link_text, $strip_teaser ); ?>
+ </div>
+ <div id="read_more">
+ <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> read more ...</a>
+ </div>
+ <!-- Text End-->
+
</div>
<!-- Text End-->
+<?php } ?>
<?php endwhile;?>
<?php endif;?>
</div>
- <?php get_footer(); ?>
+<?php get_footer(); ?>
View
Deleted file not rendered
View
Deleted file not rendered
View
@@ -1,39 +1,36 @@
-<div id="side">
-
- <div id="arrow">
- </div>
-
-
+<div id="side">
+ <div id="arrow"></div>
<div class="side_content">
+
<div id="side_logo">
<img src="<?php bloginfo('stylesheet_directory'); ?>/logo.png">
</div>
-
+
<div id="side_title">
<div class="sub_head"><?php bloginfo('name'); ?> </div>
<p><?php bloginfo('description'); ?> </p>
</div>
<p id="subscribe"><a href="http://feeds.feedburner.com/drecodeam">Subscribe | RSS feed</a></p>
-
- <div id="sidebar">
+
+ <div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar() ) : ?>
- <div id="side_pages">
- <?php wp_list_pages('title_li='); ?>
- </div>
+ <div id="side_pages">
+ <?php wp_list_pages('title_li='); ?>
+ </div>
- <div id="side_cat">
- <div class="sub_head">|CATEGORIES|</div><br>
- <?php wp_list_cats(); ?>
- </div>
- <?php endif; ?>
-
- </div>
- </div>
+ <div id="side_cat">
+ <div class="sub_head">|CATEGORIES|</div><br>
+ <?php wp_list_cats(); ?>
+ </div>
+ <?php endif; ?>
+ </div>
+ </div>
+
<div class="popover">
</div>
</div>
View
@@ -36,14 +36,29 @@
<?php the_content( $more_link_text, $strip_teaser ); ?>
</div>
+ <div class="spacer"></div>
+
</div>
<!-- Text End-->
+ <div class="comments-template">
+ <?php comments_template(); ?>
+
+ </div>
+ <ol class="commentlist">
+<?php wp_list_comments(); ?>
+</ol>
<?php endwhile;?>
+
+<div class="navigation">
+ <div class="prev"><?php previous_post_link('< %link') ?></div>
+ <div class="next"><?php next_post_link(' %link >') ?></div>
+ <div class="spacer"></div>
+ </div>
+
<?php endif;?>
-<?php comments_template(); ?>
</div>
Oops, something went wrong.

0 comments on commit 94d7926

Please sign in to comment.