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
87067f74
Commit
87067f74
authored
Sep 09, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create form id and cta button id in contact us form
parent
137c7309
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
7 deletions
+53
-7
footer.php
wp-content/themes/marcellus/footer.php
+49
-3
enquiry.php
wp-content/themes/marcellus/includes/forms/enquiry.php
+1
-1
contact-us-as.php
wp-content/themes/marcellus/templates/contact-us-as.php
+1
-1
contact-us.php
wp-content/themes/marcellus/templates/contact-us.php
+2
-2
home.php
wp-content/themes/marcellus/templates/home.php
+0
-0
No files found.
wp-content/themes/marcellus/footer.php
View file @
87067f74
<!--Footer Starts-->
<footer>
<div
class=
"footer-menu newfooter"
>
...
...
@@ -31,7 +30,7 @@
<?php
//echo do_shortcode('[email-subscribers-form id="1"]'); ?>
<!--
<
div
class
="
inputbox
"><input type="
text
" placeholder="
Enter
your
email
address
"></div>
<div class="
inputboximg
"><div class="
inputicon
"></div></div> -->
<?php echo do_shortcode('[contact-form-7 id="
2456
" title="
Subscription
Form
"]'); ?>
<?php echo do_shortcode('[contact-form-7 id="
2456
" title="
Subscription
Form
"
html_id="
subscription_form_2456
"
]'); ?>
</div>
<div class="
mt
-
3
">
...
...
@@ -162,6 +161,38 @@
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"]
});
$
(
'.home-book-slider'
)
.
owlCarousel
({
margin
:
0
,
nav
:
true
,
loop
:
false
,
dots
:
false
,
autoplay
:
false
,
items
:
3
,
responsive
:
{
0
:
{
items
:
1
},
600
:
{
items
:
2
},
1000
:
{
items
:
3
}
}
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"]
});
$
(
'.prod-newbook-slider'
)
.
owlCarousel
({
margin
:
0
,
nav
:
true
,
loop
:
false
,
dots
:
true
,
autoplay
:
false
,
items
:
1
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"]
});
$
(
'.clickToggleIcon'
)
.
click
(
function
(
e
)
{
e
.
preventDefault
();
...
...
@@ -263,6 +294,18 @@ $('.page-full-tabs ul li a[href^="#"]').click(function(e){
$
(
this
)
.
toggleClass
(
'up'
);
$
(
'.complaint_swi'
)
.
slideToggle
();
});
if
(
$
(
window
)
.
width
()
<=
991
){
$
(
'.menu .menu-item-has-children .sub-menu'
)
.
hide
();
$
(
'.menu .menu-item-has-children > a'
)
.
click
(
function
(){
//$('.menu .menu-item-has-children > a').removeClass('open');
if
(
$
(
this
)
.
next
()
.
find
(
'.sub-menu:hidden'
)){
$
(
this
)
.
toggleClass
(
'open'
);
$
(
this
)
.
next
()
.
slideToggle
();
}
})
}
...
...
@@ -287,10 +330,12 @@ function onScroll(event) {
</
script
>
<?
php
wp_footer
();
?>
<!--Footer Ends-->
<script
type=
"text/javascript"
src=
"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5d0879b5de64ee42"
></script>
<script
type=
"text/javascript"
>
!
function
(
e
,
t
,
n
){
function
a
(){
var
e
=
t
.
getElementsByTagName
(
"script"
)[
0
],
n
=
t
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
async
=!
0
,
n
.
src
=
"https://beacon-v2.helpscout.net"
,
e
.
parentNode
.
insertBefore
(
n
,
e
)}
if
(
e
.
Beacon
=
n
=
function
(
t
,
n
,
a
){
e
.
Beacon
.
readyQueue
.
push
({
method
:
t
,
options
:
n
,
data
:
a
})},
n
.
readyQueue
=
[],
"complete"
===
t
.
readyState
)
return
a
();
e
.
attachEvent
?
e
.
attachEvent
(
"onload"
,
a
):
e
.
addEventListener
(
"load"
,
a
,
!
1
)}(
window
,
document
,
window
.
Beacon
||
function
(){});
</script>
<script
type=
"text/javascript"
>
window
.
Beacon
(
'init'
,
'9aba6dde-070a-4773-8f91-db70c05e430c'
)
</script>
</body>
</body>
</html>
\ No newline at end of file
wp-content/themes/marcellus/includes/forms/enquiry.php
View file @
87067f74
...
...
@@ -15,7 +15,7 @@
<div
class=
"tab-pane fade show active"
id=
"pills-home"
role=
"tabpanel"
aria-labelledby=
"pills-home-tab"
>
<div
role=
"form"
class=
"wpcf7 form"
id=
"subscribe_form"
lang=
"en-US"
dir=
"ltr"
>
<div
class=
"screen-reader-response"
></div>
<?php
echo
do_shortcode
(
'[contact-form-7 id="1662" title="Subscribe"]'
);
?>
<?php
echo
do_shortcode
(
'[contact-form-7 id="1662" title="Subscribe"
html_id="enquiry_form_1662"
]'
);
?>
</div>
</div>
</div>
...
...
wp-content/themes/marcellus/templates/contact-us-as.php
View file @
87067f74
...
...
@@ -18,7 +18,7 @@ get_header(); ?>
<div class="
home
-
contact
-
tabs
contact
-
us
mb
-
5
">
<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="
31
71
" title="
Contact
As
"]' ); ?>
<?php echo do_shortcode( '[contact-form-7 id="
31
84
" title="
Contact
From
" html_id="
contact_as_form_3184
"]' ); ?>
</div>
</div>
</div>
...
...
wp-content/themes/marcellus/templates/contact-us.php
View file @
87067f74
...
...
@@ -5,7 +5,7 @@
get_header
();
?>
<div
id=
"full-content"
class=
"about-page"
>
<?php
//if(have_posts()) : ?><?php //
while(have_posts()) : the_post(); ?>
<?php
if
(
have_posts
())
:
?><?php
while
(
have_posts
())
:
the_post
();
?>
<section
style=
"background-image: url('
<?php
echo
home_url
();
?>
/wp-content/uploads/2018/11/about-banner-bg.jpg');"
class=
"about-banner-bg"
>
<div
class=
"container"
>
<h1
class=
"page-title-cus"
>
Contact Us
</h1>
...
...
@@ -44,7 +44,7 @@ get_header(); ?>
</div>
</div>
<?php
//
endwhile; endif; ?>
<?php
endwhile
;
endif
;
?>
</div>
...
...
wp-content/themes/marcellus/templates/home.php
View file @
87067f74
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