Tagged: category page
May 27, 2013 at 1:55 pm #42822
I want to have three dedicated category pages accessible from the main menu. If I simply create a menu using categories, I get an archive page. So to start, I’ve created a dedicated category page using the Genesis tutorial which tells me to select “blog” from the template menu. THEN, I went back to my main menu and made sure I selected THAT page to appear in the menu.
For the sake of communication, let’s call that page “Renovating.” All posts pertain to renovating your house (there are sub-categories under the category of Renovating, like “Fixtures”, “Flooring”, “Paint”, etc.)
Now when I click on “Renovating” in the main menu, I get nearly the same thing as an archives page, but without breadcrumbs (a drag, as I think it would’ve been nice to see the breadcrumbs).
Here’s the main question: When I created that page, I put in the title: “Renovating”, and in the post section, I wrote a little introduction (what the Renovating section would be about and what kind of posts to expect to find there.). This intro copy does not appear anywhere.
What is the best way to create a dedicated page that will be the gateway to all things Renovating (hopefully containing all posts under the category of Renovating, PLUS all posts in any sub-category to Renovating), that will have a nice introduction paragraph at the top (which will be keyword rich and searchable on Google– I say this because Content Block copy, I’ve heard, is not only not searchable within your site, but not indexed very well), plus a single image, followed by the dedicated-category posts?
Lorinhttp://decorumathome.comJune 2, 2013 at 12:54 pm #43642
I’m looking for the answer to this, too. The walkthrough on getting the ‘blog template’ category page works fine, but I don’t really get the point, it kind of looks exactly like the default category page… How can we get a short little bit of intro copy to preface the list of stuff you’re going to see.
I wrote a block of copy which does not appear… It seems this would be a really obvious thing for people to want to do, builds some good Google indexable copy and allows your content to be dug into in a reasonable hierarchical structure.June 2, 2013 at 6:23 pm #43724
I finally figured it out. After combing through the WordPress Codex and coming up with all this code, I started seeing the familiar strings in the Genesis backend.
Silly me– If you go to the category that you want to BE the page, and EDIT that category, scroll down….. and voila! There’s a new idiot-proof (well, maybe not– I almost tripped up!) form field entitled “Archive Intro Text”. Put yer into copy right there. If you want to do some snazzy styling, wrap it in your own div and give it a class like “category-x-intro” to be specific to that category, or just “intro-copy” if you’ll style ALL category intro copy the same way.
Note: You are NOT creating a category page in the “add new page” function. You are NOT selecting any template from the template drop-down. (If you even have that option, then you’re doing it wrong). A page will be created automatically if you just create the category. It is basically an archive page. (I customized mine by eliminating the post_info on these since I didn’t want author or date info.)
If you want this page to be linked in your main menu, just make sure you put the category link in your menu.
Lastly, just know the url to this category page will be http://www.yoursite.com/category/category-x.
Hope this helps.
LorinJune 2, 2013 at 8:27 pm #43741
Dang-nabbit, you’re right! That old tutorial should be taken down. I was able to follow the instructions you left and configure this how I want (kind of a rough draft, but you get the idea): http://www.finalrune.com/category/genre/adventure-mystery/
Thanks, I would have been scouring forums for days myself on this one. Now if I can just figure out how to get my Zenphoto gallery to integrate with Genesis…
– FredJune 9, 2013 at 10:01 pm #44961June 9, 2013 at 10:22 pm #44966
Lorin, where did you edit the post_info part? I’ve checked my css and can’t find it in there. Was hoping to remove that too. Did you find that the intro text has a different background colour to the rest of your theme? Mine is. http://dandenong-ranges-photography.com.au/category/photography-jobs/ Was hoping to have more than 3 posts showing too. Might have to read up more on that.
June 13, 2013 at 12:27 am #45625
The easy question first: Regarding editing or expunging post info from your site, go to this Genesis tutorial page on just that:
Any time you address WHAT displays on your site, it has to do with the “engine” and the loop and should be done through the functions.php file. CSS is about the HOW things display– the “fashion” in which the information shows (font, color, columns, line-height, backgrounds, etc).
So just study the linked page above and it will show you oodles of ways to change, edit, or delete the post info from your site.
Now, regarding getting snippets of posts to display– I actually have full posts displayed on all of my “blog” pages, which are really category pages as explained in the 3rd post in this thread. If you’re talking about what’s showing on my home page, I have a custom static home page on which I created some custom dedicated sidebars. In one of those sidebars, there are three static blocks of text as intro copy to my three main category pages to which they are linked (but I haven’t gotten around to building those pages yet!).
BUT, I’m sure there’s a way to do what you’re trying to do. I just don’t have an answer this second. Kind of learning as I go. You’ll have to post that question in the forum. Just start a new thread!
LorinJune 13, 2013 at 1:32 am #45628
Ok, thanks for that. Yes, I’m learning a lot too. Still haven’t got that part sorted yet but have been able to do a number of other things.
There must be a way of doing a shortcode for posts on a category page without it affecting the blog page. Cheers.
June 13, 2013 at 2:21 am #45632
There’s a plugin for that.http://wordpress.org/plugins/display-posts-shortcode/
You can execute the shortcode in a custom function with hook and conditional tag.
June 16, 2013 at 3:00 am #46226
You must be logged in to reply to this topic.