In general… like on my sidebar if I wanted to list my categories and the xml feed for each category. how would i do that?
There is no “general” theme as far as I know…
If you just want replicate what is in your sidebar – take a look at the code in your sidebar.php template file.
Sorry, vague questions get vague responses.
I just want to list the categories on my sidebar. I went into my sidebar.php file and found code to list the category but it doesn’t list them.
I am using the this template –> http://www.noscope.com/fauna/
Are there posts in the categories? WP by default doesn’t diplay “empty” categories.
there are posts in each category.
if you were to go here –> http://www.everythingevan.com/?cat=1
my categories are listed in the sidebar. i can not find the code anywhere in the sidebar.php file to cut and paste where i want it. any suggestions?
I don’t know what files that theme has – but the template tag for showing categories has to be there somewhere in an if_statement…
Anyway, you can use any of these template tags to get the categories listed:
http://codex.wordpress.org/Template_Tags/list_cats
http://codex.wordpress.org/Template_Tags/wp_list_cats
More specifically
<?php wp_list_cats('sort_column=name&optioncount=0&feed=RSS'); ?>
I am completely stumped. I put the code in my sidebar like Ajay provided and nothing is showing up. I checked the file and it is writeable, I even changed the local file I had and uploaded it… thinking that WP maybe wasn’t saving it correctly.