Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

yearly archive


  #1  
Old Jun 13, 2014, 01:11 PM
lkjc's Avatar
lkjc
 
12 posts · Mar 2009
france, britany
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
  #2  
Old Jun 13, 2014, 02:13 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What is the url of the page you are talking about?
Or do you mean the way widgets display the archives?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 14, 2014, 04:59 AM
lkjc's Avatar
lkjc
 
12 posts · Mar 2009
france, britany
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
  #4  
Old Jun 14, 2014, 06:15 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 14, 2014, 10:32 AM
lkjc's Avatar
lkjc
 
12 posts · Mar 2009
france, britany
Quote:
Originally Posted by juggledad
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'.
I know that widget has nothing to do with the theme and, as I wrote before, I'd rather not to put a pluging. I put it waiting a solution eather from you or the pluging developper.
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
  #6  
Old Jun 14, 2014, 10:59 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The code a plugin uses is separate from the theme code.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jun 14, 2014, 12:55 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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=' .
to
HTML Code:
			<?php wp_get_archives('order=ASC&type=' . $bfa_ata['archives_date_type'] . '&show_post_count=' .
make sure to keep good notes because you will have to change this code each time there is a theme upgrade.

This will only give you the year, month, week or post title depending on what options you choose.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 14, 2014 at 01:01 PM.
  #8  
Old Jun 15, 2014, 08:01 AM
lkjc's Avatar
lkjc
 
12 posts · Mar 2009
france, britany
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
  #9  
Old Jun 15, 2014, 08:03 AM
lkjc's Avatar
lkjc
 
12 posts · Mar 2009
france, britany
thanks for answer.

Why do I have to create a new page if I just want to use the usual archive widget ?

thank you
  #10  
Old Jun 15, 2014, 02:52 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Jun 16, 2014, 02:37 AM
lkjc's Avatar
lkjc
 
12 posts · Mar 2009
france, britany
ok,
thank you very much for your help.

regards

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Archive drop down... lnsokol Atahualpa 3 Wordpress theme 1 Sep 18, 2010 02:06 PM
The Archive widget ! bomba101 Sidebars & Widgets 1 Jul 14, 2010 04:52 PM
Archive : code help BooNMiNG Atahualpa 3 Wordpress theme 4 May 31, 2009 11:49 AM
Problem in archive.php jrodon Atahualpa 3 Wordpress theme 1 Feb 15, 2009 07:03 AM
Archive Widget HenryGomez Sidebars & Widgets 1 Feb 3, 2009 05:28 PM


All times are GMT -6. The time now is 05:06 PM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.