Profile
Achievement
hussong's Recent SnippetsTagged wordpress
- All /
« Prev 1 Next »
Custom sorting for events based on a custom field
needs to be added to navigation-links.php
requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
0
927
posted 13 years ago by hussong
Appends a custom more-link to all excerpts, regardless of whether they're auto-generated or pulling manual excerpts from the excerpt field. Note: Automatic excerpts still show the default […] at the end (before the more-link).
Found here: http:/...
1
753
posted 14 years ago by hussong
Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)
0
752
posted 14 years ago by hussong
Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).
0
953
posted 14 years ago by hussong
Uses action hook of the hybrid theme framework to launch function that modifies the query on the archive page for category 6.\\r\\n\\r\\nSorts by the custom field \\\"event_date\\\" and compares it to the current date.\\r\\n\\r\\nBased on [goto11\\\'...
0
817
posted 14 years ago by hussong
Put this before the loop in archive.php to have posts in the archive for category '26' sorted by custom field 'date'.
Assign sortable values like '090501' or '2009-05-01' to those fields when editing posts and your Upcoming Events will be sorted by...
8
1901
posted 15 years ago by hussong