Define menu_order on Creation of New Custom Post?

I’ve created a custom post type called video and I’m using a plugin called Playlist_Order (which changes the menu_order field) to allow the user to use a drag and drop interface to order their videos in a playlist. However, when adding a new post the video appears at the top of the playlist because it’s given a default menu_order value of 0. On creation of a new video post I would like it to appear last in the playlist – i.e. query all video post types, find the largest menu_order…

How to add a link in a image’s caption?

I would like to add a link to the caption of a photo in one of my posts. I can type in the HTML for the link in the caption, but when I publish the post the link gets removed. How do you add a link to a caption? This would be really useful for giving photo credit. Source: https://wordpress.stackexchange.com/feeds

Organizing Code in your WordPress Theme’s functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only apply to the admin area and others which just apply to my public website is there any reason to possibly include all admin functions within their own file or group them together? Would splitting them up into separate files or grouping them together possibly speed up a WordPress website or does WordPress/PHP automatically skip…