charlieholder
Member
Posted 2 years ago #
I recently upgraded to WP 2.8 and now my archives page only shows the text "Do not edit this page." I've upgraded MANY TIMES over the past 2 years and feel like I had this problem 1 time VERY EARLY but can't quite remember what to do. I thought there was a setting on the page. For some reason I recall choosing something from a drop-down menu somewhere, but maybe I'm just nuts.
Can anyone tell me why my archives page has stopped working and how I can get it working properly again? I used both Google and WP search and found no topics about this particular issue. Please feel free to simply point me to them if I overlooked them.
Thanks.
The question is, what is contained in the template for your archivepage...what code?
If necessary paste the code from that template at http://wordpress.pastebin.com and report the link back here.
charlieholder
Member
Posted 2 years ago #
I'm not exactly sure what you want. What does 'template for your archivepage' mean?
Visit Pages->Edit, click on the Archive page, what's in the template field?
If there's a value, then look in your wp-content/themes/your-theme-name-here/what-ever-template-for-archivepage.php and that's the code to copy and paste.
charlieholder
Member
Posted 2 years ago #
That's what I thought you meant, but I see no template field anywhere.
Might try updating your permalink structure. If that is your "posts page" from the Static Front page options of Settings->Reading, then your index.php is controlling the display of that...
charlieholder
Member
Posted 2 years ago #
My current permalink structure is a custom one: /%postname%/
In Settings -> Reading, my front page displays: Your latest posts
Could it be that my theme simply doesn't have a page for displaying archives? Maybe the author of the theme I'm using simply didn't set it up such that archives can be displayed? http://wordpress.org/extend/themes/lightword
In Appearance->Lightword Settings, is "Check this box if you would like to SHOW CATEGORIES instead pages on top bar" checked?
With that theme, with /%postname%/ permalink, and with "Check this box if you would like to SHOW CATEGORIES instead pages on top bar" NOT checked, I'm not seeing the problem.
charlieholder
Member
Posted 2 years ago #
All settings for LightWord are unchecked.
Man, what could this be?
charlieholder
Member
Posted 2 years ago #
You see an archives page with all those settings the way you described them? Should I try checking the box and then unchecking it? I don't want to screw something else up though.
charlieholder
Member
Posted 2 years ago #
I checked and unchecked that box. Nothing.
charlieholder
Member
Posted 2 years ago #
Here's my page.php file: http://wordpress.pastebin.com/m4964e936
When I go to Appearance -> Editor, it lists the files in the theme. The page.php file says 'Page Template' next to it. That's the only instance of the word "template" that I can find anywhere.
What are you expecting to appear on that Archive page. It should just be the content of that Page.
Guess you could have a plugin conflict...
charlieholder
Member
Posted 2 years ago #
I was using a different theme and switched to this one. On my archive page it showed my tag cloud, archives by month (with post count), and archives by category (with post count).
Screenshot 1
Screenshot 2
Then I guess your 'old' theme had something in the page.php template.
charlieholder
Member
Posted 2 years ago #
Ok. I'll check that out. I think I still have a backup.
charlieholder
Member
Posted 2 years ago #
My theme does not have an archives page. I am slowly learning to make my own to add to it.
To start off, I created a page called archives.php and gave it a template name. Once I did that, my archives page then had a template drop-down box and I was able to select it. From there, all I need to do is add the code I want to the archives.php page.
I found the information here: http://codex.wordpress.org/Creating_an_Archive_Index
Thanks for all the help.
drubarlow
Member
Posted 2 years ago #
I'm finding this out in April 2010 - that Lightword STILL has no archive page. I love the theme overall, especially w/my tweaks, but no archives? Seems a little weak to me.