Version Description
- New: 'weaverx_paget_posts' filter to allow multiple page with posts templates in child themes
=
Download this release
Release Info
Developer | wpweaver |
Plugin | Weaver Xtreme Theme Support |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.3
- admin/admin-mainopts.php +3 -0
- includes/wvrx-ts-admin-page-posts.php +1 -1
- readme.txt +7 -1
- weaverx-ts.php +2 -2
admin/admin-mainopts.php
CHANGED
@@ -207,6 +207,9 @@ function weaverx_mainopts_custom() {
|
|
207 |
array('name' => __('Custom Font Size B', 'weaver-xtreme' /*adm*/), 'id' => 'custom_fontsize_b', 'type' => '+val_em',
|
208 |
'info' => __('Specify font size in em for Custom Size B (★Plus)', 'weaver-xtreme' /*adm*/)),
|
209 |
|
|
|
|
|
|
|
210 |
array( 'type' => 'submit')
|
211 |
|
212 |
);
|
207 |
array('name' => __('Custom Font Size B', 'weaver-xtreme' /*adm*/), 'id' => 'custom_fontsize_b', 'type' => '+val_em',
|
208 |
'info' => __('Specify font size in em for Custom Size B (★Plus)', 'weaver-xtreme' /*adm*/)),
|
209 |
|
210 |
+
array('name' => '<small>' . __('Disable Google Font Integration', 'weaver-xtreme' /*adm*/) . '</small>', 'id' => 'disable_google_fonts', 'type' => '+checkbox',
|
211 |
+
'info' => __('<strong>ADVANCED OPTION!</strong> <em>Be sure you understand the consequences of this option.</em> By disabling Google Font Integration, the Google Fonts definitions will <strong>not</strong> be loaded for your site. <strong style="color:red;font-weight:bold;">Please note:</strong> Any previously selected Google Font Families will revert to generic serif, sans, mono, and script fonts.', 'weaver-xtreme')),
|
212 |
+
|
213 |
array( 'type' => 'submit')
|
214 |
|
215 |
);
|
includes/wvrx-ts-admin-page-posts.php
CHANGED
@@ -350,7 +350,7 @@ To add areas to the widget area lists below, you <strong>must</strong> first def
|
|
350 |
weaverx_help_link('help.html#PerPostTemplate',__('Help for Page with Posts Template','weaverx-theme-support' /*adm*/) );
|
351 |
|
352 |
$template = !empty($post->page_template) ? $post->page_template : "Default Template";
|
353 |
-
if ($template
|
354 |
?>
|
355 |
<br />
|
356 |
<?php _e('These settings are optional, and can filter which posts are displayed when you use the "Page with Posts" template.
|
350 |
weaverx_help_link('help.html#PerPostTemplate',__('Help for Page with Posts Template','weaverx-theme-support' /*adm*/) );
|
351 |
|
352 |
$template = !empty($post->page_template) ? $post->page_template : "Default Template";
|
353 |
+
if (in_array($template, apply_filters('weaverx_paget_posts', array('paget-posts.php'))) ) {
|
354 |
?>
|
355 |
<br />
|
356 |
<?php _e('These settings are optional, and can filter which posts are displayed when you use the "Page with Posts" template.
|
readme.txt
CHANGED
@@ -10,7 +10,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
10 |
Text Domain: weaverx-theme-support
|
11 |
Requires at least: 4.0
|
12 |
Tested up to: 4.4
|
13 |
-
Stable tag: 2.0.
|
14 |
|
15 |
A useful shortcode and widget collection for Weaver Xtreme
|
16 |
|
@@ -75,6 +75,12 @@ Support for this plugin can best be found at our forum - http://forum.weaverthem
|
|
75 |
This is the initial release of this plugin.
|
76 |
|
77 |
== ChangeLog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
= 2.0.1 =
|
79 |
* Change: wp-updates.com is long term down, so remove update check
|
80 |
|
10 |
Text Domain: weaverx-theme-support
|
11 |
Requires at least: 4.0
|
12 |
Tested up to: 4.4
|
13 |
+
Stable tag: 2.0.3
|
14 |
|
15 |
A useful shortcode and widget collection for Weaver Xtreme
|
16 |
|
75 |
This is the initial release of this plugin.
|
76 |
|
77 |
== ChangeLog ==
|
78 |
+
== 2.0.3 =
|
79 |
+
* New: 'weaverx_paget_posts' filter to allow multiple page with posts templates in child themes
|
80 |
+
|
81 |
+
== 2.0.2 =
|
82 |
+
* Change: added required theme options support for Disable Integrated Google Fonts
|
83 |
+
|
84 |
= 2.0.1 =
|
85 |
* Change: wp-updates.com is long term down, so remove update check
|
86 |
|
weaverx-ts.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://weavertheme.com/plugins
|
|
5 |
Description: Weaver X Theme Support - a package of useful shortcodes and widgets that integrates closely with the Weaver X theme. This plugin Will also allow you to switch from Weaver X to any other theme and still be able to use the shortcodes and widgets from Weaver X with minimal effort.
|
6 |
Author: wpweaver
|
7 |
Author URI: http://weavertheme.com/about/
|
8 |
-
Version: 2.0.
|
9 |
License: GPL V3
|
10 |
|
11 |
Weaver Xtreme Theme Support
|
@@ -33,7 +33,7 @@ $theme = get_template_directory();
|
|
33 |
|
34 |
if ( strpos( $theme, '/weaver-xtreme') !== false ) { // only load if Weaver Xtreme is the theme
|
35 |
|
36 |
-
define ('WVRX_TS_VERSION','2.0');
|
37 |
define ('WVRX_TS_MINIFY','.min'); // '' for dev, '.min' for production
|
38 |
define ('WVRX_TS_APPEARANCE_PAGE', false );
|
39 |
|
5 |
Description: Weaver X Theme Support - a package of useful shortcodes and widgets that integrates closely with the Weaver X theme. This plugin Will also allow you to switch from Weaver X to any other theme and still be able to use the shortcodes and widgets from Weaver X with minimal effort.
|
6 |
Author: wpweaver
|
7 |
Author URI: http://weavertheme.com/about/
|
8 |
+
Version: 2.0.3
|
9 |
License: GPL V3
|
10 |
|
11 |
Weaver Xtreme Theme Support
|
33 |
|
34 |
if ( strpos( $theme, '/weaver-xtreme') !== false ) { // only load if Weaver Xtreme is the theme
|
35 |
|
36 |
+
define ('WVRX_TS_VERSION','2.0.3');
|
37 |
define ('WVRX_TS_MINIFY','.min'); // '' for dev, '.min' for production
|
38 |
define ('WVRX_TS_APPEARANCE_PAGE', false );
|
39 |
|