About
This plugin is for Instant-Quote.co customers who want to display the datasheet for one of their assets on a WordPress site.
The datasheet includes photos, review summary and pricing, with each being able to be hidden through configuration.
The plugin is configurable allowing part or all of the datasheet to be displayed.
Settings included in this Plugin Template
- Display or hide the asset title
- Display or hide the main asset image
- Display or hide review boilerplate text
- Display or hide video links
- Display or hide prices
- Limit the number of thumbnail images displayed
Implementation
The datasheet for an asset can be displayed on a page by using this plugin.
Note: only one datasheet can appear on a page.
The plugin is implemented by adding a shortcode to your WordPress web page.
The shortcode takes two parameters: assetid and hostid.
These are numbers only and can be found as follows: (For Agencies - use the Alternative method below)
- Login to the instant-quote.co administration site.
- In the left panel select Configuration.
- Within the Configuration section select Host Configuration.
- Within the Host Configuration section select the host (web site) whose settings you want to use (ideally the 'Directory Host').
- Make a note of the Host id value at the top of the table. That is the value for hostid.
- Within the Configuration section select Assets.
- Within the Assets section select the Asset whose settings you want to use.
- Make a note of the Asset id value at the top of the table. That is the value for assetid.
Alternatively go to Agency > Asset Search.
On each data card the Asset id and Host id is identified.
In this case the host id is the 'Syndicating host' setting for the Asset.
ShortCode
The plugin is called using the shortcode:
[iq_datasheet assetid="?" hostid="?"]
Where the ? are replaced with the values you have just looked up.
Paste the shortCode into your WordPress page and edit the parameters as above.
Configuration
The settings can be accessed under the WordPress Settings menu.
Use the controls to the left of the page to define which fields are displayed.
You can change the order of the items displayed by carefully editing the file "IQdatasheet/IQdatasheet.txt" moving the divs up or down in the file but maintaining the structure. Styles can be edited using the css file: "IQdatasheet/css/IQuser.css".
Settings must be configured and saved before use or an error will occur.
About
This plugin for WordPress enables you to embed the Quotation page in your WordPress site.
The fields that are displayed are defined in your Quotation page settings which can be found under Configuration in the Instant-Quote.co admin interface.
The plugin is configurable allowing part or all of the datasheet to be displayed.
Settings
- Google Maps key.
- Your County Code.
- Whether you are a directory or not.
- The number of items to display per page.
As an option you can apply filters to the results on a per page basis, and differnet WordPress pages can display results from different Instant-Quote.co hosts.
Implementation
The Instant-Quote.co for your assets can be displayed on a page by using this plugin. Equally well it can be used to operate a directory
Note: only one quotation plugin can appear on a page.
The plugin is implemented by adding a shortcode to your WordPress web page.
The shortcode takes a minimum of one parameter: hostid.
This can only be a number and can be found as follows:
- Login to the instant-quote.co administration site.
- In the left panel select Configuration.
- Within the Configuration section select Host Configuration.
- Within the Host Configuration section select the host (web site) whose settings you want to use (ideally the 'Directory Host').
- Make a note of the Host id value at the top of the table. That is the value for hostid.
ShortCode
The plugin is called using the shortcode:
[iq_quotationpage hostid="?"]
Where the ? are replaced with the value you have just looked up.
Paste the shortCode into your WordPress page and edit the parameters as above.
Filters
Optionally one or two filters can be applied to limit the display to upto to two categories of asset.
This is achieved by adding further parameters to the shortcode. These parameters are filter1 and filter2
An example shortcode using filter might be:
[iq_quotationpage hostid="?" filter1="-1" filter2="-1"]
A list of the current filters can be found below.
A further special filter can also be used to pre-filter the page. We call this the assettag.
The assettag filter is a property set on the asset when you configure it. The meaning of the assettag depends on the type of asset; For a car it would be whether it's licenced for private hire, for a bouncy castle it would be whether it's for children only. You can of course apply your own meaning as a way of differentiating your assets.
Used in conjunction with the filters above the shortcode would look like:
[iq_quotationpage hostid="?" filter1="-1" filter2="-1" assettag="0"]
Valid values for assettag are 0 or 1.
Note: Only the hostid tag is mandatory, any or all of the others can be ommitted.
Configuration
Layout
The Quotation page can be laid out with the input fields above, to the right or to the left of the content. This can be changed by carefully editing the file "IQquotationpage/IQquotationpage.txt" by changing the value of a single css value. This is documented in the file.
Settings must be configured and saved before use or an error will occur.
Use the filter value for the IQquotepage plugin to restrict the items displayed.