yearly archive
hello,
I don't want my archives collape and to be from past to new; which mean : 2009 2010 2011 2012 and not 2012 january feb... 2011 2010.... thanks for help regard |
What is the url of the page you are talking about?
Or do you mean the way widgets display the archives? |
hi !
the page is : http://jmboucheron.fr/W/ the website has been hacked and had to do it again. we want it exactly the same as before. I would like : http://web.archive.org/web/201110250...siteWP/?m=2011 I had a pluging before, which is not developped and don't work anymore. for the moment I put http://wordpress.org/support/plugin/...ve-list-widget but can't put : 2009 2010 2011 2012 Asked to developper widget too, but prefer not to have to much widget if possible ( the more you have the more you can be hacked....) thank you very much for help. regards |
The archive widget has nothing to do with the theme. The only wigets that come with the theme are the ones that start with 'BFA'.
You need to hope the plugin developer will help you or you might have to hire someone to change the plugin's code. |
Quote:
the question is : If I've no pluging, how can I have the style I want ? If I put the usual archives widget ( which is by default by month) I don't find anywhere a archive.php or a code with archive something.... Is there a place where i can change the code from month to year in your theme ? thank you very much for help |
The code a plugin uses is separate from the theme code.
|
You can set an archive page (ATO->Create ARCHIVES PAGE->Archives Page ID but you will have to edit the theme code to get the list in ascending order
edit bfa_post_parts.php (version 3.7.15) and change line 190 from HTML Code:
<?php wp_get_archives('type=' . $bfa_ata['archives_date_type'] . '&show_post_count=' . HTML Code:
<?php wp_get_archives('order=ASC&type=' . $bfa_ata['archives_date_type'] . '&show_post_count=' . This will only give you the year, month, week or post title depending on what options you choose. |
thanks for help.
why Do I have to create a page ? I just want the usual archive widget to be based on years and not on months. thank you |
thanks for answer.
Why do I have to create a new page if I just want to use the usual archive widget ? thank you |
If you are using the archive widget then it's not a question I can answer. You asked where the archive.php is for the theme - there isn't one but if you go to the archive section of the theme options you can read about what you can do.
If you just want to have the years in the widget showing up oldest to newest then you need to look at the widget code which is not part of the theme. |
ok,
thank you very much for your help. regards |
All times are GMT -6. The time now is 06:21 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.