Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
makura-2025
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Raj Shah
makura-2025
Commits
6f2d3317
Commit
6f2d3317
authored
Feb 04, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
single missions done
parent
54013916
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
74 deletions
+13
-74
resource-detail-layout.php
page-templates/resource-detail-layout.php
+0
-15
single-resource.php
single-resource.php
+13
-59
resource-detail.php
template-parts/resource-page/resource-detail.php
+0
-0
resource-list.php
template-parts/resource-page/resource-list.php
+0
-0
No files found.
page-templates/resource-detail-layout.php
deleted
100644 → 0
View file @
54013916
<?php
/**
* Template Name: Resource Detail
*/
get_header
();
the_content
();
get_template_part
(
"/template-parts/resource-page/resource-detail"
,
null
);
get_footer
();
?>
\ No newline at end of file
single-resource.php
View file @
6f2d3317
...
...
@@ -85,61 +85,30 @@ endif;
<div
class=
"col-lg-10 col-xl-8"
>
<div
class=
"rd-content"
>
<?php
echo
the_content
();
?>
<?php
get_template_part
(
'/blocks/faqs-block'
);
?>
<!-- faqs -->
<h3>
Frequently Asked Questions
</h3>
<?php
if
(
get_field
(
'enable_section'
))
:
?>
<span>
<?php
the_field
(
'subtitle'
);
?>
</span>
<h3>
<?php
the_field
(
'title'
);
?>
</h3>
<?php
the_field
(
'description'
);
?>
<?php
$faqs
=
get_field
(
'faqs'
);
if
(
$faqs
)
:
?>
<div
class=
"faq-wrapper"
>
<?php
foreach
(
$faqs
as
$key
=>
$faq
)
:
?>
<div
class=
"faq-item"
>
<div
class=
"faq-title"
>
<strong>
Can I customize the template for my specific needs? Can I customize the template
for my
specificCan I customize the template for my specific needs?
needs?
</strong>
<strong>
<?php
echo
get_the_title
(
$faq
);
?>
</strong>
</div>
<div
class=
"faq-content-box"
>
<div
class=
"faq-content"
>
<p>
You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.
</p>
</div>
</div>
</div>
<div
class=
"faq-item"
>
<div
class=
"faq-title"
>
<strong>
Can I customize the template for my specific needs?
</strong>
</div>
<div
class=
"faq-content-box"
>
<div
class=
"faq-content"
>
<p>
You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.
</p>
<p>
You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.
</p>
<p>
You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.
</p>
</div>
</div>
</div>
<div
class=
"faq-item"
>
<div
class=
"faq-title"
>
<strong>
Can I customize the template for my specific needs?
</strong>
</div>
<div
class=
"faq-content-box"
>
<div
class=
"faq-content"
>
<p>
You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.
</p>
<?php
echo
get_the_content
(
null
,
false
,
$faq
);
?>
</div>
</div>
</div>
<?php
endforeach
;
?>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
<!-- faqs -->
</div>
<div
class=
"rd-footer-action-group"
>
...
...
@@ -198,21 +167,6 @@ endif;
</svg>
</a>
</li>
<!-- Google+ Share -->
<li>
<a
href=
"https://plus.google.com/share?url=
<?php
echo
urlencode
(
get_permalink
());
?>
"
target=
"_blank"
>
<svg
width=
"32"
height=
"32"
viewBox=
"0 0 32 32"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<rect
x=
"0.5"
y=
"0.5"
width=
"31"
height=
"31"
rx=
"15.5"
stroke=
"#878787"
/>
<path
d=
"M24.1562 11.9062C24.5312 13.2188 24.5312 16.0312 24.5312 16.0312C24.5312 16.0312 24.5312 18.8125 24.1562 20.1562C23.9688 20.9062 23.375 21.4688 22.6562 21.6562C21.3125 22 16 22 16 22C16 22 10.6562 22 9.3125 21.6562C8.59375 21.4688 8 20.9062 7.8125 20.1562C7.4375 18.8125 7.4375 16.0312 7.4375 16.0312C7.4375 16.0312 7.4375 13.2188 7.8125 11.9062C8 11.1562 8.59375 10.5625 9.3125 10.375C10.6562 10 16 10 16 10C16 10 21.3125 10 22.6562 10.375C23.375 10.5625 23.9688 11.1562 24.1562 11.9062ZM14.25 18.5625L18.6875 16.0312L14.25 13.5V18.5625Z"
fill=
"#878787"
/>
</svg>
</a>
</li>
</ul>
</div>
...
...
template-parts/resource-page/resource-detail.php
deleted
100644 → 0
View file @
54013916
This diff is collapsed.
Click to expand it.
template-parts/resource-page/resource-list.php
deleted
100644 → 0
View file @
54013916
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment