Viewing 3 replies - 1 through 3 (of 3 total)
  • “><small class=”day”><?php the_time(‘j’) ?></small>

    <?php the_time('j') ?> : all thats ever going to return in the date, and I believe thats the julian date (without doublechecking) — and its working, or your numbers wouldnt be the same.

    Its the stuff before that that you didnt post here that is your problem

    or wait, I understand.. you linking to JUST that, and consequently, its being tacked onto your url.. yah thats not the way you want to do,

    You can fix that by just hardcoding the https://&#8230; before you call the date variable. (thats the quickest thing I can come up with)

    Thread Starter electricbob

    (@electricbob)

    More info…

    When I modify the code to something like:

    <?php $url = get_day_link(…); ?>
    <href a=”<?php echo $url; ?>

    I get:

    20080531
    https://www.alephnaght.com/Blog/

    Which I don’t get at all.

    The calendar widget just calle get_day_url() and returns a URL of the form:

    https://www.alephnaught.com/Blog/?m=20080531

    That ?m= is missing in all my returns – what’s up?

    Thanks! – Bob

    Thread Starter electricbob

    (@electricbob)

    I see your confusion – the part I’m having trouble with got clipped from my initial post:

    <a href="<?php get_day_link((int)the_time('Y'), (int)the_time('m'), (int)the_time('j')); ?>">

    The problem is with the get_day_link call.

    Thanks and have fun! – Bob

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get_day_link from a theme’s index.php page not working for me’ is closed to new replies.