Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
MSF
/
msf-climate-hub
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7abab227
authored
2023-10-03 19:28:20 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fr
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
4ed132c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
wp-content/themes/msf-child/blocks/carousel/carousel.php
wp-content/themes/msf-child/inc/shortcodes.php
wp-content/themes/msf-child/search.php
wp-content/themes/msf-child/blocks/carousel/carousel.php
View file @
7abab22
...
...
@@ -58,7 +58,7 @@ $carousel_style = get_field('carousel_style');
<img
src=
"
<?php
echo
$image
;
?>
"
alt=
"
<?php
echo
$img_alt
?>
"
loading=
"eager"
>
</div>
<div
class=
"col-lg-8 col-md-8 col-sm-12"
>
<div
class=
"promo-text"
>
<?php
echo
get_the_excerpt
(
$page
->
ID
);
?>
<a
class=
"understrap-read-more-link"
href=
"
<?php
echo
get_permalink
(
$page
->
ID
);
?>
"
>
READ MORE
</a></div>
<div
class=
"promo-text"
>
<?php
echo
get_the_excerpt
(
$page
->
ID
);
?>
<a
class=
"understrap-read-more-link"
href=
"
<?php
echo
get_permalink
(
$page
->
ID
);
?>
"
>
<?=
__
(
'READ MORE'
,
'msf'
)
?>
</a></div>
</div>
</div>
</div>
...
...
wp-content/themes/msf-child/inc/shortcodes.php
View file @
7abab22
...
...
@@ -17,7 +17,7 @@ function advance_search($atts){
<button
type=
"button"
class=
"btn-close"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
</div>
<div
class=
"modal-body"
>
<?php
echo
do_shortcode
(
'[searchandfilter
id
="'
.
$search_id
.
'"]'
);
?>
<?php
echo
do_shortcode
(
'[searchandfilter
slug
="'
.
$search_id
.
'"]'
);
?>
<div
class=
"searching-loading"
>
Searching...
<div
class=
"spinner-border text-danger"
role=
"status"
>
<span
class=
"visually-hidden"
>
...
</span>
...
...
wp-content/themes/msf-child/search.php
View file @
7abab22
...
...
@@ -17,7 +17,7 @@ get_header();
<div
class=
"
<?php
echo
esc_attr
(
$container
);
?>
container search-content"
id=
"content"
tabindex=
"-1"
>
<h1
class=
"sh1"
>
<?php
_e
(
"Search results for:"
,
'msf'
);
?>
</h1>
<?php
//get_search_form() ?>
<?
php
echo
do_shortcode
(
'[searchandfilter slug="top-search"]'
);
echo
do_shortcode
(
'[advance-search search_id="
399
"]'
);
?>
<?
php
echo
do_shortcode
(
'[searchandfilter slug="top-search"]'
);
echo
do_shortcode
(
'[advance-search search_id="
advanced-search
"]'
);
?>
<button
class=
"btn btn-primary filter"
data-bs-toggle=
"collapse"
data-bs-target=
"#search-sidebar"
role=
"button"
aria-expanded=
"false"
aria-controls=
"search-sidebar"
>
<?php
_e
(
"SORT AND FILTER"
,
'msf'
);
?>
</button>
...
...
@@ -31,7 +31,7 @@ get_header();
</div>
<main
class=
"col-sm-12 col-md-9 content-area site-main search-result"
id=
"main"
>
<?php
echo
do_shortcode
(
'[searchandfilter
id
="112" action="filter_next_query"]'
);
?>
<?php
echo
do_shortcode
(
'[searchandfilter
slug
="112" action="filter_next_query"]'
);
?>
<?php
if
(
have_posts
()
)
:
global
$wp_query
;
...
...
Please
register
or
sign in
to post a comment