Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeremy Groot
/
stellervista-Intranet
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
2eec86df
authored
2023-02-27 13:15:00 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ddd
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
dbe7a6ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
15 deletions
wp-content/themes/understrap-child/inc/shortcodes-resources.php
wp-content/themes/understrap-child/inc/shortcodes-resources.php
View file @
2eec86d
...
...
@@ -35,7 +35,7 @@ function resources_list($atts){
<div
class=
"filter-group"
>
<div
class=
"category-filter-group "
>
<div
class=
"category"
>
<?php
$terms
=
get_terms
(
array
(
'taxonomy'
=>
'resource_category'
,
'parent'
=>
27
)
);
<?php
$terms
=
get_terms
(
array
(
'taxonomy'
=>
'resource_category'
,
'parent'
=>
$atts
[
'tax'
]
)
);
foreach
(
$terms
as
$term
){
?>
<div
class=
"category-filter"
>
<input
id=
"
<?php
echo
$term
->
slug
;
?>
"
value=
"
<?php
echo
$term
->
slug
;
?>
"
type=
"checkbox"
class=
"sr-only"
><label
for=
"
<?php
echo
$term
->
slug
;
?>
"
>
<?php
echo
$term
->
name
;
?>
</label></div>
<?php
};
?>
...
...
@@ -58,20 +58,6 @@ function resources_list($atts){
</tbody>
</table>
</div>
<div
class=
"modal fade"
id=
"login-window"
tabindex=
"-1"
aria-labelledby=
"login-window"
aria-hidden=
"true"
style=
"display: none;"
>
<div
class=
"modal-dialog modal-dialog-centered "
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"btn-close align-self-sm-end"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
</div>
<div
class=
"modal-body d-flex justify-content-center flex-column"
>
<h2
class=
"modal-title align-self-center"
>
You must be logged in to add resources to your dashboard
</h2>
<a
title=
"LOG IN"
href=
"my-account/"
class=
"login-btn"
>
Login now
</a>
<p
class=
"align-self-center"
>
Don’t have a login?
<a
title=
"Sign up"
href=
"my-account/"
class=
""
>
Sign up
</a>
for an account.
<p>
</div>
</div>
</div>
</div>
<?php
endif
;
wp_reset_query
();
$output
=
ob_get_clean
();
...
...
Please
register
or
sign in
to post a comment