Skip to content

Extension to make it easy to associate a banner image with each post in a wordpress blog

Notifications You must be signed in to change notification settings

netconstructor/wordpress-post-banners

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This plugin is a work in progress, as is this README.

Please Note: At the moment this plugin will only work if you hack wordpress to add 'enctype="multipart/form-data"' to your post form. I am looking for alternative approaches and would welcome suggestions. If you're happy to restrict usage to those with javascript enabled, you could try Victor Chang's approach of setting the attribute with javascript:

<script type="text/javascript">jQuery('form#post').attr('enctype','multipart/form-data').attr('encoding','multipart/form-data')</script>

A few times lately I've had designers come to me with theme suggestions that require a banner image for each post that sits outside of the flow of post content. I'm sure there are ways round that with careful styling, or templates for the content area, but that all felt a bit clunky. There are options like the Custom Field Images [1] plugin, but that doesn't allow the user to upload the image in the post form, so that didn't work for me.


1: http://scribu.net/projects/custom-field-images

About

Extension to make it easy to associate a banner image with each post in a wordpress blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published