I had a problem. I couldn’t change the category slug in some of my categories. So I found the solution at:
The problem comes from the fact that the tags and categories are stored in the same table in the database. And the tags also have slugs. So if there is already a tag with the slug that you want to put in the category you can’t do it until you delete the tag or change it’s slug.
You just need to go to the tags table in the admin panel and change the tag slug that’s making the problem.
Go to the Settings -> Permalinks and add custom:
If your url looks like this:
You could make it look like this:
Just go to the Settings -> Permalinks and change Category base to (dot)
This function will return the theme directory URL so you can use it in other functions:
Alternatively, this function will echo the theme directory URL to the browser:
So an example for an image in the themes
images/headers folder would be:
<img src="<?php bloginfo('template_directory'); ?>/images/headers/image.jpg" />