Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i can make an easy template for displaying custom post types. but what i'd like to do is add some editable text to the top of my loop.

for example:

Hey wow, we really make cool products. I think it'd be nice if this text wasn't had coded into the template. any ideas?

product 1
product 2
product 3

and so on.

what is the easiest way to do that? is it possible to attach meta to a post "type"? i know you can sort of do something like that for categories/tags/tax, etc. but for a "type"? should i make it a theme option? would i be better served by making a post type and then displaying it through a taxonomy?

i do want the resulting permalink to be mysite.com/products

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I believe wp_options is the best solution for this. It's easily editable in an theme option page, but still you must hand code a new option each time you register a new Custom Post Type.You can use these

share|improve this answer
    
forgot about this post. i agree the options API is probably the best/only solution. –  helgatheviking Mar 5 '12 at 22:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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