Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
sora
/
dfc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4d7d5cba
authored
Dec 01, 2020
by
Orine Matsui
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
本番反映,css調整
parent
7032f949
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
357 additions
and
216 deletions
wp-content/themes/dfc-template/css/style.css
wp-content/themes/dfc-template/index.php
wp-content/themes/dfc-template/index_test.php
wp-content/themes/dfc-template/css/style.css
View file @
4d7d5cba
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
/* -------------------------------------------------------- */
/* -------------------------------------------------------- */
/* #header */
/* #header */
/* -------------------------------------------------------- */
/* -------------------------------------------------------- */
#header
.inner
{
position
:
relative
;
padding
:
17px
0
21
px
0
;}
#header
.inner
{
position
:
relative
;
padding
:
17px
0
14
px
0
;}
#header
.siteTitle
{
position
:
relative
;
max-width
:
640px
;
height
:
95px
;
margin-right
:
320px
;
vertical-align
:
middle
;}
#header
.siteTitle
{
position
:
relative
;
max-width
:
640px
;
height
:
95px
;
margin-right
:
320px
;
vertical-align
:
middle
;}
#header
.siteTitle
img
{
#header
.siteTitle
img
{
display
:
block
;
display
:
block
;
...
@@ -385,7 +385,8 @@
...
@@ -385,7 +385,8 @@
#mainVisual
img
.imgPC
{
min-height
:
310px
;}
#mainVisual
img
.imgPC
{
min-height
:
310px
;}
#mainVisual
.visualCopy
{
position
:
absolute
;
top
:
0
;
width
:
42%
;}
#mainVisual
.visualCopy
{
position
:
absolute
;
top
:
0
;
width
:
42%
;}
#mainVisual
.visualCopy
h2
{
padding
:
11%
8%
2%
;
font-size
:
154%
;
font-weight
:
bold
;
color
:
#c93f54
;
line-height
:
1.2
;}
#mainVisual
.visualCopy
h2
{
padding
:
11%
8%
2%
;
font-size
:
154%
;
font-weight
:
bold
;
color
:
#c93f54
;
line-height
:
1.2
;}
#mainVisual
.visualCopy
p
{
padding
:
0
8%
7%
;}
#mainVisual
.visualCopy
p
{
padding
:
20%
8%
7%
;
font-size
:
16px
;
font-weight
:
bold
;}
#mainVisual
.visualCopy
p
strong
{
color
:
#c93f54
;}
#mainVisual
.visualCopy
.btn_form
{
margin
:
0
auto
2%
;
width
:
282px
;}
#mainVisual
.visualCopy
.btn_form
{
margin
:
0
auto
2%
;
width
:
282px
;}
#mainVisual
.visualCopy
.btn_member
{
margin
:
0
auto
;
width
:
282px
;}
#mainVisual
.visualCopy
.btn_member
{
margin
:
0
auto
;
width
:
282px
;}
...
@@ -417,7 +418,7 @@
...
@@ -417,7 +418,7 @@
#mainContent
.sectionArea_boxS
.sectionBox_header
{
background-image
:
url(../images/bgGR_boxL_top_Lre.png)
;}
#mainContent
.sectionArea_boxS
.sectionBox_header
{
background-image
:
url(../images/bgGR_boxL_top_Lre.png)
;}
#mainContent
.submenuBox
.sectionBox
{
background-image
:
url(../images/bgGR_boxL_top_Lgr.png)
;}
#mainContent
.submenuBox
.sectionBox
{
background-image
:
url(../images/bgGR_boxL_top_Lgr.png)
;}
#mainContent
.submenuBox
.sectionBox_header
,
#mainContent
.submenuBox
.sectionBox_header
,
#mainContent
.
boxS.bgGR
.sectionBox_header
{
background-image
:
url(../images/bgGR_boxL_top_Lgr.png)
;}
#mainContent
.
privacypolicyBox.boxS
.sectionBox_header
{
background-image
:
url(../images/bgGR_boxL_top_Lgr.png)
;}
#mainContent
.entryContent
.sectionBox
{
background-image
:
url(../images/bgGR_boxL_entry.png)
;}
#mainContent
.entryContent
.sectionBox
{
background-image
:
url(../images/bgGR_boxL_entry.png)
;}
#mainContent
.entryContent
.sectionBox_header
{
background-image
:
url(../images/bgGR_boxL_entry.png)
;}
#mainContent
.entryContent
.sectionBox_header
{
background-image
:
url(../images/bgGR_boxL_entry.png)
;}
/**/
/**/
...
@@ -433,6 +434,7 @@
...
@@ -433,6 +434,7 @@
#mainContent
.boxM
h3
,
#mainContent
.boxM
h3
,
#mainContent
.boxS
h3
{
border-top
:
3px
solid
#c94054
;
font-size
:
124%
;}
#mainContent
.boxS
h3
{
border-top
:
3px
solid
#c94054
;
font-size
:
124%
;}
#mainContent
.submenuBox
.boxS
h3
,
#mainContent
.submenuBox
.boxS
h3
,
#mainContent
.privacypolicyBox.boxS
h3
,
#mainContent
.boxS.bgGR
h3
{
border-top
:
3px
solid
#999999
;}
#mainContent
.boxS.bgGR
h3
{
border-top
:
3px
solid
#999999
;}
/* 矢印 */
/* 矢印 */
#mainContent
.topixBox
h3
.btnArrow
,
#mainContent
.topixBox
h3
.btnArrow
,
...
@@ -479,6 +481,7 @@
...
@@ -479,6 +481,7 @@
#mainContent
.boxS
h3
a
{
display
:
block
;
padding-top
:
17px
;
padding-right
:
20px
;
line-height
:
18px
;
min-height
:
35px
;}
#mainContent
.boxS
h3
a
{
display
:
block
;
padding-top
:
17px
;
padding-right
:
20px
;
line-height
:
18px
;
min-height
:
35px
;}
#mainContent
.boxS
h3
.btnArrow
{
margin-top
:
4px
;
width
:
9px
;
height
:
15px
;
background-position
:
0
0
;}
#mainContent
.boxS
h3
.btnArrow
{
margin-top
:
4px
;
width
:
9px
;
height
:
15px
;
background-position
:
0
0
;}
#mainContent
.submenuBox
.boxS
h3
.btnArrow
,
#mainContent
.submenuBox
.boxS
h3
.btnArrow
,
#mainContent
.privacypolicyBox.boxS
h3
.btnArrow
,
#mainContent
.boxS.bgGR
h3
.btnArrow
{
background-position
:
0
-30px
;}
#mainContent
.boxS.bgGR
h3
.btnArrow
{
background-position
:
0
-30px
;}
#mainContent
.boxS
.sectionBox_body_inner
{
min-height
:
200px
;
padding-top
:
0
;}
#mainContent
.boxS
.sectionBox_body_inner
{
min-height
:
200px
;
padding-top
:
0
;}
#mainContent
.submenuBox
.boxS
.sectionBox_body_inner
{
min-height
:
180px
;
padding-top
:
0
;}
#mainContent
.submenuBox
.boxS
.sectionBox_body_inner
{
min-height
:
180px
;
padding-top
:
0
;}
...
@@ -1520,8 +1523,8 @@ span.sabText + input + span.sabText {margin-left: 30px;} /* フリガナã€ãŠå
...
@@ -1520,8 +1523,8 @@ span.sabText + input + span.sabText {margin-left: 30px;} /* フリガナã€ãŠå
#mainVisual
{
margin-top
:
0
;
padding-top
:
0px
;
background
:
url(../images/mainContent_bg.gif)
repeat
0
0
;}
#mainVisual
{
margin-top
:
0
;
padding-top
:
0px
;
background
:
url(../images/mainContent_bg.gif)
repeat
0
0
;}
#mainVisual
.shadow
{
padding-bottom
:
0
;
background
:
none
;}
#mainVisual
.shadow
{
padding-bottom
:
0
;
background
:
none
;}
#mainVisual
.visualCopy
{
position
:
static
;
padding-bottom
:
20px
;
width
:
100%
;}
#mainVisual
.visualCopy
{
position
:
static
;
padding-bottom
:
20px
;
width
:
100%
;}
#mainVisual
.visualCopy
h2
{
padding
:
15px
3.22%
;
font-size
:
131%
;}
#mainVisual
.visualCopy
p
{
padding
:
15px
3.22%
;
font-size
:
16px
;}
#mainVisual
.visualCopy
p
{
display
:
none
;}
#mainVisual
.visualCopy
.btn_form
{
margin
:
0
auto
10px
;
width
:
300px
;}
#mainVisual
.visualCopy
.btn_form
{
margin
:
0
auto
10px
;
width
:
300px
;}
#mainVisual
.visualCopy
.btn_member
{
margin
:
0
auto
;
width
:
300px
;}
#mainVisual
.visualCopy
.btn_member
{
margin
:
0
auto
;
width
:
300px
;}
.ttl_sp
{
display
:
block
!important
;
padding
:
14px
;
border-top
:
3px
solid
#c94054
;
border-bottom
:
1px
dotted
#c94054
;}
.ttl_sp
{
display
:
block
!important
;
padding
:
14px
;
border-top
:
3px
solid
#c94054
;
border-bottom
:
1px
dotted
#c94054
;}
...
...
wp-content/themes/dfc-template/index.php
View file @
4d7d5cba
...
@@ -4,45 +4,35 @@
...
@@ -4,45 +4,35 @@
*/
get_header
();
?>
*/
get_header
();
?>
<!-- main -->
<!-- main -->
<div
id=
"mainVisual"
>
<div
id=
"mainVisual"
>
<div
class=
"shadow"
>
<div
class=
"shadow"
><div
class=
"inner"
>
<div
class=
"inner"
>
<img
src=
"
<?php
bloginfo
(
'template_url'
);
?>
/images/mainVisual_780.png"
alt=
""
class=
"img780"
>
<img
src=
"
<?php
bloginfo
(
'template_url'
);
?>
/images/mainVisual_780.png"
alt=
""
class=
"img780"
>
<img
src=
"
<?php
bloginfo
(
'template_url'
);
?>
/images/mainVisual.png"
alt=
"ダイヤモンドファミリークラブは三菱グループ社員の福利厚生と社会貢献を目的に設立した結婚紹介センターです"
class=
"imgPC"
>
<img
src=
"
<?php
bloginfo
(
'template_url'
);
?>
/images/mainVisual.png"
alt=
"ダイヤモンドファミリークラブは三菱グループ社員の福利厚生と社会貢献を目的に設立した結婚紹介センターです"
class=
"imgPC"
>
<div
class=
"visualCopy"
>
<div
class=
"visualCopy"
>
<p><strong>
【重要なお知らせ】
</strong>
当クラブは2021年5月31日をもって業務を終了させて頂くこととなりました。
<br>
<h2>
ダイヤモンドファミリークラブは三菱グループ社員の福利厚生と社会貢献を目的に設立した結婚紹介センターです
</h2>
2020年12月1日以降業務終了までの6カ月間は現行会員の皆様の活動のみに限定し、新規入会は停止させて頂きますので、ご理解の程宜しくお願い致します。
</p>
<p>
専任のカウンセラーが長年培った経験と実績をもとに、ご紹介から交際・ご婚約まで親身になってお世話させていただきます。
<br>
<div
class=
"btn_member"
>
<?php
btnRd_link
(
'member'
);
?>
<!-- /.btn_member -->
</div>
<br>
三菱グループの安心と信頼の場で新しい出会いを広げてみませんか。
</p>
<div
class=
"btn_member"
>
<?php
btnRd_link
(
'member'
);
?>
<!-- /.btn_member -->
</div>
</div>
<!-- /.inner -->
</div>
<!-- /.shadow -->
</div>
<!-- /.mainVisual -->
</div>
</div>
<!-- /.inner -->
</div>
<!-- /.shadow -->
</div>
<!-- /.mainVisual -->
</div>
<div
id=
"mainContent"
>
<div
id=
"mainContent"
>
<div
class=
"inner"
>
<div
class=
"inner"
>
<h4
class=
"ttl_sp"
>
ご案内
</h4>
<h4
class=
"ttl_sp"
>
ご案内
</h4>
<div
class=
"topixBox sectionBox boxL accordion"
>
<div
class=
"topixBox sectionBox boxL accordion"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<div
class=
"sectionBox_header"
>
<h3><span
class=
"icon"
></span>
トピックス
<span
class=
"linkText"
><a
href=
"
<?php
echo
home_url
();
?>
/topics.html"
>
トピックス一覧へ
</a></span><span
class=
"btnArrow"
></span></h3>
<h3><span
class=
"icon"
></span>
トピックス
<span
class=
"linkText"
><a
href=
"
<?php
echo
home_url
();
?>
/topics.html"
>
トピックス一覧へ
</a></span><span
class=
"btnArrow"
></span></h3>
<!-- /.sectionBox_header -->
<!-- /.sectionBox_header -->
</div>
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<div
class=
"sectionBox_body_inner"
>
<?php
<?php
$loop
=
new
WP_Query
(
array
(
"post_type"
=>
"topics"
,
"posts_per_page"
=>
3
,
"orderby"
=>
"date"
,
"order"
=>
"DESC"
));
$loop
=
new
WP_Query
(
array
(
"post_type"
=>
"topics"
,
"posts_per_page"
=>
3
,
"orderby"
=>
"date"
,
"order"
=>
"DESC"
));
if
(
$loop
->
have_posts
()
)
:
while
(
$loop
->
have_posts
())
:
$loop
->
the_post
();
if
(
$loop
->
have_posts
()
)
:
while
(
$loop
->
have_posts
())
:
$loop
->
the_post
();
?>
?>
<?php
if
(
empty
(
$post
->
post_content
))
:
?>
<?php
if
(
empty
(
$post
->
post_content
))
:
?>
<p><span
class=
"date"
>
<?php
the_time
(
'y.m.d'
);
?>
</span>
<?php
<p><span
class=
"date"
>
<?php
the_time
(
'y.m.d'
);
?>
</span>
<?php
$days
=
30
;
//Newマーク表示の日数
$days
=
30
;
//Newマーク表示の日数
$daysInt
=
(
$days
-
1
)
*
86400
;
$daysInt
=
(
$days
-
1
)
*
86400
;
$today
=
time
();
$today
=
time
();
...
@@ -53,8 +43,8 @@ $dayago = $today-$entry;
...
@@ -53,8 +43,8 @@ $dayago = $today-$entry;
echo
'<span class="new">NEW</span>'
;
echo
'<span class="new">NEW</span>'
;
}
}
?>
<span
class=
"text"
>
<?php
the_title
();
?>
</span></p>
?>
<span
class=
"text"
>
<?php
the_title
();
?>
</span></p>
<?php
else
:
?>
<?php
else
:
?>
<p><a
href=
"
<?php
the_permalink
()
?>
"
><span
class=
"date"
>
<?php
the_time
(
'y.m.d'
);
?>
</span>
<?php
<p><a
href=
"
<?php
the_permalink
()
?>
"
><span
class=
"date"
>
<?php
the_time
(
'y.m.d'
);
?>
</span>
<?php
$days
=
30
;
//Newマーク表示の日数
$days
=
30
;
//Newマーク表示の日数
$daysInt
=
(
$days
-
1
)
*
86400
;
$daysInt
=
(
$days
-
1
)
*
86400
;
$today
=
time
();
$today
=
time
();
...
@@ -65,179 +55,88 @@ $dayago = $today-$entry;
...
@@ -65,179 +55,88 @@ $dayago = $today-$entry;
echo
'<span class="new">NEW</span>'
;
echo
'<span class="new">NEW</span>'
;
}
}
?>
<span
class=
"text"
>
<?php
the_title
();
?>
</span></a></p>
?>
<span
class=
"text"
>
<?php
the_title
();
?>
</span></a></p>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
endwhile
;
endif
;
?>
<?php
endwhile
;
endif
;
?>
<h4
class=
"ttl_sp"
><span
class=
"linkText"
><a
href=
"
<?php
echo
home_url
();
?>
/topics.html"
>
トピックス一覧へ
</a></span></h4>
<h4
class=
"ttl_sp"
><span
class=
"linkText"
><a
href=
"
<?php
echo
home_url
();
?>
/topics.html"
>
トピックス一覧へ
</a></span></h4>
<!-- /.sectionBox_body_inner -->
<!-- /.sectionBox_body_inner -->
</div>
</div>
<!-- /.sectionBox_body -->
</div>
<!-- /.sectionBox_body -->
<div
class=
"sectionBox_btm"
></div>
</div>
<!-- /.sectionBox_inner -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.sectionBox_inner -->
<!-- /.topixBox -->
</div>
</div>
<!-- /.sectionBox_shadow -->
</div>
<div
class=
"sectionArea_boxM sectionArea_boxM_01"
>
<!-- /.topixBox -->
<?php
</div>
$args
=
array
(
'post__in'
=>
array
(
88
,
86
),
'posts_per_page'
=>
2
,
<div
class=
"sectionArea_boxM sectionArea_boxM_01"
>
'meta_key=num&orderby'
=>
'meta_value_num&order=ASC'
,
<div
class=
"tokyo-officeBox sectionBox boxM accordion"
>
'order'
=>
'ASC'
<div
class=
"sectionBox_shadow"
>
);
?>
<div
class=
"sectionBox_inner"
>
<?php
$my_query
=
new
WP_Query
(
$args
);
?>
<div
class=
"sectionBox_header"
>
<?php
while
(
$my_query
->
have_posts
()
)
:
$my_query
->
the_post
();
?>
<h3><span
class=
"icon"
></span>
東京オフィスのご案内
<span
class=
"btnArrow"
></span></h3>
<div
class=
"
<?php
nskw_subtitle
();
?>
Box sectionBox boxM accordion"
>
<!-- /.sectionBox_header -->
<div
class=
"sectionBox_shadow"
>
</div>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_header"
>
<div
class=
"sectionBox_body_inner"
>
<h3><span
class=
"icon"
></span>
<?php
the_title
();
?>
<span
class=
"btnArrow"
></span></h3>
<span
class=
"topBox_tmb"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_01.jpg"
alt=
"東京オフィスのご案内"
></span>
<!-- /.sectionBox_header -->
</div>
<span
class=
"topBox_tmbS"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_01S.jpg"
alt=
"東京オフィスのご案内"
></span>
<div
class=
"sectionBox_body"
>
<div
class=
"text officeText"
><a
href=
"tel:0334058261"
><span>
03-3405-8261
</span></a>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"add"
>
〒107-0062 東京都港区南青山1-1-1 新青山ビル西館2階
</p>
<span
class=
"topBox_tmb"
><img
src=
"
<?php
$image
=
wp_get_attachment_image_src
(
get_post_meta
(
$post
->
ID
,
'topBox_tmb'
,
true
),
'large'
);
echo
$image
[
0
];
?>
"
alt=
"
<?php
the_title
();
?>
"
></span>
<dl>
<span
class=
"topBox_tmbS"
><img
src=
"
<?php
$image
=
wp_get_attachment_image_src
(
get_post_meta
(
$post
->
ID
,
'topBox_tmbS'
,
true
),
'large'
);
echo
$image
[
0
];
?>
"
alt=
"
<?php
the_title
();
?>
"
></span>
<dt><span>
営業日時
</span></dt>
<div
class=
"text officeText"
>
<?php
echo
(
post_custom
(
'TopSubject'
));
?>
</div>
<dd>
月・木・金・土・日曜日/9:00~17:00
<br>
<div
class=
"btn_
<?php
nskw_subtitle
();
?>
"
><div
class=
"btnRd btnBox"
><a
href=
"
<?php
the_permalink
();
?>
"
><span
class=
"icon"
></span><span
class=
"btnText"
>
<?php
echo
nl2br
(
post_custom
(
'linkText'
));
?>
</span><span
class=
"btnArrow"
></span></a></div>
<!-- /.btn_member -->
</div>
水曜日/9:00~20:00
</dd>
<!-- /.sectionBox_body_inner -->
</div>
</dl>
<!-- /.sectionBox_body -->
</div>
<p>
定休日/火曜・祝日(※土曜・日曜は祝日でも営業)
</p>
<div
class=
"sectionBox_btm"
></div>
</div>
<!-- /.sectionBox_inner -->
</div>
<div
class=
"btn_tokyo-office"
>
<!-- /.sectionBox_shadow -->
</div>
<div
class=
"btnRd btnBox"
><a
href=
"
<?php
echo
home_url
();
?>
/about/tokyo-office.html"
><span
class=
"icon"
></span><span
class=
"btnText"
>
アクセスマップ
</span><span
class=
"btnArrow"
></span></a></div>
<!-- /.btn_member -->
<!-- /.topixBox -->
</div>
</div>
<?php
endwhile
;
// end of the loop. ?>
<!-- /.sectionBox_body_inner -->
<?
php
wp_reset_postdata
();
?>
</div>
<!-- /.boxM -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<h4
class=
"ttl_sp"
>
メニュー
</h4>
<!-- /.sectionBox_shadow -->
</div>
<div
class=
"sectionArea_boxS menuSBox"
>
<!-- /.topixBox -->
<?php
</div>
$args
=
array
(
<div
class=
"nagoya-officeBox sectionBox boxM accordion"
>
'post_type'
=>
array
(
'post'
,
'page'
,
'message'
),
<div
class=
"sectionBox_shadow"
>
'post__in'
=>
array
(
100
,
633
,
23
),
<div
class=
"sectionBox_inner"
>
'posts_per_page'
=>
8
,
<div
class=
"sectionBox_header"
>
'meta_key'
=>
'num'
,
<h3><span
class=
"icon"
></span>
名古屋オフィスのご案内
<span
class=
"btnArrow"
></span></h3>
'orderby'
=>
'meta_value_num'
,
<!-- /.sectionBox_header -->
'order'
=>
'ASC'
</div>
);
?>
<div
class=
"sectionBox_body"
>
<?php
$my_query
=
new
WP_Query
(
$args
);
?>
<div
class=
"sectionBox_body_inner"
>
<?php
while
(
$my_query
->
have_posts
()
)
:
$my_query
->
the_post
();
?>
<span
class=
"topBox_tmb"
><img
src=
"/wp-content/uploads/n_office.jpg"
alt=
"名古屋オフィスのご案内"
></span>
<div
class=
"
<?php
global
$post
;
echo
$post
->
post_name
;
?>
Box sectionBox boxS"
>
<span
class=
"topBox_tmbS"
><img
src=
"/wp-content/uploads/top_n.jpg"
alt=
"名古屋オフィスのご案内"
></span>
<div
class=
"sectionBox_shadow"
>
<div
class=
"text officeText"
><a
href=
"tel:0525692915"
><span>
052-569-2915
</span></a>
<div
class=
"sectionBox_inner"
>
<p
class=
"add"
>
〒451-0045 名古屋市西区名駅1-1-17 名駅ダイヤメイテツビル5階
</p>
<div
class=
"sectionBox_header"
>
<dl>
<h3><a
href=
"
<?php
the_permalink
();
?>
"
>
<?php
echo
nl2br
(
post_custom
(
'linkText'
));
?>
<span
class=
"btnArrow"
></span></a></h3>
<dt><span>
営業日時
</span></dt>
<!-- /.sectionBox_header -->
</div>
<dd>
月・金曜日/10:00~15:00
<br>
<div
class=
"sectionBox_body"
>
土・日曜日/9:30~17:00
</dd>
<div
class=
"sectionBox_body_inner"
>
</div>
<p
class=
"img"
><img
src=
"
<?php
$image
=
wp_get_attachment_image_src
(
get_post_meta
(
$post
->
ID
,
'topBox_tmb'
,
true
),
'large'
);
echo
$image
[
0
];
?>
"
alt=
"
<?php
the_title
();
?>
"
></p>
<div
class=
"btn_nagoya-office"
>
<p
class=
"text"
>
<?php
echo
nl2br
(
post_custom
(
'TopSubject'
));
?>
</p>
<div
class=
"btnRd btnBox"
><a
href=
"
<?php
echo
home_url
();
?>
/about/nagoya-office.html"
><span
class=
"icon"
></span><span
class=
"btnText"
>
アクセスマップ
</span><span
class=
"btnArrow"
></span></a></div>
<!-- /.btn_member -->
<!-- /.sectionBox_body_inner -->
</div>
</div>
<!-- /.sectionBox_body -->
</div>
<!-- /.sectionBox_body_inner -->
<div
class=
"sectionBox_btm"
></div>
</div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_body -->
<!-- /.sectionBox_shadow -->
</div>
</div>
<!-- /.boxS -->
</div>
<div
class=
"sectionBox_btm"
></div>
<?php
endwhile
;
// end of the loop. ?>
<!-- /.sectionBox_inner -->
<?
php
wp_reset_postdata
();
?>
</div>
<!-- /.sectionArea -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.topixBox -->
</div>
<!-- /.inner -->
</div>
<!-- /.boxM -->
<!-- /mainContent -->
</div>
</div>
<h4
class=
"ttl_sp"
>
メニュー
</h4>
<div
class=
"sectionArea_boxS menuSBox"
>
<div
class=
"profileBox sectionBox boxS"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><a
href=
"
<?php
echo
home_url
();
?>
/profile/profile.html"
>
会員プロフィール
<span
class=
"btnArrow"
></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"img"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_07.jpg"
alt=
"会員プロフィール"
></p>
<p
class=
"text"
>
ダイヤモンドファミリークラブの会員は真剣に結婚を考えている方です。
</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<div
class=
"messageBox sectionBox boxS"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><a
href=
"
<?php
echo
home_url
();
?>
/message.html"
>
しあわせ通信
<span
class=
"btnArrow"
></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"img"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_101.jpg"
alt=
"しあわせ通信"
></p>
<p
class=
"text"
>
当クラブでのご交際からご成約への事例を紹介しています。
</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<div
class=
"Box sectionBox boxS bgGR"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><a
href=
"
<?php
echo
home_url
();
?>
/privacypolicy.html"
>
プライバシーポリシー
<span
class=
"btnArrow"
></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"img"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_14.jpg"
alt=
"プライバシーポリシー"
></p>
<p
class=
"text"
>
個人情報保護に関する方針及び取り扱いについて記載しています。
</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<!-- /.sectionArea -->
</div>
<!-- /.inner -->
</div>
<!-- /mainContent -->
</div>
<?php
get_footer
();
?>
<?php
get_footer
();
?>
\ No newline at end of file
wp-content/themes/dfc-template/index_test.php
0 → 100644
View file @
4d7d5cba
<?php
/**
* Template Name: [トップページ]
*/
get_header
();
?>
<!-- main -->
<div
id=
"mainVisual"
>
<div
class=
"shadow"
>
<div
class=
"inner"
>
<img
src=
"
<?php
bloginfo
(
'template_url'
);
?>
/images/mainVisual_780.png"
alt=
""
class=
"img780"
>
<img
src=
"
<?php
bloginfo
(
'template_url'
);
?>
/images/mainVisual.png"
alt=
"ダイヤモンドファミリークラブは三菱グループ社員の福利厚生と社会貢献を目的に設立した結婚紹介センターです"
class=
"imgPC"
>
<div
class=
"visualCopy"
>
<p><strong>
【重要なお知らせ】
</strong>
当クラブは2021年5月31日をもって業務を終了させて頂くこととなりました。
<br>
2020年12月1日以降業務終了までの6カ月間は現行会員の皆様の活動のみに限定し、新規入会は停止させて頂きますので、ご理解の程宜しくお願い致します。
</p>
<div
class=
"btn_member"
>
<?php
btnRd_link
(
'member'
);
?>
<!-- /.btn_member -->
</div>
</div>
<!-- /.inner -->
</div>
<!-- /.shadow -->
</div>
<!-- /.mainVisual -->
</div>
<div
id=
"mainContent"
>
<div
class=
"inner"
>
<h4
class=
"ttl_sp"
>
ご案内
</h4>
<div
class=
"topixBox sectionBox boxL accordion"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><span
class=
"icon"
></span>
トピックス
<span
class=
"linkText"
><a
href=
"
<?php
echo
home_url
();
?>
/topics.html"
>
トピックス一覧へ
</a></span><span
class=
"btnArrow"
></span></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<?php
$loop
=
new
WP_Query
(
array
(
"post_type"
=>
"topics"
,
"posts_per_page"
=>
3
,
"orderby"
=>
"date"
,
"order"
=>
"DESC"
));
if
(
$loop
->
have_posts
()
)
:
while
(
$loop
->
have_posts
())
:
$loop
->
the_post
();
?>
<?php
if
(
empty
(
$post
->
post_content
))
:
?>
<p><span
class=
"date"
>
<?php
the_time
(
'y.m.d'
);
?>
</span>
<?php
$days
=
30
;
//Newマーク表示の日数
$daysInt
=
(
$days
-
1
)
*
86400
;
$today
=
time
();
$entry
=
get_the_time
(
'U'
);
$dayago
=
$today
-
$entry
;
if
(
$dayago
<
$daysInt
)
{
$blogUrl
=
get_bloginfo
(
'template_url'
);
echo
'<span class="new">NEW</span>'
;
}
?>
<span
class=
"text"
>
<?php
the_title
();
?>
</span></p>
<?php
else
:
?>
<p><a
href=
"
<?php
the_permalink
()
?>
"
><span
class=
"date"
>
<?php
the_time
(
'y.m.d'
);
?>
</span>
<?php
$days
=
30
;
//Newマーク表示の日数
$daysInt
=
(
$days
-
1
)
*
86400
;
$today
=
time
();
$entry
=
get_the_time
(
'U'
);
$dayago
=
$today
-
$entry
;
if
(
$dayago
<
$daysInt
)
{
$blogUrl
=
get_bloginfo
(
'template_url'
);
echo
'<span class="new">NEW</span>'
;
}
?>
<span
class=
"text"
>
<?php
the_title
();
?>
</span></a></p>
<?php
endif
;
?>
<?php
endwhile
;
endif
;
?>
<h4
class=
"ttl_sp"
><span
class=
"linkText"
><a
href=
"
<?php
echo
home_url
();
?>
/topics.html"
>
トピックス一覧へ
</a></span></h4>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.topixBox -->
</div>
<div
class=
"sectionArea_boxM sectionArea_boxM_01"
>
<div
class=
"tokyo-officeBox sectionBox boxM accordion"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><span
class=
"icon"
></span>
東京オフィスのご案内
<span
class=
"btnArrow"
></span></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<span
class=
"topBox_tmb"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_01.jpg"
alt=
"東京オフィスのご案内"
></span>
<span
class=
"topBox_tmbS"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_01S.jpg"
alt=
"東京オフィスのご案内"
></span>
<div
class=
"text officeText"
><a
href=
"tel:0334058261"
><span>
03-3405-8261
</span></a>
<p
class=
"add"
>
〒107-0062 東京都港区南青山1-1-1 新青山ビル西館2階
</p>
<dl>
<dt><span>
営業日時
</span></dt>
<dd>
月・木・金・土・日曜日/9:00~17:00
<br>
水曜日/9:00~20:00
</dd>
</dl>
<p>
定休日/火曜・祝日(※土曜・日曜は祝日でも営業)
</p>
</div>
<div
class=
"btn_tokyo-office"
>
<div
class=
"btnRd btnBox"
><a
href=
"
<?php
echo
home_url
();
?>
/about/tokyo-office.html"
><span
class=
"icon"
></span><span
class=
"btnText"
>
アクセスマップ
</span><span
class=
"btnArrow"
></span></a></div>
<!-- /.btn_member -->
</div>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.topixBox -->
</div>
<div
class=
"nagoya-officeBox sectionBox boxM accordion"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><span
class=
"icon"
></span>
名古屋オフィスのご案内
<span
class=
"btnArrow"
></span></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<span
class=
"topBox_tmb"
><img
src=
"/wp-content/uploads/n_office.jpg"
alt=
"名古屋オフィスのご案内"
></span>
<span
class=
"topBox_tmbS"
><img
src=
"/wp-content/uploads/top_n.jpg"
alt=
"名古屋オフィスのご案内"
></span>
<div
class=
"text officeText"
><a
href=
"tel:0525692915"
><span>
052-569-2915
</span></a>
<p
class=
"add"
>
〒451-0045 名古屋市西区名駅1-1-17 名駅ダイヤメイテツビル5階
</p>
<dl>
<dt><span>
営業日時
</span></dt>
<dd>
月・金曜日/10:00~15:00
<br>
土・日曜日/9:30~17:00
</dd>
</div>
<div
class=
"btn_nagoya-office"
>
<div
class=
"btnRd btnBox"
><a
href=
"
<?php
echo
home_url
();
?>
/about/nagoya-office.html"
><span
class=
"icon"
></span><span
class=
"btnText"
>
アクセスマップ
</span><span
class=
"btnArrow"
></span></a></div>
<!-- /.btn_member -->
</div>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.topixBox -->
</div>
<!-- /.boxM -->
</div>
<h4
class=
"ttl_sp"
>
メニュー
</h4>
<div
class=
"sectionArea_boxS menuSBox"
>
<div
class=
"profileBox sectionBox boxS"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><a
href=
"
<?php
echo
home_url
();
?>
/profile/profile.html"
>
会員プロフィール
<span
class=
"btnArrow"
></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"img"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_07.jpg"
alt=
"会員プロフィール"
></p>
<p
class=
"text"
>
ダイヤモンドファミリークラブの会員は真剣に結婚を考えている方です。
</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<div
class=
"messageBox sectionBox boxS"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><a
href=
"
<?php
echo
home_url
();
?>
/message.html"
>
しあわせ通信
<span
class=
"btnArrow"
></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"img"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_101.jpg"
alt=
"しあわせ通信"
></p>
<p
class=
"text"
>
当クラブでのご交際からご成約への事例を紹介しています。
</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<div
class=
"Box sectionBox boxS bgGR"
>
<div
class=
"sectionBox_shadow"
>
<div
class=
"sectionBox_inner"
>
<div
class=
"sectionBox_header"
>
<h3><a
href=
"
<?php
echo
home_url
();
?>
/privacypolicy.html"
>
プライバシーポリシー
<span
class=
"btnArrow"
></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div
class=
"sectionBox_body"
>
<div
class=
"sectionBox_body_inner"
>
<p
class=
"img"
><img
src=
"http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_14.jpg"
alt=
"プライバシーポリシー"
></p>
<p
class=
"text"
>
個人情報保護に関する方針及び取り扱いについて記載しています。
</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div
class=
"sectionBox_btm"
></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<!-- /.sectionArea -->
</div>
<!-- /.inner -->
</div>
<!-- /mainContent -->
</div>
<?php
get_footer
();
?>
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