Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Category Slugs


  #1  
Old Sep 2, 2009, 04:32 AM
mbro
 
12 posts · Jul 2009
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
  #2  
Old Sep 2, 2009, 04:58 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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:
is_category('blue-cheese')
When the archive page for the Category with Category Slug "blue-cheese" is being displayed.
taken from Wordpress.org -> http://codex.wordpress.org/Conditional_Tags

or you could try the page2cat plugin and see if you could modify the code a bit
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 2, 2009, 05:38 AM
mbro
 
12 posts · Jul 2009
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!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
showing child category menus when selected the parent category mlluch Page & Category Menu Bars 6 Apr 27, 2011 01:12 PM
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 05:36 PM
How to get rid of "Archive for the ‘Name of Category’ Category Headline? harpek Atahualpa 3 Wordpress theme 1 Jul 31, 2009 06:38 PM
BUGFIX 342 Highlighting of category in category menu bar is gone upscho Old Version fixes and change logs 2 Jul 27, 2009 06:28 AM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM


All times are GMT -6. The time now is 08:05 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.