briangerard
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Autofocus: Turning off datesI should start by saying that I am very new at this. I’ve managed to Frankenstein the coding so that it displays the post title instead of the date. I am sure that there are more elegant, or correct ways to code this. That said, here is what I have:
<?php while ( have_posts() ) : the_post() ?> <div id="post-<?php the_ID() ?>" class="featured <?php sandbox_post_class() ?>"> <div class="entry-date bigdate"><abbr class="published" title="<?php the_title('Y-m-d\TH:i:sO') ?>"><?php the_title(); ?></abbr></div> <h2 class="entry-title post-content-title"><a href="<?php the_permalink() ?>" title="<?php printf( __('Permalink to %s', 'sandbox'), the_title_attribute('echo=0') ) ?>" rel="bookmark"><span><?php the_title() ?></span></a></h2> <div class="entry-content post-content"> <h4><?php the_title() ?></h4> <p><?php the_excerpt(); ?></p>
I just replaced the part (in home.php) that wanted the date with ‘the_title’ (I saw that was what it was called somewhere else in the code, and left the rest as is. Again, I am sure that there are better ways to make this work, and I am by no means a master of this stuff, but it did work for me. Good luck!
Forum: Themes and Templates
In reply to: Autofocus – how to resize the width of postI am having this same issue. I got rid of the meta info, and would like to expand the post area into the space that previously occupied. I’ve tried playing with all the different widths that I can find, but have had no luck. Any help would be much appreciated.
Forum: Themes and Templates
In reply to: replace the dateThank you very much. Based on that, I was able to find it and replace it.
Forum: Themes and Templates
In reply to: replace the dateThank you for the quick response, I’ll give it a shot.
Forum: Themes and Templates
In reply to: Autofocus: Turning off datesI’m curious if there is a way to replace the dates that appear on the front page, with the title of the post. Any help would be much appreciated.