twitcher is an easy to use plugin for geo-tagging visitor wildlife sightings on a Google map. You can display all placemarks on a large map. It utili
added a read the report link to the infowindow to encourage people to click through to the post.
changed the image on the post page from thumbnail to full size.
fixed issue of not being able to set zoom using shortcode attributes in the twitcher-map1 shortcode.
commented out the content in the map info window. For some reason if people added information into the body that contained a line break then the map display broke. There must be some form of filter in operation that stops
from being passed into the map markers that I can not find. I will fix and re-establish this at some stage in the future. The post that is formed by the contribution works OK it's just when it's imported into the info-window on the map that it causes a break. The info window now contains the date, thumbnail, post title and link to the actual contributors post.
added a time ago since posting in days and hours to the info window which is helpful to give people an idea if the sighting is new or old.
added visual representation of how long ago the sighting was made through different colour markers
markers are now custom icons so you can use your own icons by changing the png files in the images folder.
moved the script calls to the main php file.
moved the shortcodes code to the main php file.
changed the script enqueue hook from init to the wordpress recommended wp_enqueue_scripts hooks.
This completes the rewrite of the plug-in to bring it inline with wordpress standards. Future updates will concentrate on additional functions and customisation options.
Moved the settings page mark up and registration to the main twitcher php file.
simplified settings coding to reduce jquery conflict risk and converted to standard WordPress Settings API to make it easier to add options in upcoming changes.
This is a major update and there are changes to the options table settings. Once updated you will need to reset your default settings for map position, zoom etc. You will not lose any posts or contributions but back up to be on the safe side.
added map display to contributor posts.
added some div tags for styling of contributor posts.
Added imagees to contributor blog post via the WordPress default gallery shortcode. This will not add images to sightings already posted, only new reports will contain the image.
Seet the default contributor post to draft so you can pre-moderate. Eventually the choice will go into the setting page for you to slect moderation on or off. If you want the post to go live without moderation open up class-twitchers.php and change post_status'=>'draft' to post_status'=>'publish' on line 58