Title: Categories Script for index.php
Last modified: August 19, 2016

---

# Categories Script for index.php

 *  [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/)
 * Hi Everyone
 * I’m having a bit of an issue with the following WP Blog… [http://www.opportunitiesworkathome.com/Newsletter/](http://www.opportunitiesworkathome.com/Newsletter/)
 * I am using an amazing theme which I really like, but it appears as though the
   categories script for the index.php file is missing.
 * What I want to be able to do is sent people to a category link and they will 
   see the posts in that category only.
 * Can someone help me out with the script.
 * Thanks
 * Dave

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/categories-script-for-indexphp/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/categories-script-for-indexphp/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404538)
 * It’s hard to see what the problem is when you only have 1 post on your site and
   no way to examine any other categories. I’m assuming you do have more than 1 
   category, yes?
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404541)
 * yes, I have two categories set-up, with one post in each category. Hello World
   is assigned to test-cat and Introduction is assigned to introduction.
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404544)
 * If you need me to set something else up to make it easier, just let me know what
   you need.
 * Thanks
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404545)
 * So what’s “Newsletter”? a Page?
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404548)
 * “Newsletter” is the main WP installation directory, it is the same as when people
   install into “blog” or similar.
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404549)
 * If you like, I am available on Skype
 * dave_gravitysponsoring
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404556)
 * Ah – it’s your main posts page – which is meant to display **all** of your posts
   in date order.
 * If you intend to publish posts that don’t fit under the heading of Newsletters,
   you’ll need to rename that Posts page to something more generic, then set up 
   a new catgeory called Newsletters and file posts under that new category as appropriate.
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404557)
 * ok… that’s great, but how do I link to the selected category and show ONLY the
   posts from that category?
 * ie at the moment I have two categories defined with only one post each. How do
   I display only the posts for one specific category.
 * The categories I have set-up at the moment are test-cat and introduction.
 * Thanks for your help
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404559)
 * Create a page called “Newsletters” as well. Then use the [Page Links To](http://wordpress.org/extend/plugins/page-links-to/)
   to redirect the new Page to the Newsletter category. WP will handle the listing
   of the right posts in the right category automatically.
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404566)
 * OK
 * Thank-you very much. I’ll Try that and see how I go
 * Dave
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404575)
 * OK… I think I might be almost there.
 * I can the point the Page to anything by the looks, but what I need it the url
   for a specific category. How do I manage that?
 * Thanks
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404577)
 * I just thought, maybe I haven’t been very clear in defining what I am trying 
   to achieve…
 * This blog will be used as a newsletter for my subscribers.
 * My autoresponder will send them an e-mail x days after they have subscribed with
   a link to the posts I want them to read x days after they subscribe. (ie a particular
   category of posts)
 * Then y days later, they will get another e-mail with another link to the posts
   that I want them to read y days after they subscribe.
 * And the process will continue for years.
 * What I need is a way to send them somewhere where they will only see the posts
   that belong to the category I have sent them to.
 * Thanks for your help
 * Dave
 *  [huggie](https://wordpress.org/support/users/huggie/)
 * (@huggie)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404582)
 * This is very straight forward and being over complicated. Can you provide me 
   with the id’s of the posts.
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404583)
 * sure….
 * ids are 1 and 5 for posts in test-cat and introduction respectively.
 *  Thread Starter [workathomenews](https://wordpress.org/support/users/workathomenews/)
 * (@workathomenews)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/#post-1404585)
 * for info calling the individual post still shows both posts

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/categories-script-for-indexphp/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/categories-script-for-indexphp/page/2/?output_format=md)

The topic ‘Categories Script for index.php’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * 27 replies
 * 3 participants
 * Last reply from: [huggie](https://wordpress.org/support/users/huggie/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/categories-script-for-indexphp/page/2/#post-1404703)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
