Version Description
Add documentation link in the panel.
Download this release
Release Info
Developer | oceanwp |
Plugin | Ocean Extra |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- includes/metabox/metabox.php +1 -1
- includes/panel/links.php +1 -0
- ocean-extra.php +3 -4
- readme.txt +4 -1
includes/metabox/metabox.php
CHANGED
@@ -457,7 +457,7 @@ class Ocean_Post_Metaboxes {
|
|
457 |
'title' => esc_html__( 'Sidebar', 'ocean-extra' ),
|
458 |
'type' => 'select',
|
459 |
'id' => $prefix . 'sidebar',
|
460 |
-
'description' => esc_html__( 'Select your
|
461 |
'options' => $this->helpers( 'widget_areas' ),
|
462 |
),
|
463 |
'disable_margins' => array(
|
457 |
'title' => esc_html__( 'Sidebar', 'ocean-extra' ),
|
458 |
'type' => 'select',
|
459 |
'id' => $prefix . 'sidebar',
|
460 |
+
'description' => esc_html__( 'Select your custom sidebar for this page or post.', 'ocean-extra' ),
|
461 |
'options' => $this->helpers( 'widget_areas' ),
|
462 |
),
|
463 |
'disable_margins' => array(
|
includes/panel/links.php
CHANGED
@@ -30,6 +30,7 @@ class Ocean_Links {
|
|
30 |
*/
|
31 |
public function add_page() {
|
32 |
global $submenu;
|
|
|
33 |
$submenu[ 'ocean-panel' ][] = array( '<div class="ocean-link">' . esc_html__( 'Support', 'ocean-extra' ) . '</div>', 'manage_options', 'https://oceanwp.org/support/' );
|
34 |
}
|
35 |
|
30 |
*/
|
31 |
public function add_page() {
|
32 |
global $submenu;
|
33 |
+
$submenu[ 'ocean-panel' ][] = array( '<div class="ocean-link">' . esc_html__( 'Documentation', 'ocean-extra' ) . '</div>', 'manage_options', 'http://docs.oceanwp.org/' );
|
34 |
$submenu[ 'ocean-panel' ][] = array( '<div class="ocean-link">' . esc_html__( 'Support', 'ocean-extra' ) . '</div>', 'manage_options', 'https://oceanwp.org/support/' );
|
35 |
}
|
36 |
|
ocean-extra.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Ocean Extra
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-extra/
|
5 |
* Description: Add extra features like metaboxes, custom CSS and a panel to activate the premium extensions.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.0.0
|
@@ -86,7 +86,7 @@ final class Ocean_Extra {
|
|
86 |
$this->token = 'ocean-extra';
|
87 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
88 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
89 |
-
$this->version = '1.0.
|
90 |
|
91 |
define( 'OE_ROOT', dirname( __FILE__ ) );
|
92 |
define( 'OE_ADMIN_PANEL_HOOK_PREFIX', 'theme-panel_page_ocean-panel' );
|
@@ -167,13 +167,12 @@ final class Ocean_Extra {
|
|
167 |
/**
|
168 |
* Setup all the things.
|
169 |
* Only executes if Ocean or a child theme using Ocean as a parent is active and the extension specific filter returns true.
|
170 |
-
* Child themes can disable this extension using the ocean_extra filter
|
171 |
* @return void
|
172 |
*/
|
173 |
public function oe_setup() {
|
174 |
$theme = wp_get_theme();
|
175 |
|
176 |
-
if ( 'Ocean' == $theme->name || 'ocean' == $theme->template
|
177 |
require_once( OE_ROOT .'/includes/panel/theme-panel.php' );
|
178 |
require_once( OE_ROOT .'/includes/metabox/gallery-metabox/gallery-metabox.php' );
|
179 |
if ( is_admin() ) {
|
3 |
* Plugin Name: Ocean Extra
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-extra/
|
5 |
* Description: Add extra features like metaboxes, custom CSS and a panel to activate the premium extensions.
|
6 |
+
* Version: 1.0.1
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.0.0
|
86 |
$this->token = 'ocean-extra';
|
87 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
88 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
89 |
+
$this->version = '1.0.1';
|
90 |
|
91 |
define( 'OE_ROOT', dirname( __FILE__ ) );
|
92 |
define( 'OE_ADMIN_PANEL_HOOK_PREFIX', 'theme-panel_page_ocean-panel' );
|
167 |
/**
|
168 |
* Setup all the things.
|
169 |
* Only executes if Ocean or a child theme using Ocean as a parent is active and the extension specific filter returns true.
|
|
|
170 |
* @return void
|
171 |
*/
|
172 |
public function oe_setup() {
|
173 |
$theme = wp_get_theme();
|
174 |
|
175 |
+
if ( 'Ocean' == $theme->name || 'ocean' == $theme->template ) {
|
176 |
require_once( OE_ROOT .'/includes/panel/theme-panel.php' );
|
177 |
require_once( OE_ROOT .'/includes/metabox/gallery-metabox/gallery-metabox.php' );
|
178 |
if ( is_admin() ) {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: oceanwp
|
|
3 |
Tags: meta boxes, meta box, metaboxes, metabox, social sharing, ocean
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.6.1
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -33,5 +33,8 @@ This plugin will only work with the [Ocean](https://oceanwp.org/) theme.
|
|
33 |
|
34 |
== Changelog ==
|
35 |
|
|
|
|
|
|
|
36 |
= 1.0.0 =
|
37 |
Initial release.
|
3 |
Tags: meta boxes, meta box, metaboxes, metabox, social sharing, ocean
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.6.1
|
6 |
+
Stable tag: 1.0.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
33 |
|
34 |
== Changelog ==
|
35 |
|
36 |
+
= 1.0.1 =
|
37 |
+
Add documentation link in the panel.
|
38 |
+
|
39 |
= 1.0.0 =
|
40 |
Initial release.
|