Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Themes and Templates
    In reply to: CSS in date
    Thread Starter mycroft007

    (@mycroft007)

    I got it working on my site. The Tasting Menu site uses tables for layout and I used CSS. Which means if my post is shorter than the date block is pushes over the next entry.

    I also made the time big instead of the day of the month.

    Here’s what the index.php code looks like.


    <div class="meta">
    <div class="dateSquare">
    <div class="date-big">
    <?php the_time() ?>
    <br/>
    </div>
    <div class="date">
    <?php the_time('l'); /* day of the week */?> <br/>
    <?php the_time('F'); /* full month of the year */?> <br/>
    <?php the_time('d'); /* day of the month */?> <br/>
    <?php the_time('Y'); /* Year */?><br/>
    <hr/>
    <?php the_category() ?>
    <!--?php the_author() ?-->
    </div>
    </div>

    I may do a little editing in the near future to change the format a little.

    Thread Starter mycroft007

    (@mycroft007)

    That did it. Of course I had to do it twice because it need to be set to 0 and not 1. Thanks for the help TG.

    Thread Starter mycroft007

    (@mycroft007)

    There are no posts in the parent category, though the parent is showing.
    I changed the line to:
    <?php wp_list_cats(‘showempty=1&optioncount=1’); ?>
    But still no subcategories.
    I waited a whole day to check back. This time I’ll be back in a minute. :>

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