Page 1 of 1

Need help with wordpress 2.6 tags.

Posted: Sun Aug 10, 2008 5:37 pm
by esmarts
First off I am almost going to leave it here with what I got. I dont know if anyone here can help me but I sure would like to think it. lol

Ok here is what I got so far. I designing a directory. The directory is implated in a post which category name is

?cat=3

by the defualt permalinks setting. Ok when I click on a link in the directory it is taking me to the sub category and not puting the main category name in the url.
Example when I click on a link in the directory
The Url is

http://localhost/&wp_dir=add

I need it to pick up and place the main category name in the link as well

example of what i need the link to be.

http://localhost/?cat=3&wp_dir=add


if you know about wordpress and how this thing should work please please help me out here.

Help would be great
Thanks

Re: Need help with wordpress 2.6 tags.

Posted: Mon Aug 11, 2008 3:22 am
by filippo.toso
Have you tried using a filter for post_link?

http://codex.wordpress.org/Plugin_API/Filter_Reference

It should let you modify the permalinks generated by WP with anything you want.