I fucked up and dont want to start over!

Status
Not open for further replies.

jerxs

New member
Jun 24, 2006
1,806
24
0
North East PA
I started designing a new area to a site im working on, im using wordpress and should have just used pages for the entire area, but instead I used cat's. Well the site is a little fucked up now and doesnt work the way I want it to, the main cat goes to an archive of posts, which is well and fine, but the child cat's also go to an archive page, which is the part that I really thought nothing about before I started, I have a child cat set up for each item, so one item (post) per child, its kind of gay clicking on a link only to have to click on another to get to that one item, if that makes any sense. Is there any way besides using redirects that I can cut the archive out of just the child cat linking?

Hope Im making sense,

Thanks jer
 


You can just create a link to each of them manually in your sidebar and then hide your category section. If I'm understanding what you want correctly.
 
I could go that route, but I have about 1000 more items to add, that I really dont want to go in and hack manually, but that would work, any ideas on an automated route, removing the archive.php file period almost works, but then fucks up the parent cat.

Jer
 
I just re read your first post. Are you saying that when you click on a sub cat it takes you to the same page as if you click on it's parent cat?
 
no, I have child categories set up for each parent, each child contains only one post, so if you click on a child you go to an archive/ index of posts for that child, beings that there is only one post per cat, being directed to an archive is really pointless.

You can look here to see what I meen, U.S. Coins
 
exactally mike, I was thinking about just using re-directs, or a plug in used to make sitemaps (wich Ill have to put off untill I have all cats ups), but I was just hoping for a pain free route.
 
Another way you could possibly do it would be to replace the category code in your sidebar with the post link code like:

Code:
<a href="<?php the_permalink() ?>" title="Permalink"><?php the_title(); ?>

I haven't tried it, but it may work.
 
I tested the sitemap plugin I told you about here: Sitemap Generator Plugin for Wordpress · Dagon Design

Install the plugin, ectivate it and place the code below in your sidebar:

Code:
 <?php echo ddsg_create_sitemap(); ?>

You may need to play with the layout/formatting of the sitemap to get it do display the way you want, but that's easy.
 
Status
Not open for further replies.