I would like my Archive page to show ONLY
the titles of the post’s, beginning paragraph, and a [Read more . . ] link to the full page.
Currently it is showing full articles on the Archive page.
I am a newbie. I have searched for help articles but I don’t understand them. How can I find Archive page on my editor? It is not listed as “Page” or “Post.” I do not know how to edit CSS Codes. I need a step-by-step instruction or a plugin that does that.
Any boy there?
Can anyone at least tell me where I can find the Archive page template?
I know where the Editor is, but don’t see “Archive page” listed there. I don’t want tot change the template of all the pages . . .
Have some patience, it’s only been an hour since you’ve posted. Please don’t bump either.
That Archive Page is a template that comes some themes. If you don’t see one then your theme doesn’t have that template.
You can try creating your own template with some PHP coding. An example is at this Codex page.
If you do create your own template then you’ll want to first create a child theme of the theme you are using.
That way if an update comes out for your theme then you will not lose your Archives page template. Your template will be safe in the child theme’s directory.
You won’t find “Archives” in your editor if you mean what I think you mean. The way WordPress handles the presentation of posts/pages is through PHP files, which funny enough are called Template files. The theme you are using does not appear to have a
As Jan provided some links for you to read, I highly recommend you read the second one about Child Themes. You will then need to create an
archive.phpfile and use some template tags to get the right output you want to achieve and then style using CSS.
Thank you both!
So, here are what I understand from your replies:
1. It seems there is no Archive template with the theme I am using.
2. I can create a template with some PHP coding.
3. If I choose to do so, creating a child theme is recommended.
I have looked at those links. Thank you.
Now, this is my first Web publishing I have ever tried. I have no idea how PHP codes work yet. I may be able to create a template file according to the example, but I don’t know what to do with it, or where I should copy it to. It will take some time for me to learn all that I need and do what is recommended to do, it looks like. . . . . . that is where I am at.
Is there any plugin that might help me with it?
If not, I will have to wait until my skill is up to it.
But, if there is no Archive page template, where is the Archive page coming from anyway . . ??? Just wondering. I don’t see it in “Page” or “Post” sections.
The template that is being used is the
index.phpfile. It is the way the Template hierarchy works within WordPress.
What you would do is create a child theme, add the file
archive.phpto the child theme’s folder and style using CSS.
Thank you Jose for sticking with me.
What you would do is create a child theme, add the file archive.php to the child theme’s folder and style using CSS.
I have no idea how to do all this.
Creating a child theme part, may be I can do by using examples. But, the examples in the codex instructions have screen shots from older versions that I am not familiar with, so I cannot figure it out. I just don’t know add the created file to “where” and “how.” Where can I find index.php?
Sorry, I know it must be frustrating to people who are so advanced. As I said in the beginning, I have been doing this only for a couple for weeks.
OK, I found the index.php.
Now, where can I find “child theme” folder, or how can I create it?
I will get more help from the developer of the Theme.
Thank you all!
You create the folder using an FTP program or your host’s file management system.
Have to run but I’ll be back later to further post. 🙂
OMG! You are such a blessing, Jose!
Sure, take your time!
So what you want to do is have two different programs open: 1 A text editor, preferably Notepad so it will have the proper file extension and 2 an FTP program or equivalent.
Method 1 ( Simply add a new file ) :
In Notepad add the provided code and save it as
Upload to your theme’s folder and you’re done.
Method 2 ( Child theme ) :
Create an empty folder that will house our files.
If you haven’t already create your stylesheet with the proper heading so WordPress know it is a child theme we are dealing with.
Create that same file with the provided code and save it as
archives.phpin your child theme folder.
Upload the folder to your
/wp-content/themes/directory and activate the newly created child theme.
Wow! Very comprehensive. And you created the stylesheet for me?
Thank you, Jose!!!
Now, it looks like I may be able to follow the steps and go somewhere. With your instructions, and some more patience on my part, I am sure I can do it.
If I get stuck, I will post a separate question again.
OK . . .
I have created a directory “wp-content/theme/my-life-child” with the GoDaddy FTP file manager. And, added the following part to the codes you provided for me, according to the instruction on http://codex.wordpress.org/Child_Themes
/* Theme Name: My Life Child Theme URI: http://themehybrid.com/themes/my-life Description: Child archive template for the My Life theme Author: Olivia Author URI: http://olivetjournal.com Template: mylife Version: 0.3 */ @import url("../my-life/style.css");
So, where can I upload it? and How?
I tried to upload it through FTP File Manager, but it says “Missing PlugIn.” I was told by GoDaddy tech that it should be done through WP.
Do I do that through CSS Stylesheet Editor?
I got the archive.php with the above headers uploaded to “wp-content/theme/my-life-child”.
And, this is what I see on the Theme page:
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
my-life-child Stylesheet is missing.
- The topic ‘How to change "Archive" page template?’ is closed to new replies.