Before you ask please READ THIS

Blog post date

edited January 2013 in Hypershot Posts: 38
Hey there!

Could you please tell me where to modify the 'date' link of the blog post. When you click the date of the post now, you get get linked to the single post (same as you click the 'title' of the post).
I would like to modify the link of the 'date' so it links to the archive of the posts of the same date:
<?php wp_get_archives(array('type'=>'daily','show_post_count'=>true,));?>

Hope you can help me out :D
Post edited by AlvaE on

Comments

  • AirAir
    Posts: 10,970
    AlvaE said: When you click the date of the post now, you get get linked to the single post (same as you click the 'title' of the post).
    When I was preparing my first theme I was wondering about same thing. I found that is common blogs behaviour, although strange for me:-)

    Go edit advance/utilities.php line ~19
    change get_permalink(), to
    get_day_link(get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' )),

    With regards.
  • Posts: 38
    Thank, Air, works like a charm! You are the man!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!