mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Make sure the instance is set for the term lists
This commit is contained in:
@@ -9,6 +9,10 @@ $tax_options = array();
|
||||
foreach ( $taxonomies as $taxonomy ) {
|
||||
$tax_options[ $taxonomy->name ] = $taxonomy->label;
|
||||
}
|
||||
if ( empty( $instance ) ) {
|
||||
$instance = include 'term-defaults.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Define term specific taxonomy fields.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user