Version 2.7.4.
This commit is contained in:
parent
780395e38a
commit
a1f39eac0f
|
@ -2,7 +2,7 @@
|
|||
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes
|
||||
Requires at least: WordPress 5.9
|
||||
Tested up to: 6.5.2
|
||||
Version: 2.7.3
|
||||
Version: 2.7.4
|
||||
Requires PHP: 7.0
|
||||
Stable tag: trunk
|
||||
License: GNU General Public License v3
|
||||
|
|
|
@ -4,7 +4,7 @@ Author: Tainacan
|
|||
Author URI: https://tainacan.org
|
||||
Theme URI: https://tainacan.org/blog/category/tema/
|
||||
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
|
||||
Version: 2.7.3
|
||||
Version: 2.7.4
|
||||
Tested up to: 6.5.2
|
||||
Requires PHP: 7.0
|
||||
License: GNU General Public License v3
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/** Theme version */
|
||||
const TAINACAN_INTERFACE_VERSION = '2.7.3';
|
||||
const TAINACAN_INTERFACE_VERSION = '2.7.4';
|
||||
|
||||
/* Disables Tainacan Theme Helper the_content filter, which is used to build a custom item and taxonomy (terms list) template. */
|
||||
if ( !defined('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER') )
|
||||
|
|
|
@ -173,7 +173,7 @@ if ( ! function_exists( 'tainacan_get_single_item_related_items_layout_options'
|
|||
'grid' => __('Grid of items, with large thumbnails', 'tainacan-interface'),
|
||||
'list' => __('List of items, with smaller thumbnails', 'tainacan-interface')
|
||||
);
|
||||
if ( version_compare(TAINACAN_VERSION, '0.20.3') >= 0 ) {
|
||||
if ( version_compare(TAINACAN_VERSION, '0.21.5') >= 0 ) {
|
||||
$tainacan_view_modes = tainacan_get_default_view_mode_choices();
|
||||
$tainacan_view_modes_options = array();
|
||||
foreach ($tainacan_view_modes['enabled_view_modes'] as $key => $value) {
|
||||
|
|
Loading…
Reference in New Issue