Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Wordpess Category Page Control

Posted on 2014-11-27
4
Medium Priority
?
112 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 2000 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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

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…
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
The purpose of this video is to demonstrate how to insert an Iframe into 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 : Open Page or Post…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Suggested Courses

564 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