theme sniffer adjustments
This commit is contained in:
parent
7212562196
commit
7537c490c1
|
@ -1,12 +1,12 @@
|
|||
=== Tainacan Interface ===
|
||||
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto
|
||||
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila
|
||||
Requires at least: WordPress 4.8
|
||||
Tested up to: WordPress 5.1
|
||||
Version: 1.0.11
|
||||
Tested up to: WordPress 5.1.1
|
||||
Version: 1.1
|
||||
Requires PHP: 5.6
|
||||
Stable tag: trunk
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
License: GNU General Public License v3
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
Tags: two-columns, right-sidebar, grid-layout, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, photography, portfolio
|
||||
|
||||
== Description ==
|
||||
|
|
|
@ -3,7 +3,7 @@ Theme Name: Tainacan Interface
|
|||
Author: MediaLab UFG
|
||||
Author URI: https://tainacan.org
|
||||
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collectinons with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
|
||||
Version: 1.0.11
|
||||
Version: 1.1
|
||||
License: GNU General Public License v3
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
Tags: two-columns, right-sidebar, grid-layout, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, photography, portfolio
|
||||
|
|
|
@ -75,7 +75,7 @@ function tainacan_customize_register( $wp_customize ) {
|
|||
);
|
||||
|
||||
/**
|
||||
* Checkbox to display or no the Proudly Powered by Wordpress and Tainacan.
|
||||
* Checkbox to display or no the Proudly Powered by WordPress and Tainacan.
|
||||
*/
|
||||
$wp_customize->add_setting( 'tainacan_display_powered', array(
|
||||
'type' => 'theme_mod',
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
}
|
||||
</style>';
|
||||
|
||||
$term = tainacan_get_term();
|
||||
$taxonomy = get_taxonomy( $term->taxonomy );
|
||||
$current_term = \Tainacan\Repositories\Terms::get_instance()->fetch($term->term_id, $term->taxonomy);
|
||||
$current_term = tainacan_get_term();
|
||||
$current_taxonomy = get_taxonomy( $current_term->taxonomy );
|
||||
$current_term = \Tainacan\Repositories\Terms::get_instance()->fetch($current_term->term_id, $current_term->taxonomy);
|
||||
$image = $current_term->get_header_image_id();
|
||||
$src = wp_get_attachment_image_src($image, 'full');
|
||||
?>
|
||||
|
@ -23,7 +23,7 @@ $src = wp_get_attachment_image_src($image, 'full');
|
|||
<div class="page-header-content-meta <?php if (!$src) { echo 'max-large'; } ?>">
|
||||
<div class="page-header-content-title d-inline-flex border-bottom">
|
||||
<h2 class="page-header-title">
|
||||
<?php echo $taxonomy->labels->name . ':'; ?>
|
||||
<?php echo $current_taxonomy->labels->name . ':'; ?>
|
||||
<span style="font-weight: 500;">
|
||||
<?php tainacan_the_term_name(); ?>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue