Horje
The DVLA Search Plugin provides subscribers to the DVLA Search API a widget, customisable results page, and shortcodes for use on custom pages. Wordpress Tutorial

Noted That:

  • To install correctly this dvla-search.zip .
  • Fisrt Download the dvla-search.zip to your computer
  • Extract/Open dvla-search.zip to Your Computer.
  • Then, Find readme.txt file inside dvla-search.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " dvla-search.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " dvla-search.zip "  Downloaded plugin from your computer, Where you downloaded dvla-search.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " DVLA Search " folder is added on left sidemenu. Now, Click on " DVLA Search " folder.

   Noted that: If you do not see " DVLA Search " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  DVLA Search Configurtions and Settings or How to work " DVLA Search " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " DVLA Search " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is DVLA Search
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Upload the plugin files to the /wp-content/plugins/dvla-search directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings-> DVLA Search screen to configure the plugin with your API Key
    1.1 If you want to test the Plugin you can use the example API Key “DvlaSearchDemoAccount” and test with a registration number beginning MT09 or FH51 such as MT09NKS.

Once you’ve added your API Key you can customize the fields shown on the simple results page from the Settings-> DVLA Search-> Results Fields screen.

Add The Widget To Your Site

  1. Go to Appearance-> Widgets
  2. Drag the “DVLA Search Widget” to the sidebar or other widget area of your choice.
  3. By default the widget will point at the simple results page and the widget will have no title.

Create a Custom Results Page

To display the results on your own page, you can use the provided shortcodes as follows:

  1. Create a new page from Pages-> Add New
  2. Use the [dvla_search_success][/dvla_search_success] block to wrap the content to show if the search returned valid results.
  3. Use the [dvla_search_error][/dvla_search_error] block to wrap a message to display if there was an error.
  4. You can display the results data with the [dvla_search_result] shortcode by specifying one or more field to output.
    1.1 For example, to display the vin use [dvla_search_result vin]
    1.1 Or to display the colour and model use [dvla_search_result colour model]
    1.1 For a full list of fields available see the help page at DVLA Search-> Shortcode Help or in the readme.
  5. Save your page and take note of the slug.
  6. Update the widget “Results Page” option with the slug of your custom results page.

For example, your custom results page might contain the following shortcodes:


 [dvla_search_success] Your car [dvla_search_result registration] is a [dvla_search_result colour model] and the VIN is [dvla_search_result vin] [/dvla_search_success] [dvla_search_error] There was an error searching for [dvla_search_result registration] [/dvla_search_error]

dvla , search , provides , subscribers , widget , customisable , results , page , shortcodes , custom ,

Name

Read Article
https://develop.horje.com/learn/1434/reference