Skip to content

bireme/leisref-wp-plugin

Repository files navigation

LeisRef plugin for WordPress

Introduction

This plugin creates a search interface for the Virtual Health Library Legislation information source.

Requirements

Wordpress 3.x

Install

  1. Download the LeisRef plugin for Wordpress;
  2. Unzip the plugin below the wp-content/plugins folder of your Wordpress instance and rename it to leisref;
  3. Activate the LeisRef plugin through the administration panel of WordPress (dashboard).

For further information on installing plugins please see the Manual Plugin Installation from Wordpress codex site.

Configuration

Go to Settings in the administration panel (dashboard) and click on the newly created LeisRef item.

  • Plugin page is mandatory and is set to legislation by default. It defines the URL of the search interface page;
  • Filter query is optional and defines the strategy (a term or expression) to act as a filter for record displaying.
  • Search form is optional and defines a flag to control the display of the search box in the homepage;
  • AddThis profile ID is optional and is provided to allow the integration with sharing tools services AddThis. Notice this requires previous registration within the sharing tools service;
  • Google Analytics code is optional and allows the integration of website analytics services provided by Google. Notice this requires previous registration in Google.