We help IT Professionals succeed at work.

Wordpess Category Page Control

Lev Seltzer
Lev Seltzer asked
on
128 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.
Comment
Watch Question

Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
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.

Author

Commented:
Where would that code be? Which file in the editor would I edit?
Don't talk to me.
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thank you. I found it.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.