Version Description
- Fix issue with HTML5 themes using post formats
Download this release
Release Info
Developer | billerickson |
Plugin | Genesis Title Toggle |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6 to 1.6.1
- genesis-title-toggle.php +3 -2
- readme.txt +5 -2
genesis-title-toggle.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Turn on/off page titles on a per page basis, and set sitewide defaults from Theme Settings. Must be using the Genesis theme.
|
6 |
* Author: Bill Erickson
|
7 |
* Author URI: http://www.billerickson.net
|
8 |
-
* Version: 1.6.
|
9 |
* Text Domain: genesis-title-toggle
|
10 |
* Domain Path: languages
|
11 |
*
|
@@ -74,7 +74,8 @@ class BE_Title_Toggle {
|
|
74 |
|
75 |
// Show/hide Page Title - If using post formats, have to hook in later for some themes
|
76 |
if ( current_theme_supports( 'post-formats' ) ) {
|
77 |
-
add_action( 'genesis_before_post',
|
|
|
78 |
} else {
|
79 |
add_action( 'genesis_before', array( $this, 'title_toggle' ) );
|
80 |
}
|
5 |
* Description: Turn on/off page titles on a per page basis, and set sitewide defaults from Theme Settings. Must be using the Genesis theme.
|
6 |
* Author: Bill Erickson
|
7 |
* Author URI: http://www.billerickson.net
|
8 |
+
* Version: 1.6.1
|
9 |
* Text Domain: genesis-title-toggle
|
10 |
* Domain Path: languages
|
11 |
*
|
74 |
|
75 |
// Show/hide Page Title - If using post formats, have to hook in later for some themes
|
76 |
if ( current_theme_supports( 'post-formats' ) ) {
|
77 |
+
add_action( 'genesis_before_post', array( $this, 'title_toggle' ), 20 );
|
78 |
+
add_action( 'genesis_before_entry', array( $this, 'title_toggle' ), 20 );
|
79 |
} else {
|
80 |
add_action( 'genesis_before', array( $this, 'title_toggle' ) );
|
81 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: billerickson
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EDYM76U6BTE5L
|
4 |
Tags: genesis, genesiswp, title,
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.6
|
8 |
|
9 |
Turn on/off page titles on a per page basis, and set sitewide defaults from Theme Settings. Must be using the Genesis theme.
|
10 |
|
@@ -40,6 +40,9 @@ Finally, if you're comfortable with code you can use the `be_title_toggle_post_t
|
|
40 |
|
41 |
== Changelog ==
|
42 |
|
|
|
|
|
|
|
43 |
= 1.6 =
|
44 |
* Updated the metabox code to prevent conflicts with other plugins
|
45 |
* General refresh of the code to make it cleaner and easier to read
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EDYM76U6BTE5L
|
4 |
Tags: genesis, genesiswp, title,
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.0
|
7 |
+
Stable tag: 1.6.1
|
8 |
|
9 |
Turn on/off page titles on a per page basis, and set sitewide defaults from Theme Settings. Must be using the Genesis theme.
|
10 |
|
40 |
|
41 |
== Changelog ==
|
42 |
|
43 |
+
= 1.6.1 =
|
44 |
+
* Fix issue with HTML5 themes using post formats
|
45 |
+
|
46 |
= 1.6 =
|
47 |
* Updated the metabox code to prevent conflicts with other plugins
|
48 |
* General refresh of the code to make it cleaner and easier to read
|