| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: JSON-LD Breadcrumbs |
| 4 |
* Plugin URI: https://github.com/pratikchaskar/json-ld-breadcrumbs |
| 5 |
* Description: Adds JSON-LD based Breadcrumbs schema to your site visible only to the Search Engines. |
| 6 |
* Author: Pratik Chaskar |
| 7 |
* Author URI: https://www.pratikchaskar.com/ |
| 8 |
* Text Domain: json-ld-breadcrumbs |
| 9 |
* Domain Path: /languages |
| 10 |
* Version: 1.0.5 |
| 11 |
* |
| 12 |
* @package Invisible_Breadcrumbs |
| 13 |
*/ |
| 14 |
|
| 15 |
// Exit if the file is called directy by URL. |
| 16 |
defined( 'ABSPATH' ) || exit; |
| 17 |
|
| 18 |
define( 'JSON_LD_BREADCRUMBS_VER', '1.0.5' ); |
| 19 |
define( 'JSON_LD_BREADCRUMBS_DIR', plugin_dir_path( __FILE__ ) ); |
| 20 |
define( 'JSON_LD_BREADCRUMBS_URL', plugins_url( '/', __FILE__ ) ); |
| 21 |
define( 'JSON_LD_BREADCRUMBS_PATH', plugin_basename( __FILE__ ) ); |
| 22 |
|
| 23 |
// Boorstrap the plugin. |
| 24 |
require 'class-json-ld-breadcrumbs.php'; |
| 25 |
add_action( 'wp', 'JSON_LD_Breadcrumbs::instance' ); |
| 26 |
|