![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#2
|
||||
|
||||
|
It is possible to sort via a custom field, but it is not a simple solution and cannot be done with the widget as is.
To sort via a custom field you would need to write a function to associate the post data with the post meta in an array and then sort the data in the array before outputting the post data. This isn't a terribly easy task, which is why so many event plugins fall apart. Basically you query your posts and then setup your array from that PHP Code:
Also, as I said, the whole thing is really difficult to pull off correctly. In this case it would require a very specific date format to sort correctly. You would probably want a more user friendly date format/ This requires a fair bit more code to pull off.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
| Tags |
| category, event, order, sorting |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Making post date linkable to posts from that date | thesportsphysio | General Discussion | 6 | 11-25-2009 01:50 PM |
| php call for date modified rather than date pbulished | mediatracts | General Discussion | 3 | 11-03-2009 08:57 AM |
| Posts with date and others without date? | farouchia | General Discussion | 4 | 10-28-2009 01:54 AM |
| Trying to Remove Date In Posts | sammith | General Discussion | 18 | 07-25-2009 09:22 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us