forked from brainstormforce/json-ld-breadcrumbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson-ld-breadcrumbs.php
25 lines (22 loc) · 901 Bytes
/
json-ld-breadcrumbs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
* Plugin Name: JSON-LD Breadcrumbs
* Plugin URI: https://github.com/Nikschavan/json-ld-breadcrumbs
* Description: Adds JSON-LD based Breadcrumbs schema to your site visible only to the Search Engines.
* Author: Nikhil Chavan
* Author URI: https://www.nikhilchavan.com/
* Text Domain: json-ld-breadcrumbs
* Domain Path: /languages
* Version: 1.0.0
*
* @package Invisible_Breadcrumbs
*/
// Exit if the file is called directy by URL.
defined( 'ABSPATH' ) || exit;
define( 'JSON_LD_BREADCRUMBS_VER', '1.0.0' );
define( 'JSON_LD_BREADCRUMBS_DIR', plugin_dir_path( __FILE__ ) );
define( 'JSON_LD_BREADCRUMBS_URL', plugins_url( '/', __FILE__ ) );
define( 'JSON_LD_BREADCRUMBS_PATH', plugin_basename( __FILE__ ) );
// Boorstrap the plugin.
require 'class-json-ld-breadcrumbs.php';
add_action( 'wp', 'JSON_LD_Breadcrumbs::instance' );