Wordpress Plugins
To install your wordpress plugin follow the simple instructions below.

Pre-requisites

Must have Wordpress (2.6 or greater) installed. Wordpress can be downloaded here and an installation guide can be found here.

Please ensure you have atleast version 4.1.20 of MySQL.

Initial Setup
  • Download the plugin from here
  • Unzip the downloaded zip file to your desktop
  • Using your FTP program, upload the plugin folder from your desktop to the wp-content/plugins directory in your wordpress installation
  • Login to the wordpress admin area
  • Click on plugins
  • The plugin WP_Sunshine should now be visible for selection
  • Click on activate beside the plugin
Configuration
  • Once the plugin has been activated, click on the new sunPress tab that appears.
  • This page shows the steps required to start using your plugin.
  • First add your affiliate id by clicking on the 'Settings' tab, entering the ID into the box, and clicking on 'Update Affiliate ID'.
  • Secondly add or request your XML credentials required for the search functionality of the plugin. This can be done on the same 'Settings' tab, down the bottom.
  • The next step is to activate the search box widget that will allow the customer to search on your site. Click on Design (or Appearance, Wordpress > 2.6.2), then click on Widgets. At the bottom you will see sunPress Search, click on Add beside this, then 'Save Changes'.
That's all that is required to start using the search functionality on your site. If you would like to add content using the content management tools we built into Wordpress, please read on.

Content Management

Please ensure before enabling the content tools, you have activated your sunPress [agent|guide|basic] theme (if applicable). This will ensure the main 'pages' such as 'All Inclusive Holidays', 'Bargain Holidays' e.t.c. are assigned the correct template. If you have already activated the tools without doing this, please click on Manage->Pages and manually set the page templates within each page. This can be done by editing each page, scrolling down to Page Template, and selecting 'pages' from the drop down menu. Then 'save'. Once activated follow the steps below.

  • From the 'Settings' tab, check the 'Enable Content Tools' box, and click on 'Save Changes'.
  • You will now see a new 'Content' tab with the sunPress group, click on this.
  • The first option allows you to automatically download up to date hotels/resorts/regions/countries from our feeds
  • If you look under Content Options, you will see a country list and a resort list, using these you can select a area to add to your blog. Countries and regions are added as categories, resorts as tags and hotels as posts
  • Once you have selected a resort or just a country click on 'Create Content Page' to populate your blog.
  • Once finished, visit the Manage tab to edit any of the cats or posts just created.
Media Images
  • When you edit a hotel that has been added as a post on wordpress, there is a media bar for adding images.
  • The media bar is just above the editable post content box on the right handside.
  • If you select the sunshine.co.uk icon from the end of the media bar list, you will be provided with a list of images for the hotel.
  • Please note, in order to be able to add these images into your post, you must make the following directory editable /wp-content/uploads/hotelimages. If it doesn't exist, please create it.
  • Most FTP programs allow you to 'chmod' or edit permissions on a folder. Once you have enable write access, the images you insert into your post will be stored locally.