forked from rsingel/contextly-plugin-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontextly-linker.php
More file actions
27 lines (23 loc) · 781 Bytes
/
Copy pathcontextly-linker.php
File metadata and controls
27 lines (23 loc) · 781 Bytes
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
26
27
<?php
/*
Plugin Name: Contextly
Plugin URI: http://contextly.com
Description: Adds the Contextly related links tool to your blog. Contextly lets you create related links that helps your readers find more to read, increases your page views and shows off your best content.
Author: Contextly
Version: 1.0.93
*/
define ( "CONTEXTLY_PLUGIN_VERSION", '1.0.93' );
define ( "CONTEXTLY_MODE", 'local' );
define ( "CONTEXTLY_HTTPS", is_ssl() );
require_once ( "Api.php" );
require_once ( "Urls.php" );
require_once ( "Contextly.php" );
require_once ( "ContextlySettings.php" );
if ( is_admin() ) {
// Init Contextly WP settings
$contextly_settings = new ContextlySettings();
$contextly_settings->init();
}
// Init Contextly
$contextly = new Contextly();
$contextly->init();