Ok, I have been searching high and low for an easy way to implement this for my client.. ?
Here is what I am trying to accomplish:
http://www.trails2000.org/site/trail_conditions.html
Not sure what to do?? i can easily make a table and let them update.. ?
Or I was looking at GD Star rating and doing a Multi-set ?? But not sure about that either..
Any thing that I am overlooking ?
Thanks!
Manual coding will be best for this kind of situations, so you have more control of the features you need.
and consider building this using Post types
to learn more about Custom Post types, check this slide
DON’T do it manually (I gather by ‘manually’, your referring to hard-coding, or having the user edit a table through the WYSIWYG editor?).
As everyone has said, do it custom. You’ll need to use custom post types, custom taxonomies, and custom fields.
If you use a plugin, you should look for a plugin that manages custom post types, custom taxonomies, and custom fields, such as this one: http://magicfields.org/
Having said that, hand-coding it without a plugin isn’t very hard, and should give you a better understanding of how it all fits together.
‘Trail’ should be a custom post type. The ‘Trail’ post type should have a custom taxonomy ‘Trail System’, which would hold ‘Colorado Trail System’, ‘Fort Lewis Trail System’, etc. The ‘Trail’ post type should have custom fields for ‘condition’, and possibly ‘comments’. Though ‘comments’ could instead be stored in the post body.
The client will be able to update the site themselves by adding ‘Trails’ and ‘Trail Systems’ through the WordPress admin interface, similarly to the way they add ‘Posts’ and ‘Categories’.
Make sense?
EDIT: Below explains how to set up the above using raw code (ie, no plugin)
Below is some example code, which should go in functions.php. Once this code is in functions.php, ‘Trails’ should appear in the admin interace, below ‘Posts’. ‘Trail Systems’ should appear in the drop-down menu of ‘Trails’, much like ‘Categories’ do for ‘Posts’. When you add a new ‘Trail’, there should be custom fields below for ‘comments’ and ‘condition’.
Some other stuff you might find useful:
You’ll access your trails at a url like http://www.example.com/?post_type=trail or http://www.example.com/trail or similar, depending on how your permalinks are set up.
In your theme, you can create the files archive-trail.php and single-trail.php for making a custom template for archive/single ‘Trail’ posts.
Inside The Loop, you can access custom post fields like this:
And again inside The Loop, get your custom taxonomy like this:
Lastly, I don’t know if you need to do anything with searching Trails, but if so, check this out: http://thereforei.am/2011/10/28/advanced-taxonomy-queries-with-pretty-urls/
In my experience custom is far better – offers more flexibility. It happened to me a lot of times that I used a plugin because initially it saved me some time, and then 70% into the project I had to make some small modifications, which ended up wasting more time on figuring out how and where to make those changes that I could have coded the whole darn thing myself.
You could create them an admin page that saves variables for each of the trails specifically (“good” “bad” or whatever), allowing users who are editors or above to update it. I’d think that the custom solution here would be best, for sure.
If you login to http://myego.org, then go to the “My EGO” page, you’ll see that sort of admin page (although yours would be all dropdown menus, while this one is all fields).