Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marcellus
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
Ashish Pal
marcellus
Commits
64e1a648
Commit
64e1a648
authored
Jul 17, 2020
by
Ashish Pal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit database file
parent
dc687931
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
240 additions
and
0 deletions
+240
-0
mrcelus_17072020.sql
marcellusDB/mrcelus_17072020.sql
+0
-0
home_28042020.php
wp-content/themes/marcellus/templates/home_28042020.php
+240
-0
No files found.
marcellusDB/mrcelus_
2704
2020.sql
→
marcellusDB/mrcelus_
1707
2020.sql
View file @
64e1a648
This source diff could not be displayed because it is too large. You can
view the blob
instead.
wp-content/themes/marcellus/templates/home_28042020.php
0 → 100644
View file @
64e1a648
<?php
/**
* Template Name: Front-Page-Bk
*
*/
?>
<?php
get_header
();
?>
<div
id=
"full-content"
>
<section
style=
"background: url('
<?php
echo
site_url
();
?>
/wp-content/uploads/2018/11/banner_bg.png');"
class=
"banner"
>
<div
class=
"container home-banner-content"
>
<?php
the_field
(
'home-banner-content'
);
?>
</div>
<div
class=
"tab-banner"
>
<img
src=
"
<?php
echo
site_url
();
?>
/wp-content/uploads/2018/11/banner_bg.png"
>
</div>
</section>
<div
class=
"clearfix"
></div>
<section
class=
"home-about"
>
<div
class=
"container"
>
<?php
$id
=
38
;
$post
=
get_post
(
$id
);
$content
=
apply_filters
(
'the_content'
,
$post
->
post_content
);
?>
<h3
class=
"text-uppercase"
>
<?php
the_title
();
?>
</h3>
<?php
echo
the_field
(
'home_page_content'
,
38
);
?>
<a
href=
"
<?php
echo
get_permalink
();
?>
"
class=
"mt-4"
>
KNOW MORE
</a>
</div>
</section>
<div
class=
"clearfix"
></div>
<section
class=
"our-team-home"
>
<div
class=
"container"
>
<h3>
OUR TEAM
</h3>
<div
class=
"team-member-wrap"
>
<div
class=
"owl-carousel owl-theme team-carousel"
>
<?php
$type
=
'Team'
;
$args
=
array
(
'post_type'
=>
$type
,
'post_status'
=>
'publish'
,
'posts_per_page'
=>
10
,
'order'
=>
'ASC'
);
$my_query
=
null
;
$my_query
=
new
WP_Query
(
$args
);
if
(
$my_query
->
have_posts
()
)
{
?>
<?php
while
(
$my_query
->
have_posts
())
:
$my_query
->
the_post
();
?>
<div
class=
"item"
>
<div
class=
"team-member"
>
<figure>
<?php
the_post_thumbnail
();
?>
</figure>
<div
class=
"team-member-desc"
>
<h3><a
href=
"
<?php
the_permalink
();
?>
"
title=
"
<?php
the_title
();
?>
"
>
<?php
the_title
();
?>
</a></h3>
<p>
<?php
the_field
(
'designation'
);
?>
</p>
<a
href=
"
<?php
the_permalink
();
?>
"
class=
"view-detail"
>
View Profile
</a>
</div>
</div>
</div>
<?php
endwhile
;
}
?>
<?php
wp_reset_query
();
// Restore global post data stomped by the_post(). ?>
</
div
>
</
div
>
</
div
>
<
div
class
="
clearfix
"></div>
</section>
<div class="
clearfix
"></div>
<section class="
resources
-
home
">
<div class="
container
">
<h3>INSIGHTS</h3>
<div class="
resource
-
home
-
wrap
">
<div class="
row
">
<?php
$type
= 'Resources';
$args
=array(
'post_type' =>
$type
,
'post_status' => 'publish',
'posts_per_page' => -1,
'order' => 'ASC'
);
$my_query
= null;
$my_query
= new WP_Query(
$args
);
if(
$my_query->have_posts
() ) { ?>
<div class="
owl
-
carousel
owl
-
theme
resources
">
<?php while (
$my_query->have_posts
()) :
$my_query->the_post
(); ?>
<div class="
item
">
<div class="
resource
-
item
">
<?php the_post_thumbnail(); ?>
<div class="
resources
-
desc
">
<h3><a href="
<?
php
echo
get_field
(
'resources-link'
);
?>
">
<?php
the_title
();
?>
</a></h3>
<?php
//the_content(); ?>
<
a
href
=
"<?php echo get_field('resources-link'); ?>"
class
="
view
-
detail
">View All</a>
</div>
</div>
</div>
<?php
endwhile;
} ?>
</div>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
?>
</div>
</div>
</div>
</section>
<div class="
clearfix
"></div>
<section class="
books
-
wrap
-
home
">
<div class="
container
">
<h3>BOOKS</h3>
<section class="
books
-
bg
">
<?php
$type
= 'Books';
$args
=array(
'post_type' =>
$type
,
'post_status' => 'publish',
'posts_per_page' => -1,
'order' => 'ASC'
);
$my_query
= null;
$my_query
= new WP_Query(
$args
);
if(
$my_query->have_posts
() ) { ?>
<?php while (
$my_query->have_posts
()) :
$my_query->the_post
(); ?>
<div class="
book
-
item
">
<?php the_post_thumbnail(); ?>
<div class="
middle
"></div>
<a href="
<?
php
echo
get_field
(
'books-link'
);
?>
" target="_blank">
<img
src=
"
<?php
bloginfo
(
'template_directory'
);
?>
/images/hover-icon.png"
/></a>
</div>
<?php
endwhile
;
}
?>
<?php
wp_reset_query
();
// Restore global post data stomped by the_post().
?>
<div
class=
"clearfix"
></div>
<div
class=
"books-inner-bg"
>
<img
src=
"
<?php
echo
site_url
();
?>
/wp-content/uploads/2018/11/books-bg.png"
/>
</div>
</section>
</div>
</section>
<div
class=
"clearfix"
></div>
<section
class=
"home-seo-section"
>
<div
class=
"container"
>
<div
class=
"home-seo-content"
>
<?php
echo
the_field
(
'home_page_seo_content'
);
?>
</div>
</div>
</section>
<div
class=
"clearfix"
></div>
<?php
$visibility
=
get_field
(
'display'
);
if
(
$visibility
==
'Yes'
){
?>
<section
class=
"complain_status"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"complaint_status_wrapper fixed"
>
<span
class=
"closebox"
></span>
<div
class=
"complaint_swi"
>
<h5
class=
"sec_title"
>
<?php
the_field
(
'complaint_box_title'
);
?>
</h5>
<div
class=
"table-responsive"
>
<?php
the_field
(
'complaints_status'
);
?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div
class=
"clearfix"
></div>
<?php
}
?>
<section
class=
"contact-home"
id=
"contact-us"
>
<div
class=
"container"
>
<h3>
CONTACT US
</h3>
<div
class=
"home-contact-tabs"
>
<ul
class=
"nav nav-pills mb-3"
id=
"pills-tab"
role=
"tablist"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link active"
id=
"pills-home-tab"
data-toggle=
"pill"
href=
"#pills-home"
role=
"tab"
aria-controls=
"pills-home"
aria-expanded=
"true"
>
Distributor
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"pills-profile-tab"
data-toggle=
"pill"
href=
"#pills-profile"
role=
"tab"
aria-controls=
"pills-profile"
aria-expanded=
"true"
>
Investor
</a>
</li>
</ul>
<div
class=
"tab-content"
id=
"pills-tabContent"
>
<div
class=
"tab-pane fade show active"
id=
"pills-home"
role=
"tabpanel"
aria-labelledby=
"pills-home-tab"
>
<?php
echo
do_shortcode
(
'[contact-form-7 id="28" title="Contact distributor"]'
);
?>
</div>
<div
class=
"tab-pane fade"
id=
"pills-profile"
role=
"tabpanel"
aria-labelledby=
"pills-profile-tab"
>
<?php
echo
do_shortcode
(
'[contact-form-7 id="29" title="Contact investor"]'
);
?>
</div>
</div>
</div>
</div>
</section>
</div>
<?php
get_footer
();
?>
\ No newline at end of file
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