Updates for compatibility with latest advanced search css.
This commit is contained in:
parent
8d7aabb881
commit
3d69322f73
|
@ -5,7 +5,7 @@ Tags: museums, libraries, archives, GLAM, collections, repository, tainacan, blo
|
|||
Requires at least: 5.0
|
||||
Tested up to: 5.8.2
|
||||
Requires PHP: 5.6
|
||||
Stable tag: 0.1.13
|
||||
Stable tag: 0.1.14
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
@ -58,6 +58,9 @@ License details: https://github.com/tainacan/blocksy-tainacan/blob/master/LICENS
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 0.1.14 =
|
||||
* Fixes advanced search layout
|
||||
|
||||
= 0.1.13 =
|
||||
* Redirects search to items list if only Tainacan items post types are enabled
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ Plugin Name: Tainacan Support for Blocksy
|
|||
Plugin URI: https://tainacan.org/
|
||||
Description: Tainacan plugin support for Blocksy theme
|
||||
Author: tainacan
|
||||
Version: 0.1.13
|
||||
Version: 0.1.14
|
||||
Text Domain: tainacan-blocksy
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
@ -15,7 +15,7 @@ if (! defined('WP_DEBUG') ) {
|
|||
}
|
||||
|
||||
/** Theme/plugin version */
|
||||
const TAINACAN_BLOCKSY_VERSION = '0.1.13';
|
||||
const TAINACAN_BLOCKSY_VERSION = '0.1.14';
|
||||
const TAINACAN_BLOCKSY_IS_CHILD_THEME = false;
|
||||
|
||||
/* Tools to define our next constants */
|
||||
|
|
|
@ -45,6 +45,9 @@ if ( !function_exists('tainacan_blocksy_get_adjacent_item_links') ) {
|
|||
|
||||
if ($has_thumb) {
|
||||
|
||||
$previous_thumb = '';
|
||||
$next_thumb = '';
|
||||
|
||||
if (function_exists('tainacan_get_adjacent_items') && isset($_GET['pos'])) {
|
||||
if ($adjacent_items['next']) {
|
||||
$next_thumb = $adjacent_items['next']['thumbnail']['tainacan-medium'][0];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tainacan-blocksy",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.14",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tainacan-blocksy",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.14",
|
||||
"description": "A Blocksy plugin/child theme compatible with Tainacan",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -44,6 +44,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Advanced Search */
|
||||
#advanced-search-container {
|
||||
max-width: 100%;
|
||||
width: var(--maxSiteWidth,1290px);
|
||||
margin: 0.5rem auto;
|
||||
border-radius: var(--borderRadius,3px) var(--borderRadius,3px) 0 0;
|
||||
box-shadow: var(--boxShadow,0 12px 18px -6px rgba(34,56,101,.04));
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Filters panel */
|
||||
#filters-modal {
|
||||
grid-area: itemslist;
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
--tainacan-input-border-color: var(--formBorderInitialColor, #e0e5eb);
|
||||
--tainacan-skeleton-color: var(--tainacan-item-background-color, white);
|
||||
/* Search control */
|
||||
/* Advanced Search */
|
||||
/* Filters panel */
|
||||
/* Items list container */
|
||||
/* Advanced Search */
|
||||
|
@ -59,6 +60,15 @@
|
|||
color: var(--tainacan-secondary, #3eaf7c);
|
||||
}
|
||||
|
||||
.theme-items-list #advanced-search-container {
|
||||
max-width: 100%;
|
||||
width: var(--maxSiteWidth, 1290px);
|
||||
margin: 0.5rem auto;
|
||||
border-radius: var(--borderRadius, 3px) var(--borderRadius, 3px) 0 0;
|
||||
box-shadow: var(--boxShadow, 0 12px 18px -6px rgba(34, 56, 101, 0.04));
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-items-list #filters-modal {
|
||||
grid-area: itemslist;
|
||||
justify-self: start;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -189,7 +189,7 @@ $thumbnail_src = wp_get_attachment_image_src($image, 'full');
|
|||
'show_fullscreen_with_view_modes' => get_theme_mod($terms_items_prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
||||
'hide_exposers_button' => get_theme_mod($terms_items_prefix . '_show_exposers_button', 'yes') == 'no',
|
||||
'hide_pagination_area' => get_theme_mod($terms_items_prefix . '_has_pagination', 'yes') == 'no',
|
||||
'default_view_mode' => get_theme_mod($terms_items_prefix . '_default_view_mode', 'masonry'),
|
||||
'default_view_mode' => get_theme_mod($terms_items_prefix . '_default_view_mode', 'masonry')
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue