Version 0.3.6
This commit is contained in:
parent
0e0c229faa
commit
70c4a0eee7
|
@ -5,7 +5,7 @@ Tags: museums, archives, collections, tainacan, blocksy
|
||||||
Requires at least: 5.9
|
Requires at least: 5.9
|
||||||
Tested up to: 6.6
|
Tested up to: 6.6
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Stable tag: 0.3.4
|
Stable tag: 0.3.6
|
||||||
Requires Plugins: tainacan
|
Requires Plugins: tainacan
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
@ -59,6 +59,13 @@ License details: https://github.com/tainacan/blocksy-tainacan/blob/master/LICENS
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 0.3.6 =
|
||||||
|
* Fixes background color issues with undefined variable in items archive
|
||||||
|
|
||||||
|
= 0.3.5 =
|
||||||
|
* Fixes background color issues in media gallery
|
||||||
|
* Fixes spacing issues on next and previous links for recent versions of Blocksy.
|
||||||
|
|
||||||
= 0.3.4 =
|
= 0.3.4 =
|
||||||
* Adds support for variable items width in related items carousel
|
* Adds support for variable items width in related items carousel
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ Plugin Name: Tainacan Support for Blocksy
|
||||||
Plugin URI: https://tainacan.org/
|
Plugin URI: https://tainacan.org/
|
||||||
Description: Tainacan plugin support for Blocksy theme
|
Description: Tainacan plugin support for Blocksy theme
|
||||||
Author: tainacan
|
Author: tainacan
|
||||||
Version: 0.3.4
|
Version: 0.3.6
|
||||||
Text Domain: tainacan-blocksy
|
Text Domain: tainacan-blocksy
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
@ -15,7 +15,7 @@ if (! defined('WP_DEBUG') ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Theme/plugin version */
|
/** Theme/plugin version */
|
||||||
const TAINACAN_BLOCKSY_VERSION = '0.3.4';
|
const TAINACAN_BLOCKSY_VERSION = '0.3.6';
|
||||||
const TAINACAN_BLOCKSY_IS_CHILD_THEME = false;
|
const TAINACAN_BLOCKSY_IS_CHILD_THEME = false;
|
||||||
|
|
||||||
/* Tools to define our next constants */
|
/* Tools to define our next constants */
|
||||||
|
|
|
@ -222,8 +222,11 @@ if ( !function_exists('tainacan_blocksy_tooltip_and_modal_styles') ) {
|
||||||
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
|
||||||
|
if ( isset( $background_color_palette['color6'] ) ) {
|
||||||
|
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
}
|
||||||
|
|
||||||
$text_color_palette = get_theme_mod($prefix . '_items_list_text_palette',
|
$text_color_palette = get_theme_mod($prefix . '_items_list_text_palette',
|
||||||
[
|
[
|
||||||
'color1' => [ 'color' => 'var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c))' ],
|
'color1' => [ 'color' => 'var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c))' ],
|
||||||
|
@ -267,28 +270,37 @@ function tainacan_blocksy_add_background_color_variable($args) {
|
||||||
'tablet' => 'var(--theme-palette-color-7, var(--paletteColor7, #ffffff))',
|
'tablet' => 'var(--theme-palette-color-7, var(--paletteColor7, #ffffff))',
|
||||||
'mobile' => 'var(--theme-palette-color-7, var(--paletteColor7, #ffffff))'
|
'mobile' => 'var(--theme-palette-color-7, var(--paletteColor7, #ffffff))'
|
||||||
);
|
);
|
||||||
$site_background = get_theme_mod( 'site_background', $site_background_fallback );
|
$site_background = blocksy_get_theme_mod(
|
||||||
|
'site_background',
|
||||||
|
blocksy_background_default_value([
|
||||||
|
'backgroundColor' => [
|
||||||
|
'default' => [
|
||||||
|
'color' => 'var(--theme-palette-color-7)'
|
||||||
|
],
|
||||||
|
],
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
|
$site_desktop_background = isset($site_background['desktop']) ? $site_background['desktop'] : $site_background;
|
||||||
$site_desktop_background = (
|
$site_desktop_background = (
|
||||||
isset($site_background['desktop']) &&
|
isset($site_desktop_background['backgroundColor']) &&
|
||||||
isset($site_background['desktop']['backgroundColor']) &&
|
isset($site_desktop_background['backgroundColor']['default']) &&
|
||||||
isset($site_background['desktop']['backgroundColor']['default']) &&
|
isset($site_desktop_background['backgroundColor']['default']['color'])
|
||||||
isset($site_background['desktop']['backgroundColor']['default']['color'])
|
) ? $site_desktop_background['backgroundColor']['default']['color'] : false;
|
||||||
) ? $site_background['desktop']['backgroundColor']['default']['color'] : false;
|
|
||||||
|
|
||||||
|
$site_tablet_background = isset($site_background['tablet']) ? $site_background['tablet'] : $site_background;
|
||||||
$site_tablet_background = (
|
$site_tablet_background = (
|
||||||
isset($site_background['tablet']) &&
|
isset($site_tablet_background['backgroundColor']) &&
|
||||||
isset($site_background['tablet']['backgroundColor']) &&
|
isset($site_tablet_background['backgroundColor']['default']) &&
|
||||||
isset($site_background['tablet']['backgroundColor']['default']) &&
|
isset($site_tablet_background['backgroundColor']['default']['color'])
|
||||||
isset($site_background['tablet']['backgroundColor']['default']['color'])
|
) ? $site_tablet_background['backgroundColor']['default']['color'] : false;
|
||||||
) ? $site_background['tablet']['backgroundColor']['default']['color'] : false;
|
|
||||||
|
|
||||||
|
$site_mobile_background = isset($site_background['mobile']) ? $site_background['mobile'] : $site_background;
|
||||||
$site_mobile_background = (
|
$site_mobile_background = (
|
||||||
isset($site_background['mobile']) &&
|
isset($site_mobile_background['backgroundColor']) &&
|
||||||
isset($site_background['mobile']['backgroundColor']) &&
|
isset($site_mobile_background['backgroundColor']['default']) &&
|
||||||
isset($site_background['mobile']['backgroundColor']['default']) &&
|
isset($site_mobile_background['backgroundColor']['default']['color'])
|
||||||
isset($site_background['mobile']['backgroundColor']['default']['color'])
|
) ? $site_mobile_background['backgroundColor']['default']['color'] : false;
|
||||||
) ? $site_background['mobile']['backgroundColor']['default']['color'] : false;
|
|
||||||
|
|
||||||
blocksy_output_css_vars([
|
blocksy_output_css_vars([
|
||||||
'css' => $args['css'],
|
'css' => $args['css'],
|
||||||
|
@ -305,5 +317,5 @@ function tainacan_blocksy_add_background_color_variable($args) {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
}
|
}
|
||||||
add_action( 'blocksy:global-dynamic-css:enqueue', 'tainacan_blocksy_add_background_color_variable' );
|
add_action( 'blocksy:global-dynamic-css:enqueue:inline', 'tainacan_blocksy_add_background_color_variable' );
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ if ( !function_exists('blocksy_default_post_navigation') ) {
|
||||||
]
|
]
|
||||||
));
|
));
|
||||||
|
|
||||||
$container_class = 'post-navigation';
|
$container_class = 'post-navigation ct-constrained-width';
|
||||||
|
|
||||||
$container_class .= ' ' . blocksy_visibility_classes(get_theme_mod(
|
$container_class .= ' ' . blocksy_visibility_classes(get_theme_mod(
|
||||||
$prefix . '_post_nav_visibility',
|
$prefix . '_post_nav_visibility',
|
||||||
|
@ -352,7 +352,7 @@ if ( !function_exists('tainacan_blocksy_item_navigation') ) {
|
||||||
|
|
||||||
if (get_theme_mod( $prefix . '_has_post_nav', $prefix === 'single_blog_post' ? 'yes' : 'no' ) === 'yes') {
|
if (get_theme_mod( $prefix . '_has_post_nav', $prefix === 'single_blog_post' ? 'yes' : 'no' ) === 'yes') {
|
||||||
|
|
||||||
$container_class = 'post-navigation';
|
$container_class = 'post-navigation ct-constrained-width';
|
||||||
|
|
||||||
$container_class .= ' ' . blocksy_visibility_classes(get_theme_mod(
|
$container_class .= ' ' . blocksy_visibility_classes(get_theme_mod(
|
||||||
$prefix . '_post_nav_visibility',
|
$prefix . '_post_nav_visibility',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tainacan-blocksy",
|
"name": "tainacan-blocksy",
|
||||||
"version": "0.3.4",
|
"version": "0.3.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tainacan-blocksy",
|
"name": "tainacan-blocksy",
|
||||||
"version": "0.3.4",
|
"version": "0.3.6",
|
||||||
"description": "A Blocksy plugin/child theme compatible with Tainacan",
|
"description": "A Blocksy plugin/child theme compatible with Tainacan",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -31,8 +31,11 @@ $page_container_style .= '--tainacan-item-background-color:' . $background_color
|
||||||
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
|
||||||
$page_container_style .= '--theme-form-field-border-initial-color:' . $background_color_palette['color6']['color'] . ';';
|
if ( isset( $background_color_palette['color6'] ) ) {
|
||||||
|
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
$page_container_style .= '--theme-form-field-border-initial-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
}
|
||||||
|
|
||||||
$text_color_palette = get_theme_mod($prefix . '_items_list_text_palette',
|
$text_color_palette = get_theme_mod($prefix . '_items_list_text_palette',
|
||||||
[
|
[
|
||||||
|
@ -243,11 +246,13 @@ if ( $page_hero_section_style === 'type-2' ) {
|
||||||
'hide_advanced_search' => get_theme_mod($prefix . '_show_advanced_search', 'yes') == 'no',
|
'hide_advanced_search' => get_theme_mod($prefix . '_show_advanced_search', 'yes') == 'no',
|
||||||
'hide_sorting_area' => get_theme_mod($prefix . '_show_sorting_area', 'yes') == 'no',
|
'hide_sorting_area' => get_theme_mod($prefix . '_show_sorting_area', 'yes') == 'no',
|
||||||
'hide_sort_by_button' => get_theme_mod($prefix . '_show_sort_by_button', 'yes') == 'no',
|
'hide_sort_by_button' => get_theme_mod($prefix . '_show_sort_by_button', 'yes') == 'no',
|
||||||
'hide_displayed_metadata_dropdown' => get_theme_mod($prefix . '_show_displayed_metadata_dropdown', 'yes') == 'no',
|
'hide_displayed_metadata_button' => get_theme_mod($prefix . '_show_displayed_metadata_dropdown', 'yes') == 'no',
|
||||||
'show_inline_view_mode_options' => get_theme_mod($prefix . '_show_inline_view_mode_options', 'no') == 'yes',
|
'show_inline_view_mode_options' => get_theme_mod($prefix . '_show_inline_view_mode_options', 'no') == 'yes',
|
||||||
'show_fullscreen_with_view_modes' => get_theme_mod($prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
'show_fullscreen_with_view_modes' => get_theme_mod($prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
||||||
'hide_exposers_button' => get_theme_mod($prefix . '_show_exposers_button', 'yes') == 'no',
|
'hide_exposers_button' => get_theme_mod($prefix . '_show_exposers_button', 'yes') == 'no',
|
||||||
'hide_pagination_area' => get_theme_mod($prefix . '_has_pagination', 'yes') == 'no',
|
'hide_pagination_area' => get_theme_mod($prefix . '_has_pagination', 'yes') == 'no',
|
||||||
|
'hide_items_per_page_button' => get_theme_mod($prefix . '_show_items_per_page_button', 'yes') == 'no',
|
||||||
|
'hide_go_to_page_button' => get_theme_mod($prefix . '_show_go_to_page_button', 'yes') == 'no',
|
||||||
'should_not_hide_filters_on_mobile' => get_theme_mod($prefix . '_should_not_hide_filters_on_mobile', 'no') == 'yes',
|
'should_not_hide_filters_on_mobile' => get_theme_mod($prefix . '_should_not_hide_filters_on_mobile', 'no') == 'yes',
|
||||||
'display_filters_horizontally' => get_theme_mod($prefix . '_display_filters_horizontally', 'no') == 'yes',
|
'display_filters_horizontally' => get_theme_mod($prefix . '_display_filters_horizontally', 'no') == 'yes',
|
||||||
'hide_filter_collapses' => get_theme_mod($prefix . '_hide_filter_collapses', 'no') == 'yes',
|
'hide_filter_collapses' => get_theme_mod($prefix . '_hide_filter_collapses', 'no') == 'yes',
|
||||||
|
|
|
@ -32,8 +32,11 @@ $page_container_style .= '--tainacan-item-background-color:' . $background_color
|
||||||
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
|
||||||
$page_container_style .= '--theme-form-field-border-initial-color:' . $background_color_palette['color6']['color'] . ';';
|
if ( isset( $background_color_palette['color6'] ) ) {
|
||||||
|
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
$page_container_style .= '--theme-form-field-border-initial-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
}
|
||||||
|
|
||||||
$text_color_palette = get_theme_mod($repository_items_prefix . '_items_list_text_palette',
|
$text_color_palette = get_theme_mod($repository_items_prefix . '_items_list_text_palette',
|
||||||
[
|
[
|
||||||
|
@ -160,11 +163,13 @@ if ( $page_hero_section_style === 'type-2' ) {
|
||||||
'hide_advanced_search' => get_theme_mod($repository_items_prefix . '_show_advanced_search', 'yes') == 'no',
|
'hide_advanced_search' => get_theme_mod($repository_items_prefix . '_show_advanced_search', 'yes') == 'no',
|
||||||
'hide_sorting_area' => get_theme_mod($repository_items_prefix . '_show_sorting_area', 'yes') == 'no',
|
'hide_sorting_area' => get_theme_mod($repository_items_prefix . '_show_sorting_area', 'yes') == 'no',
|
||||||
'hide_sort_by_button' => get_theme_mod($repository_items_prefix . '_show_sort_by_button', 'yes') == 'no',
|
'hide_sort_by_button' => get_theme_mod($repository_items_prefix . '_show_sort_by_button', 'yes') == 'no',
|
||||||
'hide_displayed_metadata_dropdown' => get_theme_mod($repository_items_prefix . '_show_displayed_metadata_dropdown', 'yes') == 'no',
|
'hide_displayed_metadata_button' => get_theme_mod($repository_items_prefix . '_show_displayed_metadata_dropdown', 'yes') == 'no',
|
||||||
'show_inline_view_mode_options' => get_theme_mod($repository_items_prefix . '_show_inline_view_mode_options', 'no') == 'yes',
|
'show_inline_view_mode_options' => get_theme_mod($repository_items_prefix . '_show_inline_view_mode_options', 'no') == 'yes',
|
||||||
'show_fullscreen_with_view_modes' => get_theme_mod($repository_items_prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
'show_fullscreen_with_view_modes' => get_theme_mod($repository_items_prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
||||||
'hide_exposers_button' => get_theme_mod($repository_items_prefix . '_show_exposers_button', 'yes') == 'no',
|
'hide_exposers_button' => get_theme_mod($repository_items_prefix . '_show_exposers_button', 'yes') == 'no',
|
||||||
'hide_pagination_area' => get_theme_mod($repository_items_prefix . '_has_pagination', 'yes') == 'no',
|
'hide_pagination_area' => get_theme_mod($repository_items_prefix . '_has_pagination', 'yes') == 'no',
|
||||||
|
'hide_items_per_page_button' => get_theme_mod($repository_items_prefix . '_show_items_per_page_button', 'yes') == 'no',
|
||||||
|
'hide_go_to_page_button' => get_theme_mod($repository_items_prefix . '_show_go_to_page_button', 'yes') == 'no',
|
||||||
'default_view_mode' => get_theme_mod($repository_items_prefix . '_default_view_mode', 'masonry'),
|
'default_view_mode' => get_theme_mod($repository_items_prefix . '_default_view_mode', 'masonry'),
|
||||||
'should_not_hide_filters_on_mobile' => get_theme_mod($repository_items_prefix . '_should_not_hide_filters_on_mobile', 'no') == 'yes',
|
'should_not_hide_filters_on_mobile' => get_theme_mod($repository_items_prefix . '_should_not_hide_filters_on_mobile', 'no') == 'yes',
|
||||||
'display_filters_horizontally' => get_theme_mod($repository_items_prefix . '_display_filters_horizontally', 'no') == 'yes',
|
'display_filters_horizontally' => get_theme_mod($repository_items_prefix . '_display_filters_horizontally', 'no') == 'yes',
|
||||||
|
|
|
@ -32,8 +32,11 @@ $page_container_style .= '--tainacan-item-background-color:' . $background_color
|
||||||
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
$page_container_style .= '--tainacan-item-hover-background-color:' . $background_color_palette['color3']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
$page_container_style .= '--tainacan-input-background-color:' . $background_color_palette['color4']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
$page_container_style .= '--tainacan-primary:' . $background_color_palette['color5']['color'] . ';';
|
||||||
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
|
||||||
$page_container_style .= '--theme-form-field-border-initial-color:' . $background_color_palette['color6']['color'] . ';';
|
if ( isset( $background_color_palette['color6'] ) ) {
|
||||||
|
$page_container_style .= '--tainacan-input-border-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
$page_container_style .= '--theme-form-field-border-initial-color:' . $background_color_palette['color6']['color'] . ';';
|
||||||
|
}
|
||||||
|
|
||||||
$text_color_palette = get_theme_mod($term_items_prefix . '_items_list_text_palette',
|
$text_color_palette = get_theme_mod($term_items_prefix . '_items_list_text_palette',
|
||||||
[
|
[
|
||||||
|
@ -240,11 +243,13 @@ if ( $page_hero_section_style === 'type-2' ) {
|
||||||
'hide_advanced_search' => get_theme_mod($term_items_prefix . '_show_advanced_search', 'yes') == 'no',
|
'hide_advanced_search' => get_theme_mod($term_items_prefix . '_show_advanced_search', 'yes') == 'no',
|
||||||
'hide_sorting_area' => get_theme_mod($term_items_prefix . '_show_sorting_area', 'yes') == 'no',
|
'hide_sorting_area' => get_theme_mod($term_items_prefix . '_show_sorting_area', 'yes') == 'no',
|
||||||
'hide_sort_by_button' => get_theme_mod($term_items_prefix . '_show_sort_by_button', 'yes') == 'no',
|
'hide_sort_by_button' => get_theme_mod($term_items_prefix . '_show_sort_by_button', 'yes') == 'no',
|
||||||
'hide_displayed_metadata_dropdown' => get_theme_mod($term_items_prefix . '_show_displayed_metadata_dropdown', 'yes') == 'no',
|
'hide_displayed_metadata_button' => get_theme_mod($term_items_prefix . '_show_displayed_metadata_dropdown', 'yes') == 'no',
|
||||||
'show_inline_view_mode_options' => get_theme_mod($term_items_prefix . '_show_inline_view_mode_options', 'no') == 'yes',
|
'show_inline_view_mode_options' => get_theme_mod($term_items_prefix . '_show_inline_view_mode_options', 'no') == 'yes',
|
||||||
'show_fullscreen_with_view_modes' => get_theme_mod($term_items_prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
'show_fullscreen_with_view_modes' => get_theme_mod($term_items_prefix . '_show_fullscreen_with_view_modes', 'no') == 'yes',
|
||||||
'hide_exposers_button' => get_theme_mod($term_items_prefix . '_show_exposers_button', 'yes') == 'no',
|
'hide_exposers_button' => get_theme_mod($term_items_prefix . '_show_exposers_button', 'yes') == 'no',
|
||||||
'hide_pagination_area' => get_theme_mod($term_items_prefix . '_has_pagination', 'yes') == 'no',
|
'hide_pagination_area' => get_theme_mod($term_items_prefix . '_has_pagination', 'yes') == 'no',
|
||||||
|
'hide_items_per_page_button' => get_theme_mod($term_items_prefix . '_show_items_per_page_button', 'yes') == 'no',
|
||||||
|
'hide_go_to_page_button' => get_theme_mod($term_items_prefix . '_show_go_to_page_button', 'yes') == 'no',
|
||||||
'default_view_mode' => get_theme_mod($term_items_prefix . '_default_view_mode', 'masonry'),
|
'default_view_mode' => get_theme_mod($term_items_prefix . '_default_view_mode', 'masonry'),
|
||||||
'should_not_hide_filters_on_mobile' => get_theme_mod($term_items_prefix . '_should_not_hide_filters_on_mobile', 'no') == 'yes',
|
'should_not_hide_filters_on_mobile' => get_theme_mod($term_items_prefix . '_should_not_hide_filters_on_mobile', 'no') == 'yes',
|
||||||
'display_filters_horizontally' => get_theme_mod($term_items_prefix . '_display_filters_horizontally', 'no') == 'yes',
|
'display_filters_horizontally' => get_theme_mod($term_items_prefix . '_display_filters_horizontally', 'no') == 'yes',
|
||||||
|
|
Loading…
Reference in New Issue