From e3160b577b0d1bac4c7a667a009a7b813c31de67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20V=C3=A4nttinen?= Date: Mon, 22 Jan 2024 14:36:25 +0200 Subject: [PATCH] TMS-980: Add redipress_include_search to components --- CHANGELOG.MD | 2 ++ assets/styles/theme-milavida.scss | 5 ++++- lib/ACF/AlterContentColumnsFields.php | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 2cfb949..90f2c0f 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +- TMS-980: Add redipress_include_search to include component contents in search results + ## [1.2.0] - 2023-11-21 - TMS-974: Recurring event layout changes diff --git a/assets/styles/theme-milavida.scss b/assets/styles/theme-milavida.scss index 82f9b35..429e719 100644 --- a/assets/styles/theme-milavida.scss +++ b/assets/styles/theme-milavida.scss @@ -72,7 +72,10 @@ $pill-border-color-hover: $primary; $pill-outlined-color: $black; $pagination-item-color: $color-milavida-black; -$pagination-item-color-current: $color-white; +$pagination-item-color-current: $color-milavida-black; +$pagination-item-background-color-current: $color-milavida-grey; +$pagination-item-background-color-current-hover: $color-white; +$pagination-item-background-color-current-focus: $color-white; $pagination-item-background-color: $color-white; $pagination-item-background-color-hover: $pagination-item-background-color; $pagination-item-background-color-focus: $pagination-item-background-color; diff --git a/lib/ACF/AlterContentColumnsFields.php b/lib/ACF/AlterContentColumnsFields.php index 3e1cf48..8783ca2 100644 --- a/lib/ACF/AlterContentColumnsFields.php +++ b/lib/ACF/AlterContentColumnsFields.php @@ -64,6 +64,7 @@ public function alter_fields( array $fields, string $key ) : array { ->set_wrapper_width( 55 ) ->set_tabs( 'visual' ) ->set_toolbar( [ 'bold', 'link' ] ) + ->redipress_include_search() ->disable_media_upload(); // Add link field