peter_jakobsen
Sophomore
Just Getting Started
Member Likes (0)
Hi There,
I have a question about how to change the archive templates. I want to delete picture, published by, date, click here to read more, boy-text .
Please watch the screenshoot: http://www.trylleskolen2.dk/wp-content/uploads/2012/08/archieves-changes.jpg
So Archive only have header and the tag/comment-line. This is because my Archives will have more than 50 post .
Is that possible? And how do I do it
Thanks. I really enjoy playing around with your themes and plugins.
Regards,
Peter

Responses (5)
Support Chimp (joined March 2010) Likes (0)
Hey there Peter.
Sure it's possible. :)
Looking briefly at the theme files I don't see an archive page, so you could just create a total custom one:
archive.php
Take a look here for the template hierarchy.
http://codex.wordpress.org/Template_Hierarchy
You could then use one of the existing code from:
/wp-content/themes/bp-social/index-post.php (This is where the code for that page is pulled from I believe.)
Copy it over and edit as you wish.
For something like the post meta though (published by) you can remove that here:
Admin --> Appearances --> Theme Options --> Post Settings [TAB]
Let me know if you need anything else, or any more pointers.
Take care.
Member (joined July 2012) Likes (0)
Hi Timothy,
Thanks.
I understand this: Admin --> Appearances --> Theme Options --> Post Settings [TAB]
and I got the: "Copy it over and" but the "edit as you wish." are far too complicated for me. I have no clue on what to write in the Archive-file.
I was wondering - when there is NO archive.php then where do Social-theme get is archive-data from ? Is that not where to look?
Thanks for fast reply,
Regards,
Peter
Support Chimp (joined March 2010) Likes (1)Liked by: 
Hey again.
The archive takes it code from this file on this theme:
/wp-content/themes/bp-social/index-post.php
That's ok, I can give more direction.
You might like to do this in a child theme though:
http://premium.wpmudev.org/manuals/the-buddypress-manual-2/what-are-parent-and-child-themes/
So if you don't want the main content of the article, you can remove this (around line 58:
Remove this for avatars (around line 40):
Hopefully that should help :)
Take care.
Member (joined July 2012) Likes (0)
Hi Timothy,
That is the best support I got in my entire Web-life:-)
Just did what you wrote and everything worked like magic.
Thanx...
Peter
PS!
I'll be back - now I really believe it is possible to make miracles with your supportservice.
Support Chimp (joined March 2010) Likes (0)
That's excellent!
Thanks for the kind words :)
Take care.
Become a member