This is an information and discussion page for the WordPress plugin, Local WordPress Plugin Repo. Feel free to leave comments or suggestions about the plugin below or download Local WordPress Plugin Repo through the WordPress repository. You can also fork and/or contribute to Local WordPress Plugin Repo on GitHub!
General Overview / Use Case
I wanted a way to automatically pull various bits of data about the plugins I’ve published in the WordPress.org plugin repo so that I can provide an informative spot on the web for each plugin when users come looking for support. Everybody probably has their own way of handling this, and the plugin is very developer centric, but it was fun to publish either way.
Version 0.9 Notes
The first released version, 0.9, does its job, but not much else. Download stats and forum post titles are grabbed automatically twice a day and updated as post meta attached to the custom post type created by the plugin. This data doesn’t display anywhere by default and requires direct modification of template files on the front end in order to display at all. This will always be the case, but I’m hoping to soon add a few easy getters that will aid in displaying the data. If I get really ambitious, it would be nice to provide a default single template for the post type that works with at least Twenty Twelve at a basic level.
This is an information and discussion page for the WordPress plugin, Automatic Featured Image Posts. Feel free to leave comments or suggestions about the plugin below or download Automatic Featured Image Posts through the WordPress repository. You can also fork and/or contribute to Automatic Featured Image Posts on GitHub!
General Overview / Use Case
Early in 2011, my wife and I took an extended trip to Europe and ended up with a couple thousand photos that we still haven’t found time to go through properly so that we can share. Once we started thinking about it some more, it seemed that the best interface would be collaborative and something that we owned. While we could upload all of the photos to Flickr or Picasa and then go through and add titles and captions, there was something appealing about using WordPress instead.
Automatic Featured Image Posts is this:
- Use the built in media upload functions in WordPress to upload images.
- As each image is saved, a new post is created.
- Once the post is created, the uploaded image is assigned as the new post’s featured image.
- And repeat. Or not.
This is really great when combined with the drag and drop media uploader introduced in WordPress 3.3. Also really great when combined with a theme that makes good use of featured images, such as the version of Autofocus released the other day on WordPress.com.
Of course, there’s not too much to it after that. I’ve definitely solved my major use case, though I want to go back in and add more options of Exif data to automatically populate post content and the like if that Exif data is available.
Contact / Suggestions / Requests
Clarification & Further Instructions
- Please make sure that this plugin is a good fit with your theme before using. You may want to do a few test images first to see how your theme handles them. In the case of a theme like Twenty Eleven, only featured images that are large enough will appear in the header by default. In the case of a theme like Autofocus, all featured images will make some sort of impact on the front end. In other themes, featured images may not be in use at all and you’ll be left with posts that have no content.
- The WordPress codex page for Post Thumbnails has a lot of good info on featured images and how to enable them and use them in your theme.
Update – version 0.2
- If you are adding an image or images through the Edit Post or New Post screens, the new posts that are created will be assigned the same categories as the post you are adding them through. If no categories have been assigned to the current post, or if you are adding images through the Media screen, the default category for your WordPress installation will be used.
Update – version 0.3
- Support for custom post types was added. If you have an existing custom post type registered, you can choose to assign the featured image to a new post of that type by default.
Update – version 0.4
- A more technical update. Switched from using the wp_update_attachment_metadata filter to the add_attachment hook. Should be a better fit overall.
Update – version 0.5
- Support for post formats was added. If your theme registers it’s support for post formats, an option to select one will be provided in settings.
- A warning screen will now show in settings if your theme does not support featured images.
- Code cleanup.
Update – version 0.6
- Adds 3 filters to allow themes and plugins to modify the new post’s title, content, and categories before it is saved.
- Filters in Automatic Featured Image Posts – a full write up with examples.
Update – version 0.7
- Fixes a bug in the way new post dates were being saved. The new post date should now mimic what WordPress is set for.
This is an information and discussion page for the WordPress plugin, Custom Posts Per Page. Feel free to leave comments and suggestions about the plugin below or download Custom Posts Per Page through the WordPress plugin repository. You can also fork and/or contribute to Custom Posts Per Page on GitHub.
Custom Posts Per Page is a plugin that allows you to specify how many posts are displayed by WordPress in a certain view. You may have noticed that only one option for posts_per_page is available under the WordPress Reading menu. Once you start to add on custom post types and various ways of handling your archives, a one size fits all option starts to be unfortunate.
I hunted around quite a while and could not find any plugins that allowed for advanced control of this option and wasn’t able to find anything that did this without also adding other extra features. Because nothing appeared to solve the problem at hand for me, I wrote this plugin and made it available for you.
What Can It Do?
The default Posts Per Page setting can now be set specifically for these page types:
- Main Index (Overrides default setting)
- Category Pages
- Tag Pages
- Author Pages
- Archive Pages
- Search Pages
- Default (All other types)
- Any registered Custom Post Types
In addition, each of these comes with a second option for how many posts show up on subsequent pages. You may only want two posts to appear on your home page, but once somebody is engaged in your site and clicks on older posts, you may want to show them 5 posts on each of those. That’s where Custom Posts Per Page comes in the most handy.
Version 1.7 Notes:
This is mostly a maintenance version. A few things about version 1.6 are better documented behind the scenes and in the readme file and compatibility for WordPress 3.5 is verified. Fair warning, version 1.8 will not support anything earlier than WordPress 3.3, so please upgrade.
Version 1.6 Notes:
This version accomplishes a few things. First, as the release of WordPress 3.5 is around the corner, we confirm compatibility with the latest release. A bunch of the code was refactored and cleaned up for my sanity. Last, but not least, we play with found_posts a bit to allow plugins like WP-PageNavi to report the correct number of pages when a different posts per page value is set for the first and following pages. I have my ear to the ground as to whether this broke anything else in the world, but things seem to be going ok for the moment.
Version 1.4 Notes:
In previous version, there was an issue because of my failure to check is_main_query. Because of this, queries for sidebars and other custom theme queries may have been changed unwillingly. This has been resolved and only the main query for each page will be changed. Sweet!
Also, I took away the official support for 3.1. I don’t really see any use to supporting a version from that far back.
Version 1.3 Notes:
Support for paged views is now working wonderfully. A custom count can be set for page one and a separate one for all subsequent views. This one is awesome IMO.
Version 1.0 Notes:
Support for custom post types has been added!
Original 0.1 Release:
My hope is to soon add support for custom post types and custom taxonomies. The current version is 0.1 and has been tested primarily with WordPress 3.2.1. There is nothing in the code that should not work as long as you have WordPress version 3.1 or greater installed. I will be testing with multiple versions shortly and this note may go away.
This is an information and discussion page for the WordPress plugin, Youtube Favorite Video Posts. Feel free to leave comments and suggestions about the plugin below or download Youtube Favorite Video Posts through the WordPress plugin repository. You can also fork and/or contribute to Youtube Favorite Video Posts on Github!
YouTube Favorite Video Posts works in the background to grab videos you mark as favorites in YouTube. The feed is parsed into new posts in WordPress and videos are automatically embedded in the content of those posts.
You can see the use case I was visualizing on the front page of this site. My ‘Latest Updates’ section is made up of feeds that are pulled in and inserted to custom post types.
A more in depth explanation will be here soon. For now, if you have questions or comments, feel free to leave a comment.
I’m a big fan of Instapaper and have been for a while. One day I discovered that I could use the Instapaper web interface to edit my saved links and add descriptions or change titles to further curate the stuff I wanted to hang on to. This inspired me to find a way to bring this data in to WordPress on a regular basis as another form of link blogging.
Instapaper Liked Article Posts does this. Once installed on your WordPress site, a task is scheduled to regularly check for new items that you may have saved in your Instapaper liked feed. If anything new is found, it grabs the title, link, and description and creates a new post. By default a new custom post type is created solely for Instapaper items, though you have the ability to save incoming items as standard posts (or anything else) instead. If you do choose to keep the default option, you can manage these separately from your regular posts in a newly created Instapaper section. Sweet!
That’s it in a nutshell. More information can also be found on the download page.