Community Forums › Forums › Archived Forums › Design Tips and Tricks › Custom Category Blog Page
- This topic has 7 replies, 5 voices, and was last updated 11 years, 2 months ago by
Brad Dalton.
-
AuthorPosts
-
July 17, 2014 at 1:36 pm #114719
Veit
MemberHi guys,
I need some help... I want to customize the category pages for our custom theme.
I understand that we can create custom pages and define which category we want to display on a Blog Page, but then I have 2 category pages going - the Blog Page version, plus the other http://www.domain.com/category/category-name/ page as well.
So I have 2 questions;
1. can I just set up a bunch of Custom Blog Category pages, and then redirect the default category pages to the custom ones?
If so, how would I go about doing that?
2. can I customize the standard category page template somehow?
If so, how would I do that?
Also, where can I tell WP or Genesis only to display and exert of the post, not the entire post on the category page?
Thanks for your help,
VeitJuly 17, 2014 at 5:27 pm #114752Brad Dalton
ParticipantCreate a custom archive or custom category pages using the WordPress template hierarchy for naming and then the SP code snippets. http://my.studiopress.com/snippets/
July 17, 2014 at 6:26 pm #114757Veit
MemberThanks for that! Now, I have a category.php file there, but WP doesn't use it.
Does it need to be in the child or in the genesis folder? And what lead in does it need at the top?
Thanks!
July 17, 2014 at 7:49 pm #114760Brad Dalton
Participantbut WP doesn’t use it
Sorry but i don't follow?
In the child theme.
Use the SP Code Snippets.
July 18, 2014 at 8:49 am #114799DTHkelly
MemberPerhaps start with some category/archive tutorials.
http://my.studiopress.com/tutorials/category-blog-page/
http://sridharkatakam.com/?s=category+archive
August 23, 2014 at 10:24 am #120631vandalais
MemberWhen you use the reveal ID plugin it shows the page id. Is there a way to show the category id? When I use the StudioPress instructions it doesn't seem to work. Should we now be using category_name?
Follow me on Twitter
August 23, 2014 at 6:33 pm #120697Summer
MemberThe template hierarchy is determined by WordPress not by StudioPress, and the easiest place to find the category number is in the Posts > Categories panel... hove over the category as if you were going to edit it (or just edit it), and you'll see the number you need.
Did you name your template following the conventions in the Codex?
I can confirm that using both category-ID.php and category-slug.php work just fine in Genesis child themes... have been using them for years 🙂
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkAugust 24, 2014 at 1:21 am #120731Brad Dalton
ParticipantThis is what i use http://wpsites.net/wordpress-tips/create-custom-category-archive-page-template/
You can find the category I.D from the page source code or hover over the delete/edit category in the backend.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.