I am not so sure that I get what you mean, but here is what I think could be your solution.
You could use custom fields of a post. You find this option on the add a new post page underneeth the fields for excerpt and trackbacks.
The custom fields option has two fields. Name and Value. You give the custom field a name for example “image” and a value which would be in your image case the url of the image.
Than you enter a piece of code into your theme where you want the image to appear that looks like this.
You see that the part get_post_custom_values(“image”) includes the name you gave the custom field. In the exampe we gave the custome field the name “image”. If you give the custom field another name make sure the code you enter in your wordpress theme says not “image”.
you see how there is an image of Iron Man and some other dude behind him? I will call that the “header image” and I want to have an option in Wordpress that I can select a “header image” that will go to the topic and other images I can embed within the post itself. how can I do that?
again that is NOT what i am asking. I want to set one image to be a header and other images to be inserts. I just need to know what code to use in wordpress to select which image is the “header image”
You have two options. The custom fields option and the image option of the post itself where you upload an image with wordpress media function and choose to insert it in a post. Whether it counts as a post header or not doesn’t matter. One is above the text the other isn’t, but there is no difference in how to do it.
That are the options you have to insert images into a wordpress post or page. If you want the image to be the same for all posts you can also add this into your template file.
Maybe you should make yourself more clear. First you talk about the comment.php and then swing to header and post images.
The iron man example you showed me is a post header. Most likey inserted with the regular image option from wordpress or even the custom fields option.
Maybe someone else can chime in and tell me what I don’t get here.
All I did is adding an image into my post that had the right size. Done!
The other option you have is the custom field option. The problem with this is, if you have entered the code for the custom field option to your theme for example the single.php or the index.php it will always appear as an image. If you haven’t added a image to this custom field for this post it will show as a broken image. Internet Explorer will show the red cross.
The code you have to enter is above. I gave it to you already, but here again
why you want to rename the classes? Work with the css you’ve got! If you want to make changes to the <ul><li> elements simply change the data for .jqueryslidemenu ul {, .jqueryslidemenu ul li {, in the jqueryslidemenu css file and #topnav ul li in the theme css. You don’t need new classes.