Solved

Wordpess Category Page Control

Posted on 2014-11-27
4
92 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
ID: 40469343
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
ID: 40472460
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
ID: 40472639
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
ID: 40481649
Thank you. I found it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Navigation funky on tablet in portrait view 2 68
logo getting cutoff on ipad 30 112
WordPress Header Issue 9 36
Wordpress Carousel Size 1 13
Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
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…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

930 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

9 Experts available now in Live!

Get 1:1 Help Now