Forum Replies Created

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

    (@noonespecialca)

    Thanks!

    Thread Starter noonespecialca

    (@noonespecialca)

    Took me all day but I mashed this together. I added this to page.php

    If you want to add a list of posts with a specified tag to a page, add a custom field called “funmytag” with a value of the tag you want to show results for. If you don’t add a custom field to a page, this section won’t be shown at all.

    <?php
    
     $funmycooltag = get_post_meta( get_the_ID(), 'funmytag', 'true' );
     if (!empty($funmycooltag)) { 
    
     $postslist = get_posts('numberposts=5&tag='.$funmycooltag);
     foreach ($postslist as $post) :
        setup_postdata($post);
     $myID = $post->ID ;
     ?> 
    
    <h5><a href="<?php echo get_permalink($myID) ?>" rel="bookmark" title="<?php the_excerpt(); ?>"><?php echo get_the_title($myID); ?></a></h5>
    
     <?php endforeach; } ?>

    I was having the same issue as well.

    I did some experimenting in Settings>General and found a solution.

    For some reason, the theme only seems to pull from the “Time Format” and not “Date Format” + “Time Format.”

    I selected custom for the “Time Format” and cleared the field. Saved and checked my blog to find that there was no date or time at all.

    So I selected custom for both time and date formats. I cleared the “Date Format” and entered in the following for “Time Format”

    F j, Y g:i a

    Now my blog displays the full date as “June 15, 2010 7:14 pm”

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