workathomenews
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Categories Script for index.phpSorry just saw your last post… thank-you so much for all of your help, I’m pretty sure I can find a way to create the variable as a default first myself. Have a good sleep.
Dave
Forum: Themes and Templates
In reply to: Categories Script for index.phpCan I trouble for one more tidy up… is there a way that I can make it display a specific post/category if no category is parsed? Sort of like a catch-all/default.
Thanks again
Forum: Themes and Templates
In reply to: Categories Script for index.phpThat’s IT!
You are a genius huggie. Thank-you so much for your help.
Dave
Forum: Themes and Templates
In reply to: Categories Script for index.phpJust a thought, not much of a php wiz, but do I have to define cat or something like that somewhere?
Forum: Themes and Templates
In reply to: Categories Script for index.phpI’ve tried implementing that and it’s definitely getting closer, I have no posts coming up now when I use the cat.
Here’s the whole query_posts line
<?php query_posts(‘post_type=post&order=asc&category_name=$cat’); ?>
And I’m trying to call it using
https://www.opportunitiesworkathome.com/Newsletter/index.php?cat=introducton
I have a category Called Introduction which has slug introduction with one post in it.
I’m guessing it’s a syntax problem, but I’m very confident this will work.
Forum: Themes and Templates
In reply to: Categories Script for index.phpI’ve read the usage notes also. I have change the setting in the index.php to allow for displaying posts instead of pages. Just missing the script that allows wordpress to filter by category so that this will work:
/index.php?cat=category_name
Can’t I just install/add the script that performs this function into the index.php file?
Forum: Themes and Templates
In reply to: Categories Script for index.phpI’m pretty sure I’m missing something in the index.php that allows wordpress to do all of the filtering.
Forum: Themes and Templates
In reply to: Categories Script for index.phpfor info calling the individual post still shows both posts
Forum: Themes and Templates
In reply to: Categories Script for index.phpsure….
ids are 1 and 5 for posts in test-cat and introduction respectively.
Forum: Themes and Templates
In reply to: Categories Script for index.phpI 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
Forum: Themes and Templates
In reply to: Categories Script for index.phpOK… 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
Forum: Themes and Templates
In reply to: Categories Script for index.phpOK
Thank-you very much. I’ll Try that and see how I go
Dave
Forum: Themes and Templates
In reply to: Categories Script for index.phpok… 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
Forum: Themes and Templates
In reply to: Categories Script for index.phpIf you like, I am available on Skype
dave_gravitysponsoring
Forum: Themes and Templates
In reply to: Categories Script for index.php“Newsletter” is the main WP installation directory, it is the same as when people install into “blog” or similar.