WordPress.org

Ready to get started?Download WordPress

Forums

New England Press Consortium (3 posts)

  1. Jermster
    Member
    Posted 9 years ago #

    The New England Press Consortium website is live and powered by WordPress. The site content is mostly temporary until real stories start being posted tomorrow during the Democratic National Convention. Lots of MPEG-4 video is coming this week.
    Most of the development work centered around the front page and back end. Custom queries were used to call the appropriate entries. The back end had to be friendly enough for even an XHTML-ignorant broadcast journalist to use. Excerpt text boxes were enlarged, quick edit buttons were changed to more understandable terms and to allow easy video segment linking, file upload displays the code for video and flash content (not just img), and the upload automatically resizes the images.
    This development made me more aware of areas WP could improve. Primarily, I would like to be able to set a separate front page template from story/search/archive design. My solution checks for GET variables s, p, m, cat. If they are there, The Loop gets called. If those variables are not there, my front page queries get called. My only complaint with this technique is that I am not able to use pretty custom permalinks. I am stuck with the dynamic URIs that are not search engine friendly.
    The Loop needs help. There is no way to easily tell The Loop to grab the most recent entry from one category or the second to fourth most recent entries from all but one category... unless of course there is and no one responded to my previous post.
    the_date() refuses to function more than once, even when placed in a position within The Loop to repeat. The date is preferred in the byline under each post title, but only works for the first post. (example)
    Overall, WordPress is good and I look forward to soon enabling comments and ratings on stories.

  2. carthik
    Member
    Posted 9 years ago #

    >>There is no way to easily tell The Loop to grab the most recent entry from one category or the second to fourth most recent entries from all but one category... unless of course there is and no one responded to my previous post.
    get_posts is here to help you with that.
    I improved the get_posts in wordpress, and published the improvements (added category restrictions, etc) at
    http://blog.carthik.net/vault/2004/07/10/getposts-upgraded/
    Hope that helps. That function retrieves the last n (or even with an offset) from a category, sorted in whatever order you wish.
    the_date can be included with each post, a search on these forums should help. I have seen this discussed a few times before.
    Infact, now I find the solution is simpler than I had thought of just now :
    http://faq.wordpress.net/view.php?p=27
    Regarding archives, it is all possible, but needs custom pages to be created, and 1.3 has more tools for the hacker, in that it allows to find what sort of page is being displayed using s, cat, single etc, in a better fashion.
    Thank you for the feedback.

  3. Jermster
    Member
    Posted 9 years ago #

    Thanks 2fargon! I look forward to trying out the improve get_posts.
    I found Anonymous's post here helpful for displaying the date on each post.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.