Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fallingintozero

    (@fallingintozero)

    okay, sorry for the multiple posts, but i figured it out, and thought i would share with others who wanted to do this.

    to get the date and time to show in the “recent posts” list, i added THIS PLUGIN. i modified a portion of the original code that looked like this:

    $arc_date = date('m/d/Y', strtotime($arcresult->post_date));  // new
    if ( $show_post_date )  // new
    	$before = $beforebefore . '<span class="recentdate">' . $arc_date . '</span>';  // new
    if ( $arc_title )
    	$text = strip_tags(apply_filters('the_title', $arc_title));
    else
    	$text = $arcresult->ID;
    echo get_archives_link($url, $text, $format, $before, $after);

    to this:

    $arc_date = date('F j, Y @ g:i a', strtotime($arcresult->post_date));  // new
    if ( $show_post_date )  // new
    	$before = $beforebefore . '<span class="recentdate">' . $arc_date . '</span>';  // new
    
    echo get_archives_link($url, $text, $format, $before, $after);

    there were some lines of code deleted, and some lines modified. but all seems to be working great now.

    Thread Starter fallingintozero

    (@fallingintozero)

    okay, i figured out how to get the blog to show the date and time for the subject. i went through all the pages of the theme and replaced instances of:

    <?php the_title(); ?>

    with:

    <?php the_date(); ?> @ <?php the_time(); ?>

    which works great, so i thought i would post it in case others wanted to do this.

    BUT… the only question i still have, is on the sidebar, there is a “Recent Posts” list that shows the original subject of the posts, or if it doesn’t have a subject, it shows the post id number. would anyone know how to get this to show the <?php the_date(); ?> @ <?php the_time(); ?> code instead of the subject/post id number?

    Thread Starter fallingintozero

    (@fallingintozero)

    well i banned someone’s house, work, and school IP addresses from accessing my blog, but they keep using different friends computers and wifi spots to access my blog. they’re the only person from that state accessing my site.

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