{"id":7416,"date":"2010-01-19T20:12:35","date_gmt":"2010-01-19T20:12:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/availability\/"},"modified":"2012-11-27T20:55:50","modified_gmt":"2012-11-27T20:55:50","slug":"availability","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/availability\/","author":9173491,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.4","stable_tag":"0.2.4","tested":"3.4.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Availability Calendar","header_author":"StvWhtly","header_description":"","assets_banners_color":"d7d8d9","last_updated":"2012-11-27 20:55:50","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=WM8FRMZG4NV4C","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/availability\/","header_author_uri":"http:\/\/stv.whtly.com","rating":4.5,"author_block_rating":0,"active_installs":300,"downloads":26453,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":1,"3":0,"4":1,"5":6},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"618312","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.1.1","0.1.2","0.1.3","0.2","0.2.1","0.2.2","0.2.3","0.2.4"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1538856","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538856","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538856","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538856","resolution":"1","location":"plugin"}},"screenshots":{"1":"The availability calendar management page.","2":"Availability calendar with default styles.","3":"Example showing the addition of shortcodes to a page.","4":"Multi-calendar management and plugin settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1279,10061,269,416,4708],"plugin_category":[40],"plugin_contributors":[79552],"plugin_business_model":[],"class_list":["post-7416","plugin","type-plugin","status-closed","hentry","plugin_tags-availability","plugin_tags-booked","plugin_tags-booking","plugin_tags-calendar","plugin_tags-dates","plugin_category-calendar-and-events","plugin_contributors-stvwhtly","plugin_committers-stvwhtly"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/availability_d7d8d9.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/availability\/trunk\/screenshot-1.png?rev=1538856","caption":"The availability calendar management page."},{"src":"https:\/\/ps.w.org\/availability\/trunk\/screenshot-2.png?rev=1538856","caption":"Availability calendar with default styles."},{"src":"https:\/\/ps.w.org\/availability\/trunk\/screenshot-3.png?rev=1538856","caption":"Example showing the addition of shortcodes to a page."},{"src":"https:\/\/ps.w.org\/availability\/trunk\/screenshot-4.png?rev=1538856","caption":"Multi-calendar management and plugin settings."}],"raw_content":"<!--section=description-->\n<p>The Availability Plugin displays booking availability on a year by year basis.<\/p>\n\n<p>A full calendar year is displayed, with booked dates highlighted.<\/p>\n\n<p>It is possible for mulitiple calendars to be created using a single install of this plugin.<\/p>\n\n<!--section=installation-->\n<p>Here we go:<\/p>\n\n<ol>\n<li>Upload the <code>availability<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use the shortcode <code>[availability]<\/code> to display the calendar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I manage the availability?<\/dt>\n<dd><p>Once logged in to wp-admin, browse to <code>Pages &gt; Availability<\/code>, here you can select all the booked dates and click save once you are done.<\/p><\/dd>\n<dt>Can I display the current year shown?<\/dt>\n<dd><p>Yes, use the shortcode <code>[availability display=\"year\"]<\/code> within your post or page.<\/p><\/dd>\n<dt>How can I display calendars other than the default one?<\/dt>\n<dd><p>Using the shortcode <code>[availability calendar=\"calendar-id\"]<\/code> will display the calendar created with ID <code>calendar-id<\/code>.<\/p>\n\n<p>The ID of any additionally created calendars is the value shown in brackets on the settings page.<\/p><\/dd>\n<dt>When using multiple calendars, how do I show the current calendar name?<\/dt>\n<dd><p>The shortcode <code>[availability display=\"name\"]<\/code> can be used.<\/p><\/dd>\n<dt>How do you select a year to view?<\/dt>\n<dd><p>The shortcode <code>[availability display=\"dropdown\"]<\/code> can be used, this will generate a form with a list of available years.<\/p>\n\n<p>Alternatively you can use the function call <code>&lt;?php availability_dropdown(); ?&gt;<\/code> in your template files.<\/p><\/dd>\n<dt>How can I style certain elements?<\/dt>\n<dd><p>As of version 0.2.2 you can make use of the class names assigned to certain elements of the calendar.<\/p>\n\n<ul>\n<li>wp-availability<\/li>\n<li>year-[1234] - e.g. year-2012<\/li>\n<li>year-current<\/li>\n<li>year-previous<\/li>\n<li>year-next<\/li>\n<li>wp-availability-month<\/li>\n<li>month-[1-12] - e.g. month-3 for March<\/li>\n<li>month-[jan-dec] - e.g. month-mar for March<\/li>\n<li>month-current<\/li>\n<li>month-previous<\/li>\n<li>month-next<\/li>\n<\/ul>\n\n<p>For further information please refer to the generated source code of the availability calendar itself.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Updated missing updates intended for version 0.2.3.<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Fixed issue preventing additional calendars from being displayed.<\/li>\n<li>Fixed database issue affecting multiple calendars where the unique key was not updating during upgrade.<\/li>\n<li>Modified the way month lengths are calculated on the manage page.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Addition of extra classes to allow targetting of years and months.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Important update to modify the upgrade process required for version 0.2 (reliance on register_activation_hook).<\/li>\n<li>Fixes issues relating to previously booked dates not appearing and new dates not saving.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Bug fix for changing calendars when using the default permalink structure.<\/li>\n<li>Changed permissions to allow users with page edit permission to manage calendars.<\/li>\n<li>Calendar output now conforms to the \"Week Starts On\" setting found in \"Settings &gt; General\".<\/li>\n<li>Month and day names now make use of localisation.<\/li>\n<li>Introduction of multiple calendars.<\/li>\n<li>Added ability to exclude the default stylesheet.<\/li>\n<li>The number of years shown can now be modified.<\/li>\n<li>Fixed unexpected output during activation.<\/li>\n<li>Moved uninstall process to uninstall.php.<\/li>\n<li>Updated donate link.<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Fixed manage page bug introdruced since addition of custom post types in WP 3.0<\/li>\n<li>Default style for booked dates is now red with strike through.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Removal of link to none existent settings page.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Settings bug fix during installation.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>This is the very first version.<\/li>\n<\/ul>","raw_excerpt":"A simple to use and manage availability calendar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7416"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stvwhtly"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7416"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7416"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7416"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7416"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7416"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}