=== Winecoza ===
Contributors: heavyweightdigital, winecoza
Donate link: https://heavyweightdigital.co.za
Tags: wine, custom post types, custom taxonomy, templates
Tested up to: 6.7
Stable tag: 1.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A plugin that creates a custom post type for Winecoza and a taxonomy, and uses a different template for posts with a specific taxonomy type.

== Description ==

Winecoza is a WordPress plugin designed to create a custom post type and taxonomy for managing wine-related content. It also provides custom templates for posts categorized under specific taxonomy types.

Key Features:
- Custom post types and taxonomy creation.
- Template overrides for single and archive views.
- Default settings initialization on activation.
- Enqueues optimized stylesheets and scripts.

== Installation ==

1. Upload the `winecoza` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure settings through the Winecoza settings page in the WordPress admin.


== External services ==

Provides api access to existing data in the wine.co.za database - https://api.wine.co.za/wp/
The purpose of this service is to supply data from wine.co.za into WordPress in order to populate posts in WordPress

There are 11 individual incidences that can be called
https://api.wine.co.za/wp/client-detail.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves contact information for a specific client identified by xxx
https://api.wine.co.za/wp/wine.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of wines for a specific client
https://api.wine.co.za/wp/news.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of news articles for a specific client
https://api.wine.co.za/wp/diary.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of diary events for a specific client
https://api.wine.co.za/wp/eat.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of restuarants linked to a specific client
https://api.wine.co.za/wp/sleep.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of accomodation establishments linked to a specific client
https://api.wine.co.za/wp/do.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of activities linked to a specific client
https://api.wine.co.za/wp/taste.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of tasting rooms linked to a specific client
https://api.wine.co.za/wp/people.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of personell linked to a specific client
https://api.wine.co.za/wp/photo.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of photographs linked to a specific client
https://api.wine.co.za/wp/video.ashx?SEARCH=CLIENT&CLIENTID=xxx - retrieves a list of YouTube videos linked to a specific client

There are no terms and conditions or privacy policy related to this api as it is a custom api developed solely for this purpose & is not available outside this application.


== Changelog ==

### Version 1.1
- Initial release with a custom post type and taxonomy.

### Version 1.0.19
- ...

### Version 1.0.15
- Changed brand items element from article to div.
- Fixed pagination.
- Improved import progress bar on the settings page.
- Resolved Boolean issue on attraction types.

### Version 1.0.14
- Various fixes.

### Version 1.0.13
- Import: Bug Fix - Refactored import functions to resolve a brand images bug on the first import.
- Settings: Bug Fix - Resolved the "Settings Saved" notice not showing.

### Version 1.0.12
- Import: Refactored import functions to improve structure and remove unnecessary code.
- Settings: Initialized default settings for `import_on_save` on plugin activation.
- Page Creation: Fixed a bug preventing pages from being created on save, ensuring proper handling of existing or trashed pages.

### Version 1.0.11
- Single Pages: Update video gallery template and CSS for better alignment and responsiveness.
- Single Pages: Resolved gallery images not showing.

== Frequently Asked Questions ==

= What is the purpose of Winecoza? =
Winecoza is designed to manage wine-related content efficiently with custom post types and taxonomies.

= Can I customize the templates? =
Yes, Winecoza allows you to override the default templates by copying them to your theme folder.

= Does Winecoza require additional configuration? =
No additional configuration is required for the plugin to work out of the box, but you can tweak settings in the admin panel for customization.

== Upgrade Notice ==

= 1.1 =
Initial release with stable features and support for WordPress 6.7.

== License ==

This plugin is licensed under the GPL v2 or later. You are free to use, modify, and distribute this plugin under the same license terms.

For full license details, visit [GPL v2 License](https://www.gnu.org/licenses/gpl-2.0.html).