Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
11 additions
and
11 deletions.
-
+3
−3
inc/Core.php
-
+3
−3
inc/Gutenberg.php
-
+5
−5
widgets/Widgets_Init.php
|
@@ -10,9 +10,9 @@ |
|
|
*/ |
|
|
|
|
|
/** |
|
|
* Set namespace to encapsulating items |
|
|
* @link http://www.php.net/manual/en/language.namespaces.rationale.php |
|
|
* Set namespace to encapsulating items. |
|
|
* |
|
|
* @link http://www.php.net/manual/en/language.namespaces.rationale.php |
|
|
* @since 2012-05-08 0.0.1 |
|
|
* @version 2012-05-08 |
|
|
* @author Frank Bültge <frank@bueltge.de> |
|
@@ -50,4 +50,4 @@ public function get_prefix() { |
|
|
return $this->prefix; |
|
|
} |
|
|
|
|
|
} // end class
|
|
|
} // end class |
|
@@ -9,9 +9,9 @@ |
|
|
*/ |
|
|
|
|
|
/** |
|
|
* Set namespace to encapsulating items |
|
|
* @link http://www.php.net/manual/en/language.namespaces.rationale.php |
|
|
* Set namespace to encapsulating items. |
|
|
* |
|
|
* @link http://www.php.net/manual/en/language.namespaces.rationale.php |
|
|
* @since 2018-01-03 |
|
|
* @version 2018-01-03 |
|
|
* @author Frank Bültge <frank@bueltge.de> |
|
@@ -93,4 +93,4 @@ public function enqueue_style() { |
|
|
wp_enqueue_style( 'wp_basis_gutenberg' ); |
|
|
} |
|
|
|
|
|
}
|
|
|
} |
|
|
@@ -1,17 +1,17 @@ |
|
|
<?php |
|
|
/** |
|
|
* Init wor Widgetized area. |
|
|
* |
|
|
* |
|
|
* @package WP Basis |
|
|
* @since 06/05/2012 0.0.1 |
|
|
* @version 06/05/2012 |
|
|
* @author Frank Bültge <frank@bueltge.de> |
|
|
* @author Frank Bültge <frank@bueltge.de> |
|
|
*/ |
|
|
|
|
|
/** |
|
|
* Set namespace to encapsulating items |
|
|
* Set namespace to encapsulating items. |
|
|
* |
|
|
* @link http://www.php.net/manual/en/language.namespaces.rationale.php |
|
|
* |
|
|
* @since 06/05/2012 0.0.1 |
|
|
* @version 06/05/2012 |
|
|
* @author Frank Bültge <frank@bueltge.de> |
|
@@ -21,6 +21,7 @@ |
|
|
// Add theme support for selective refresh for widgets. |
|
|
add_theme_support( 'customize-selective-refresh-widgets' ); |
|
|
|
|
|
add_action( 'widgets_init', __NAMESPACE__ . '\\widgets_init' ); |
|
|
/** |
|
|
* Register widgetized area and update sidebar with default widgets |
|
|
* |
|
@@ -29,7 +30,6 @@ |
|
|
* @author Frank Bültge <frank@bueltge.de> |
|
|
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar |
|
|
*/ |
|
|
add_action( 'widgets_init', __NAMESPACE__ . '\\widgets_init' ); |
|
|
function widgets_init() { |
|
|
|
|
|
register_sidebar( array( |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.