seth-Prevnt
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Themes and Templates
In reply to: Help with "Date Posted" on homepageGot it. I actually needed to do both things suggested above. A huge thanks!
CodeBiotics and Full Circle, I owe you both a drink.
Forum: Themes and Templates
In reply to: Help with "Date Posted" on homepageThanks a ton for your help. I just tried that and when I added it in, my entire site wouldn’t load. Here is part of the code from index.php. Is there something in there that I need to remove? We don’t want the category or author to show on the homepage, JUST the date.
<h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'cc' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <p class="date"><?php the_time('F j, Y') ?> <em><?php _e( '', 'cc' ) ?> <?php if(defined('BP_VERSION')){ printf( __( ' by %s', 'cc' ), bp_core_get_userlink( $post->post_author ) );}?></em></p> <div class="entry"> <?php do_action('blog_post_entry')?> </div> <?php $tags = get_the_tags(); if($tags) { ?> <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'cc' ), ', ', '<br />'); ?></span> <span class="comments"></span></p> <?php } else {?> <p class="postmetadata"><span class="comments"></p> <?php } ?> </div> </div> <?php do_action( 'bp_after_blog_post' ) ?> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link( __( '← Previous Entries', 'cc' ) ) ?></div> <div class="alignright"><?php previous_posts_link( __( 'Next Entries →', 'cc' ) ) ?></div> </div> <?php else : ?> <h2 class="center"><?php _e( 'Not Found', 'cc' ) ?></h2> <p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'cc' ) ?></p> <?php locate_template( array( 'searchform.php' ), true ) ?> <?php endif; ?> </div> <?php do_action( 'bp_after_blog_home' ) ?> </div><!-- .padder --> </div><!-- #content --> <?php get_footer() ?>Forum: Fixing WordPress
In reply to: Help with HyperLinkTHANK YOU!
Viewing 3 replies - 1 through 3 (of 3 total)