January 20, 2013 at 2:46 pm #13322
I'm creating a page called "Questions & Answers". I want an introduction and then a list of all posts in that category. I used these instructions: http://my.studiopress.com/tutorials/category-blog-page/
I created the page with the introduction. I added a custom field. Name: query_args Value: cat=48
When the page shows, I can see the introduction, but there is no list of posts in the category. Right now there is only one post in this category.
Here is the page I'm trying to create: http://stress-free-mama.com/stress-questions-and-answers/
Any ideas for me?
Thank you very much.January 20, 2013 at 4:44 pm #13352
I just followed the tutorial, and it worked fine for me. If you substitute category 48 for another #, does that affect anything?
The reason I ask this is because you're having an issue on another thread with that category showing on your slider, even though you excluded it, so it sounds like that category ID is causing all kinds of issues
January 20, 2013 at 4:57 pm #13354
Hi Rosesilk -- I think I just accomplished something on my site that sounds similar to what you want to do. I am a rank novice myself, so take the below with a grain of salt, but I got it to work, and it was very simple.
The net effect is a Category of posts that shows as its own page, and which is listed in the menu under it's category name. Here is what I did, which I think is a different method than what you described: 1) create new post with a title such as "Questions and Answers" (this will end up looking like the page title), and the content of the post might be "Here is where I try to answer your questions!"; 2) Create/assign a Category, to the post, for example "Q&A" and publish it; 3) visit your site from the front-end, and navigate to the "Q&A" category, and you will go to the page for that category (which at the moment has only the one post on it), and double click on the URL and copy the URL into your clip-board; 4) go back to your controls area, and go to Appearance>Menus and then where it says "Custom Links" paste your category-page URL into the URL-box, then under "Label" type in what you want the menu-item to say such as "Q&A"; then you just click "add to menu". Remember to "Save Menu" before you navigate away; Now you should have a "Q&A" menu item that effectively leads to a Q&A "page".
The trouble now, is that the posts in this category will now show up under Q&A "page" AND in Your blog. So, you can tell WordPress to exclude the "Q&A" category from your Blog, so that those items will only show up as long as you know the Category ID Number. So, do this: 1) Go to the left side of the control panel under "Posts" and click "Categories", and then when the list of categories comes up, hover your pointer over the "Q&A" category. The status-bar of your browser will show a long URL-type thing including part that says something like "...category&tag_ID=15....." where the number is your category ID; then 2) got to Genesis>Blog Page Template and put that category ID in the box that says to exclude these categories from blog-page templates. You could make it so that people post their questions as "Comments" to your original post, and everything is just a chain of comments thereafter. Or I guess you could let people make "posts" depending how you set it up thereafter.January 20, 2013 at 5:12 pm #13358
I tried a different category number and had the same problem.
Thank you for your idea but it doesn't really accomplish what I want. I want to create a page that has content on the top and the list of posts in that category beneath. Thank you for your help. I'll keep experimenting.January 20, 2013 at 5:13 pm #13359
Although I have to say, now that I've seen the tutorial you linked to in your original post, I like that sound of that better than what I did, so I'm going to try that instead! But anyway, now you have something else to try that also should work.January 20, 2013 at 5:22 pm #13360
cdilsParticipantJanuary 20, 2013 at 5:48 pm #13364
Thinking so more on this... Using that tutorial and setting it to use the Blog template will get rid of your "intro" text that you've typed into the page (just the nature of using the Blog template).
If you go to Posts > Categories > and edit your Q&A category, you'll see a spot to add an "Archive Headline" and "Archive Intro Text" - what about filling in that information and then just linking to your category archive page here:
January 20, 2013 at 6:15 pm #13366
Two SP points for Carrie
If you're using the query_args trick, then it only works if the page template is set to the Blog page (does mention this in Step #1 on the tutorial).
The better way, seeing as you only want a title and introduction for your category archive, is Carrie's second suggestion - go and edit the category, add an archive headline and intro, and save.
January 20, 2013 at 7:29 pm #13375
Thank you, Thank you. I got it all worked out. Sorry I missed the blog page template part, but I ended up using the second suggestion anyway. It looks great now.January 20, 2013 at 7:34 pm #13376
kudos to @cdils
Closing this thread as resolved.
You must be logged in to reply to this topic.