PluginProbe
Widget Context / 1.2.0
Widget Context v1.2.0
1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 trunk 0.4.1 0.4.2 0.4.3 0.4.4 0.4.5 0.6 0.7 0.7.1 0.7.2 0.8 0.8.1 All 30 releases
widget-context / widget-context.php

widget-context.php in Widget Context 1.2.0, at widget-context.php

23 lines 707 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Widget Context
4 * Plugin URI: https://widgetcontext.com
5 * Description: Show or hide widgets depending on the section of the site that is being viewed.
6 * Version: 1.2.0
7 * Author: Kaspars Dambis
8 * Author URI: https://widgetcontext.com
9 * Text Domain: widget-context
10 */
11
12 if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
13 require_once __DIR__ . '/vendor/autoload.php';
14 }
15
16 $plugin = new Preseto\WidgetContext\Plugin( __FILE__ );
17 $widget_context = new WidgetContext( $plugin );
18
19 $widget_context->register_module( new WidgetContextCustomCptTax( $widget_context ) );
20 $widget_context->register_module( new WidgetContextWordCount( $widget_context ) );
21
22 $widget_context->init();
23