Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have been messing with some code for two days and have spent far to many hours trying to get it to work. I just can't get it working. Here is what I need to do.

I thought I could use categories for this and it would have worked perfectly but I can't get the code to work. The idea was to have a main categories. "Breakfast" "Lunch" "Dinner". Then under those categories, I would make posts but on the categories page, only the title of the post would show. You click the link and it would take you to the full post. My problem came in when I tried to put an image above each category to represent that category. Here is a picture done in html. This is exactly what I am trying to reproduce in WordPress example

So for the lunch menu, an image then the name of the category and then each link underneath that is underlined would be the title of a post, click the link and it would take you to the full post. When trying to get the images, I could only get one image at a time and then it ended up posting the image for each title.

here is the link to my first attempt. I think what I need to do is abandon that attempt and try another method but I can't think of one. Do you have any suggestions?

help using get_option

share|improve this question
All attempts should be placed on one question. It's better to edit your other question than create a new one and splinter the effort to help you. – Brian Fegter Sep 28 '12 at 0:20
possible duplicate of help using get_option – Brian Fegter Sep 28 '12 at 0:21
The title does not say what you want. Your code does not tell what you have tried. And the tag … it is about posting? Please improve this question. – toscho Sep 28 '12 at 0:29

closed as not a real question by Brian Fegter, toscho Sep 28 '12 at 0:28

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

Without seeing the code it's hard to tell what's not working for you now, so if you want to post that we could look into it. But if you're open to going a whole new direction (and using a plugin) this might be what you're looking for:

http://wordpress.org/extend/plugins/categories-images/

Best of luck, hope this helps!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.