Solved

Wordpess Category Page Control

Posted on 2014-11-27
4
88 Views
Last Modified: 2014-12-04
In WordPress, I see that I can create a page based on a category, and that page will contain all the posts in that category. It seems that older posts are not displayed, and instead put in an archive, which seems to be automatic (at least, on the existing site that I am modifying, that seems to be the case).

The client says that for one category (http://www.alehisraelfoundation.org/category/in-the-press/), only 2 stories show up - only 3 stories happened in 2014. On another category (http://www.alehisraelfoundation.org/category/aleh-happenings/), 15 stories show up, because all those stories occurred during 2014. Both pages have an "archives" at the bottom. The client wants to see at least 15 stories on both pages, regardless of the year. Can this be done using the category feature of WordPress?
If not, is there a suggested way of displaying 15 stories (I know of a "recent posts" widget/shortcode) and ALSO including a button to include archived stories?

Thank you.
0
Comment
Question by:Lev Seltzer
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Yes, this can be done.  You need to get the code from the page template that does the database query and alter it to suit your needs.  If you can post the code here, we can assist further.
0
 

Author Comment

by:Lev Seltzer
Comment Utility
Where would that code be? Which file in the editor would I edit?
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
Not 100% sure as I don't know how your site was built. Look for page-something.php files in the editor. Hopefully one of those matches the page in question and it will contain the Loop code.
0
 

Author Closing Comment

by:Lev Seltzer
Comment Utility
Thank you. I found it.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now