Solved

Wordpess Category Page Control

Posted on 2014-11-27
4
95 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wordpress CLI 4 41
Wordpress Plug-in? - Need a landing page for a fund raiser 2 48
Effect of setting a page visibility to Private 3 22
css issues with IE 11 8 34
WordPress has made it easy to create scalable sites based on their powerful CMS, but as great as WordPress is, there are some SEO issues that haven’t been addressed out of the box.  Fortunately these problems can be solved with a few plugins.  The f…
Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

785 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