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've setup a traveling/photography blog. I want to have different post types: Traveling, Hotel Reviews, etc. For the traveling post, I want to add unique data like: City, Weather (for the current time for that day), Geotag meta data (long. and lat.). etc.

I am new to custom taxonomies, custom post types and custom fields. For example, I don't know when I should use custom taxonomies and when to use custom fields.

There are many plugins out there that I thought buying, here are two of them: http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182 http://www.dev4press.com/plugins/gd-taxonomies-tools/features/

What I want to achieve:

1) Add a city for a custom post type (choose from a list of cities using a drop down list of the cities that I've added to a list) and also attach an image of the city to the bottom of my post.

2) Choose a weather and use an icon to show the user the current weather for that day of shooting 3) Have a URL like: http://mydomain.com/city-name http://mydomain.com/city-name/post-name.html

As city-name would be the taxonomy - but what if I have several taxonomies, how can I build my permalink structure to maintain that structure?

4) Optimization & speed - From what I've read, I need to use a numerical value as the first element in my permalink structure in order to minimize stress on my WordPress DB and also to prevent WordPress from creating verbose rules. Does that imply to taxonomies in the URL too?

There are many questions that I don't have answer for. I am very confused with all the plugins and information out there any really need help from you guys.

Thanks in advance.

share|improve this question
    
what do you mean by "choose a weather" ? –  onetrickpony Apr 30 '11 at 18:39
add comment

2 Answers

You can use so many free plugins to create custom post types like:

which all do the same as the two you you listed and some do even more, in creating custom post type, custom taxonomies and as for custom fields not all of them have that feature but there are a few who do, and you even for that you have some amazing free plugins like:

with the right plugin or combination of plugins you don't have to spend a dime (donations to plugins authors is more the welcome) you can achieve exactly what you want. And after that long list you can doo all of that your self by code with the help of the Codex and this great site.

Now the main question

What should I use - Taxonomies, custom fields, Post Type?

I follow my own set of rules by deciding what kind of data i need stored and what i need to do with it.

  • Post types - for all major data records that need/not to be displayed or queried.
  • taxonomies - for grouping posts/custom records together, helps a lot in queries.
  • custom fields - for extra data that needs to be per post/custom record ,maybe even to help in queries.

Good luck.

share|improve this answer
1  
I like your differentiation for uses of Custom Post Types, Custom Taxonomies, and Custom Fields (Custom Metadata). Otto wrote a great post that explains the differentiation, also; if I can find it, I'll link it here. –  Chip Bennett May 31 '11 at 14:07
add comment

if you do not mind forking out some cash WPMUDEV has a solution for you that might work and make it easy to use its called Custom Press it uses wordpress new 3.0 features and the best part is the content gets stored in wordpresses normal database tables so there is no worry if you decide to quit using it down the road. Here is the link to it WPMUDEV - Custom Press

One nice feature about this is it creates new panels in the admin area for each area. You can also setup custom fields, taxonomies, templates, etc.

share|improve this answer
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.