[wp-hackers] get_archives
Roy Schestowitz
r at schestowitz.com
Tue May 30 05:22:58 GMT 2006
___/ On Mon 29 May 2006 20:34:50 BST, [ Indranil Dasgupta ] wrote : \___
> Hi,
>
> Is there any way to edit the output of <?php get_archives(); ?> tag?
> Now, it only shows the articles. I want it to also show the date on
> which it was made. Do I have to edit a core file? which is it? And
> how?
> thanks
Hi Indranil,
<?php get_archives(); ?> is not truly a tag, but you can change its effect
directly by changing the function get_archives() to fetch article date from
the table and output it.
Here is where you can change this:
,----[ Snippet ]
| roy at BAINE:~/public_html/wordpress> fgrep -R 'function get_archives' *
|
| wp-includes/template-functions-general.php:function
get_archives_link($url,
| $text, $format = 'html', $before = '', $after = '') {
|
| wp-includes/template-functions-general.php:function get_archives($type='',
| $limit='', $format='html', $before = '', $after = '', $show_post_count =
| false) {
`----
Best wishes,
Roy
--
Roy S. Schestowitz
http://Schestowitz.com | Free as in Free Beer ¦ PGP-Key: 0x74572E8E
6:15am up 32 days 12:47, 9 users, load average: 0.90, 0.82, 0.88
http://iuron.com - semantic engine to gather information
More information about the wp-hackers
mailing list