Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I 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!

    I 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.

    Thread Starter briangerard

    (@briangerard)

    Thank you very much. Based on that, I was able to find it and replace it.

    Thread Starter briangerard

    (@briangerard)

    Thank you for the quick response, I’ll give it a shot.

    I’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.

Viewing 5 replies - 1 through 5 (of 5 total)