I am creating my own theme . I typed
wp_get_archives("type=monthly"); in my sidebar.php file and in the main page it shows the link for 2012 fubruary but when i click on it it takes my to the blank page .
And for that reason i typed in my "archive.php" file
the_post();
the_title(); (And hoped that wordpress is organized in a way that will take me to another page showing the posts of that month). And after doing it it again when i clicked on home pages archive link it again took me to a blank page .
What could be the reason ?
My created theme's archive does not work
Page 1 of 11 Replies - 5041 Views - Last Post: 19 February 2012 - 04:12 AM
Replies To: My created theme's archive does not work
#2
Re: My created theme's archive does not work
Posted 19 February 2012 - 04:12 AM
try
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|