Version Description
- PHP 5.2 Support
Download this release
Release Info
Developer | toddhalfpenny |
Plugin | Widgets on Pages |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- public/class-widgets-on-pages-public.php +3 -2
- readme.txt +6 -1
- widgets_on_pages.php +2 -2
public/class-widgets-on-pages-public.php
CHANGED
@@ -102,7 +102,7 @@ class Widgets_On_Pages_Public {
|
|
102 |
/**
|
103 |
* Register the stylesheets for the public-facing side of the site.
|
104 |
*
|
105 |
-
* @since 1.0.
|
106 |
*/
|
107 |
public function enqueue_styles() {
|
108 |
|
@@ -123,7 +123,8 @@ class Widgets_On_Pages_Public {
|
|
123 |
$options = array();
|
124 |
}
|
125 |
if ( array_key_exists( 'enable_css', $options ) ) {
|
126 |
-
$
|
|
|
127 |
// $enable_css = $options["enable_css"];
|
128 |
if ( $enable_css ) {
|
129 |
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/widgets-on-pages-public.css', array(), $this->version, 'all' );
|
102 |
/**
|
103 |
* Register the stylesheets for the public-facing side of the site.
|
104 |
*
|
105 |
+
* @since 1.0.4
|
106 |
*/
|
107 |
public function enqueue_styles() {
|
108 |
|
123 |
$options = array();
|
124 |
}
|
125 |
if ( array_key_exists( 'enable_css', $options ) ) {
|
126 |
+
$tmp = get_option( 'wop_options_field' );
|
127 |
+
$enable_css = $tmp['enable_css'];
|
128 |
// $enable_css = $options["enable_css"];
|
129 |
if ( $enable_css ) {
|
130 |
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/widgets-on-pages-public.css', array(), $this->version, 'all' );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://datamad.co.uk/donate/
|
|
4 |
Tags: widgets, widgets in page, widgets in post, sidebar, pages, post, shortcode, inline, widgetise, widgetize
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 4.7.4
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
The easiest and highest rated way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
|
10 |
|
@@ -63,6 +63,11 @@ Yes... you can have an unlimited number of sidebars defined. The number availabl
|
|
63 |
|
64 |
== Changelog ==
|
65 |
|
|
|
|
|
|
|
|
|
|
|
66 |
= 1.0.3 =
|
67 |
1. Fixed [issue](https://wordpress.org/support/topic/settings-button-in-all-of-the-plugins/#post-8980118) with "Settings" link appearing next to each plugin.
|
68 |
1. Added link to the Turbo Sidebars from the old Settings page, as per [this forum post](https://wordpress.org/support/topic/all-widgets-gone-cant-create-new-ones/), great idea.
|
4 |
Tags: widgets, widgets in page, widgets in post, sidebar, pages, post, shortcode, inline, widgetise, widgetize
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 4.7.4
|
7 |
+
Stable tag: 1.0.4
|
8 |
|
9 |
The easiest and highest rated way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
|
10 |
|
63 |
|
64 |
== Changelog ==
|
65 |
|
66 |
+
= 1.0.4 =
|
67 |
+
|
68 |
+
1. PHP 5.2 Support
|
69 |
+
|
70 |
+
|
71 |
= 1.0.3 =
|
72 |
1. Fixed [issue](https://wordpress.org/support/topic/settings-button-in-all-of-the-plugins/#post-8980118) with "Settings" link appearing next to each plugin.
|
73 |
1. Added link to the Turbo Sidebars from the old Settings page, as per [this forum post](https://wordpress.org/support/topic/all-widgets-gone-cant-create-new-ones/), great idea.
|
widgets_on_pages.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: Widgets On Pages
|
11 |
* Plugin URI: https://datamad.co.uk/widgets-on-pages
|
12 |
* Description: The easiest way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
|
13 |
-
* Version: 1.0.
|
14 |
* Author: Todd Halfpenny
|
15 |
* Author URI: http://toddhalfpenny.com/
|
16 |
* License: GPL-2.0+
|
@@ -25,7 +25,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
25 |
}
|
26 |
|
27 |
if ( ! defined( 'WOP_PLUGIN_VERSION' ) ) {
|
28 |
-
define( 'WOP_PLUGIN_VERSION', '1.0.
|
29 |
}
|
30 |
|
31 |
/**
|
10 |
* Plugin Name: Widgets On Pages
|
11 |
* Plugin URI: https://datamad.co.uk/widgets-on-pages
|
12 |
* Description: The easiest way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
|
13 |
+
* Version: 1.0.4
|
14 |
* Author: Todd Halfpenny
|
15 |
* Author URI: http://toddhalfpenny.com/
|
16 |
* License: GPL-2.0+
|
25 |
}
|
26 |
|
27 |
if ( ! defined( 'WOP_PLUGIN_VERSION' ) ) {
|
28 |
+
define( 'WOP_PLUGIN_VERSION', '1.0.4' );
|
29 |
}
|
30 |
|
31 |
/**
|