Category Slugs
Hi All,
Great theme which I have been using easily until recently. I am trying to use category slugs and having no luck at all. Is there any way I can create a link to display all the posts in a specific category using the slug, rather than the category id? i.e. Category id = 67, Category Name = Test, Category slug = testing I want to be able to have a link as simple as www.example.com/category/testing When I do this it doesnt work and stays at the front page. Can anyone help please or direct me to where I can get help, I have tried on wordpress forums, but no luck. THanks |
you could create a new page template (see http://forum.bytesforall.com/showthread.php?t=3164) and in the code use the is_category() conditional tag to isolate the info you want.
Quote:
or you could try the page2cat plugin and see if you could modify the code a bit |
Juggledad - thanks for the very quick reply, much appreciated.
Doesnt seem as though there is any way of doing this that is easier than just using the cat_id function, just hoped I could have used a different method just as easily! |
All times are GMT -6. The time now is 08:12 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.