New underscored notation for tainacan_the_faceted_search params.
This commit is contained in:
parent
218b5b2d07
commit
3e46b32a8c
|
@ -2,20 +2,20 @@
|
||||||
<?php get_template_part( 'tainacan/header-collection' ); ?>
|
<?php get_template_part( 'tainacan/header-collection' ); ?>
|
||||||
|
|
||||||
<?php tainacan_the_faceted_search([
|
<?php tainacan_the_faceted_search([
|
||||||
'default-items-per-page' => get_theme_mod('tainacan_items_page_default_items_per_page', 12),
|
'default_items_per_page' => get_theme_mod('tainacan_items_page_default_items_per_page', 12),
|
||||||
'hide-filters' => get_theme_mod('tainacan_items_page_hide_filters', false),
|
'hide_filters' => get_theme_mod('tainacan_items_page_hide_filters', false),
|
||||||
'hide-hide-filters-button' => get_theme_mod('tainacan_items_page_hide_hide_filters_button', false),
|
'hide_hide_filters_button' => get_theme_mod('tainacan_items_page_hide_hide_filters_button', false),
|
||||||
'hide-search' => get_theme_mod('tainacan_items_page_hide_search', false),
|
'hide_search' => get_theme_mod('tainacan_items_page_hide_search', false),
|
||||||
'hide-advanced-search' => get_theme_mod('tainacan_items_page_hide_advanced_search', false),
|
'hide_advanced_search' => get_theme_mod('tainacan_items_page_hide_advanced_search', false),
|
||||||
'hide-sort-by-button' => get_theme_mod('tainacan_items_page_hide_sort_by_button', false),
|
'hide_sort_by_button' => get_theme_mod('tainacan_items_page_hide_sort_by_button', false),
|
||||||
'hide-exposers-button' => get_theme_mod('tainacan_items_page_hide_exposers_button', false),
|
'hide_exposers_button' => get_theme_mod('tainacan_items_page_hide_exposers_button', false),
|
||||||
'hide-items-per-page-button' => get_theme_mod('tainacan_items_page_hide_items_per_page_button', false),
|
'hide_items_per_page_button' => get_theme_mod('tainacan_items_page_hide_items_per_page_button', false),
|
||||||
'hide-go-to-page-button' => get_theme_mod('tainacan_items_page_hide_go_to_page_button', false),
|
'hide_go_to_page_button' => get_theme_mod('tainacan_items_page_hide_go_to_page_button', false),
|
||||||
'show-filters-button-inside-search-control' => get_theme_mod('tainacan_items_page_show_filters_button_inside_search_control', false),
|
'show_filters_button_inside_search_control' => get_theme_mod('tainacan_items_page_show_filters_button_inside_search_control', false),
|
||||||
'start-with-filters-hidden' => get_theme_mod('tainacan_items_page_start_with_filters_hidden', false),
|
'start_with_filters_hidden' => get_theme_mod('tainacan_items_page_start_with_filters_hidden', false),
|
||||||
'filters-as-modal' => get_theme_mod('tainacan_items_page_filters_as_modal', false),
|
'filters_as_modal' => get_theme_mod('tainacan_items_page_filters_as_modal', false),
|
||||||
'show-inline-view-mode-options' => get_theme_mod('tainacan_items_page_show_inline_view_mode_options', false),
|
'show_inline_view_mode_options' => get_theme_mod('tainacan_items_page_show_inline_view_mode_options', false),
|
||||||
'show-fullscreen-with-view-modes' => get_theme_mod('tainacan_items_page_show_fullscreen_with_view_modes', false)
|
'show_fullscreen_with_view_modes' => get_theme_mod('tainacan_items_page_show_fullscreen_with_view_modes', false)
|
||||||
]); ?>
|
]); ?>
|
||||||
|
|
||||||
<?php get_footer();
|
<?php get_footer();
|
||||||
|
|
|
@ -4,21 +4,21 @@
|
||||||
<?php get_template_part( 'template-parts/bannerheader' ); ?>
|
<?php get_template_part( 'template-parts/bannerheader' ); ?>
|
||||||
|
|
||||||
<?php tainacan_the_faceted_search([
|
<?php tainacan_the_faceted_search([
|
||||||
'default-view-mode' => get_theme_mod('tainacan_items_repository_list_default_view_mode', 'masonry'),
|
'default_view_mode' => get_theme_mod('tainacan_items_repository_list_default_view_mode', 'masonry'),
|
||||||
'default-items-per-page' => get_theme_mod('tainacan_items_page_default_items_per_page', 12),
|
'default_items_per_page' => get_theme_mod('tainacan_items_page_default_items_per_page', 12),
|
||||||
'hide-filters' => get_theme_mod('tainacan_items_page_hide_filters', false),
|
'hide_filters' => get_theme_mod('tainacan_items_page_hide_filters', false),
|
||||||
'hide-hide-filters-button' => get_theme_mod('tainacan_items_page_hide_hide_filters_button', false),
|
'hide_hide_filters_button' => get_theme_mod('tainacan_items_page_hide_hide_filters_button', false),
|
||||||
'hide-search' => get_theme_mod('tainacan_items_page_hide_search', false),
|
'hide_search' => get_theme_mod('tainacan_items_page_hide_search', false),
|
||||||
'hide-advanced-search' => get_theme_mod('tainacan_items_page_hide_advanced_search', false),
|
'hide_advanced_search' => get_theme_mod('tainacan_items_page_hide_advanced_search', false),
|
||||||
'hide-sort-by-button' => get_theme_mod('tainacan_items_page_hide_sort_by_button', false),
|
'hide_sort_by_button' => get_theme_mod('tainacan_items_page_hide_sort_by_button', false),
|
||||||
'hide-exposers-button' => get_theme_mod('tainacan_items_page_hide_exposers_button', false),
|
'hide_exposers_button' => get_theme_mod('tainacan_items_page_hide_exposers_button', false),
|
||||||
'hide-items-per-page-button' => get_theme_mod('tainacan_items_page_hide_items_per_page_button', false),
|
'hide_items_per_page_button' => get_theme_mod('tainacan_items_page_hide_items_per_page_button', false),
|
||||||
'hide-go-to-page-button' => get_theme_mod('tainacan_items_page_hide_go_to_page_button', false),
|
'hide_go_to_page_button' => get_theme_mod('tainacan_items_page_hide_go_to_page_button', false),
|
||||||
'show-filters-button-inside-search-control' => get_theme_mod('tainacan_items_page_show_filters_button_inside_search_control', false),
|
'show_filters_button_inside_search_control' => get_theme_mod('tainacan_items_page_show_filters_button_inside_search_control', false),
|
||||||
'start-with-filters-hidden' => get_theme_mod('tainacan_items_page_start_with_filters_hidden', false),
|
'start_with_filters_hidden' => get_theme_mod('tainacan_items_page_start_with_filters_hidden', false),
|
||||||
'filters-as-modal' => get_theme_mod('tainacan_items_page_filters_as_modal', false),
|
'filters_as_modal' => get_theme_mod('tainacan_items_page_filters_as_modal', false),
|
||||||
'show-inline-view-mode-options' => get_theme_mod('tainacan_items_page_show_inline_view_mode_options', false),
|
'show_inline_view_mode_options' => get_theme_mod('tainacan_items_page_show_inline_view_mode_options', false),
|
||||||
'show-fullscreen-with-view-modes' => get_theme_mod('tainacan_items_page_show_fullscreen_with_view_modes', false)
|
'show_fullscreen_with_view_modes' => get_theme_mod('tainacan_items_page_show_fullscreen_with_view_modes', false)
|
||||||
]); ?>
|
]); ?>
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
|
@ -2,21 +2,21 @@
|
||||||
<?php get_template_part( 'tainacan/header-taxonomy' ); ?>
|
<?php get_template_part( 'tainacan/header-taxonomy' ); ?>
|
||||||
|
|
||||||
<?php tainacan_the_faceted_search([
|
<?php tainacan_the_faceted_search([
|
||||||
'default-view-mode' => get_theme_mod('tainacan_items_repository_list_default_view_mode', 'masonry'),
|
'default_view_mode' => get_theme_mod('tainacan_items_repository_list_default_view_mode', 'masonry'),
|
||||||
'default-items-per-page' => get_theme_mod('tainacan_items_page_default_items_per_page', 12),
|
'default_items_per_page' => get_theme_mod('tainacan_items_page_default_items_per_page', 12),
|
||||||
'hide-filters' => get_theme_mod('tainacan_items_page_hide_filters', false),
|
'hide_filters' => get_theme_mod('tainacan_items_page_hide_filters', false),
|
||||||
'hide-hide-filters-button' => get_theme_mod('tainacan_items_page_hide_hide_filters_button', false),
|
'hide_hide_filters_button' => get_theme_mod('tainacan_items_page_hide_hide_filters_button', false),
|
||||||
'hide-search' => get_theme_mod('tainacan_items_page_hide_search', false),
|
'hide_search' => get_theme_mod('tainacan_items_page_hide_search', false),
|
||||||
'hide-advanced-search' => get_theme_mod('tainacan_items_page_hide_advanced_search', false),
|
'hide_advanced_search' => get_theme_mod('tainacan_items_page_hide_advanced_search', false),
|
||||||
'hide-sort-by-button' => get_theme_mod('tainacan_items_page_hide_sort_by_button', false),
|
'hide_sort_by_button' => get_theme_mod('tainacan_items_page_hide_sort_by_button', false),
|
||||||
'hide-exposers-button' => get_theme_mod('tainacan_items_page_hide_exposers_button', false),
|
'hide_exposers_button' => get_theme_mod('tainacan_items_page_hide_exposers_button', false),
|
||||||
'hide-items-per-page-button' => get_theme_mod('tainacan_items_page_hide_items_per_page_button', false),
|
'hide_items_per_page_button' => get_theme_mod('tainacan_items_page_hide_items_per_page_button', false),
|
||||||
'hide-go-to-page-button' => get_theme_mod('tainacan_items_page_hide_go_to_page_button', false),
|
'hide_go_to_page_button' => get_theme_mod('tainacan_items_page_hide_go_to_page_button', false),
|
||||||
'show-filters-button-inside-search-control' => get_theme_mod('tainacan_items_page_show_filters_button_inside_search_control', false),
|
'show_filters_button_inside_search_control' => get_theme_mod('tainacan_items_page_show_filters_button_inside_search_control', false),
|
||||||
'start-with-filters-hidden' => get_theme_mod('tainacan_items_page_start_with_filters_hidden', false),
|
'start_with_filters_hidden' => get_theme_mod('tainacan_items_page_start_with_filters_hidden', false),
|
||||||
'filters-as-modal' => get_theme_mod('tainacan_items_page_filters_as_modal', false),
|
'filters_as_modal' => get_theme_mod('tainacan_items_page_filters_as_modal', false),
|
||||||
'show-inline-view-mode-options' => get_theme_mod('tainacan_items_page_show_inline_view_mode_options', false),
|
'show_inline_view_mode_options' => get_theme_mod('tainacan_items_page_show_inline_view_mode_options', false),
|
||||||
'show-fullscreen-with-view-modes' => get_theme_mod('tainacan_items_page_show_fullscreen_with_view_modes', false)
|
'show_fullscreen_with_view_modes' => get_theme_mod('tainacan_items_page_show_fullscreen_with_view_modes', false)
|
||||||
]); ?>
|
]); ?>
|
||||||
|
|
||||||
<?php get_footer();
|
<?php get_footer();
|
||||||
|
|
Loading…
Reference in New Issue