Version Description
Download this release
Release Info
Developer | ryanhellyer |
Plugin | Unique Headers |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- inc/class-category-header-images.php +5 -2
- inc/class-multi-post-thumbnails.php +0 -0
- inc/class-post-header-images.php +0 -0
- index.php +2 -2
- readme.txt +3 -2
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- scripts/multi-post-thumbnails-admin.js +0 -0
inc/class-category-header-images.php
CHANGED
@@ -22,7 +22,6 @@ class Category_Header_Images {
|
|
22 |
add_action( 'init', array( $this, 'init' ) );
|
23 |
}
|
24 |
|
25 |
-
|
26 |
/**
|
27 |
* Print styles to admin page
|
28 |
*
|
@@ -124,7 +123,11 @@ class Category_Header_Images {
|
|
124 |
$tag_ID = get_query_var( 'cat' );
|
125 |
|
126 |
// Grab stored taxonomy header
|
127 |
-
$
|
|
|
|
|
|
|
|
|
128 |
|
129 |
return $url;
|
130 |
}
|
22 |
add_action( 'init', array( $this, 'init' ) );
|
23 |
}
|
24 |
|
|
|
25 |
/**
|
26 |
* Print styles to admin page
|
27 |
*
|
123 |
$tag_ID = get_query_var( 'cat' );
|
124 |
|
125 |
// Grab stored taxonomy header
|
126 |
+
$new_url = get_term_meta( $tag_ID, 'taxonomy-header-image', true );
|
127 |
+
|
128 |
+
// If no URL set, then bail out now
|
129 |
+
if ( '' == $new_url )
|
130 |
+
return $url;
|
131 |
|
132 |
return $url;
|
133 |
}
|
inc/class-multi-post-thumbnails.php
CHANGED
File without changes
|
inc/class-post-header-images.php
CHANGED
File without changes
|
index.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Plugin Name: Unique Headers
|
4 |
Plugin URI: http://pixopoint.com/
|
5 |
Description: Unique Headers
|
6 |
-
Version: 1.0.
|
7 |
-
Author: Ryan Hellyer
|
8 |
Author URI: http://pixopoint.com/
|
9 |
|
10 |
------------------------------------------------------------------------
|
3 |
Plugin Name: Unique Headers
|
4 |
Plugin URI: http://pixopoint.com/
|
5 |
Description: Unique Headers
|
6 |
+
Version: 1.0.2
|
7 |
+
Author: Ryan Hellyer / Metronet
|
8 |
Author URI: http://pixopoint.com/
|
9 |
|
10 |
------------------------------------------------------------------------
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Unique Headers ===
|
2 |
Contributors: ryanhellyer, metronet
|
3 |
-
Tags: header, pixopoint, headers, image, header-image, header-images, taxonomy, posts, pages, taxonomies, post, page, unique
|
4 |
Donate link: http://pixopoint.com/donate/
|
5 |
Requires at least: 3.4
|
6 |
-
Stable tag: 1.0.
|
7 |
|
8 |
|
9 |
Adds the ability to use unique custom headers on individual pages, posts or categories.
|
@@ -62,6 +62,7 @@ No, I'm too busy. Having said that, if you want to pay me a small fortune then I
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
65 |
Version 1.0.1: Bug fixes for post/page thumbnails<br />
|
66 |
Version 1.0: Initial release<br />
|
67 |
|
1 |
=== Unique Headers ===
|
2 |
Contributors: ryanhellyer, metronet
|
3 |
+
Tags: header, metronet, pixopoint, headers, image, header-image, header-images, taxonomy, posts, pages, taxonomies, post, page, unique
|
4 |
Donate link: http://pixopoint.com/donate/
|
5 |
Requires at least: 3.4
|
6 |
+
Stable tag: 1.0.2
|
7 |
|
8 |
|
9 |
Adds the ability to use unique custom headers on individual pages, posts or categories.
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
Version 1.0.2: Bug fix to allow default header to display when no category specified<br />
|
66 |
Version 1.0.1: Bug fixes for post/page thumbnails<br />
|
67 |
Version 1.0: Initial release<br />
|
68 |
|
screenshot-1.png
CHANGED
File without changes
|
screenshot-2.png
CHANGED
File without changes
|
scripts/multi-post-thumbnails-admin.js
CHANGED
File without changes
|