質問編集履歴

2

コード修正

2020/03/16 14:00

投稿

Kousukeh10969
Kousukeh10969

スコア20

test CHANGED
File without changes
test CHANGED
@@ -38,6 +38,10 @@
38
38
 
39
39
  -page-archive.php
40
40
 
41
+ -single.php
42
+
43
+ -style.css
44
+
41
45
 
42
46
 
43
47
  ###追記

1

コードの追加。追記。

2020/03/16 14:00

投稿

Kousukeh10969
Kousukeh10969

スコア20

test CHANGED
File without changes
test CHANGED
@@ -20,6 +20,178 @@
20
20
 
21
21
 
22
22
 
23
+ ###階層
24
+
25
+ theme名
26
+
27
+ -front-page.top
28
+
29
+ -index.php
30
+
31
+ -header.php
32
+
33
+ -header-2.php
34
+
35
+ -footer.php
36
+
37
+ -page-menu.php
38
+
39
+ -page-archive.php
40
+
41
+
42
+
43
+ ###追記
44
+
45
+ ▼header.php
46
+
47
+ ```php
48
+
49
+ <!DOCTYPE html>
50
+
51
+ <html lang="ja">
52
+
53
+ <head>
54
+
55
+ <meta charset="UTF-8">
56
+
57
+ <meta content="IE=edge" http-equiv="X-UA-Compatible">
58
+
59
+ <meta content="width=device-width" name="viewport">
60
+
61
+ <title>Bar unsung</title>
62
+
63
+ <link href="<?php echo get_template_directory_uri(); ?>/resources/styles/Components/header.css" rel="stylesheet">
64
+
65
+ <link href="<?php echo get_template_directory_uri(); ?>/resources/styles/Components/footer.css" rel="stylesheet">
66
+
67
+ <link href="<?php echo get_template_directory_uri(); ?>/resources/styles/Pages/index.css" rel="stylesheet">
68
+
69
+ <link href="https://use.typekit.net/son4boc.css" rel="stylesheet">
70
+
71
+ <script src="<?php echo get_template_directory_uri(); ?>/resources/vendor/jquery/jquery-3.3.1.min.js"></script>
72
+
73
+ <script src="<?php echo get_template_directory_uri(); ?>/resources/vendor/jquery/jquery.bgswitcher.js"></script>
74
+
75
+ <script src="<?php echo get_template_directory_uri(); ?>/resources/scripts/Components/header.js"></script>
76
+
77
+ <script src="<?php echo get_template_directory_uri(); ?>/resources/scripts/Pages/index.js"></script>
78
+
79
+ <?php wp_head(); ?>
80
+
81
+ </head>
82
+
83
+ <body>
84
+
85
+ <div class="Page">
86
+
87
+ <div class="HeaderLayer">
88
+
89
+ <div class="HeaderSection" id="Top"
90
+
91
+ style="background:url('<?php echo get_template_directory_uri(); ?>/resources/images/Components/Header_bg02.png') no-repeat center; background-size: cover;">
92
+
93
+ <div class="HeaderSection-Inner"><a class="HeaderSection-Inner-LogoBox" href="<?php echo esc_url( home_url( '/' ) ); ?>"><img
94
+
95
+ alt="ロゴ" class="HeaderSection-Inner-LogoBox-Img" src="<?php echo get_template_directory_uri(); ?>/resources/images/Components/Logo.gif"></a>
96
+
97
+ <div class="HeaderSection-Inner-NavGroup"><a class="HeaderSection-Inner-NavGroup-NavItem" href="#Music">MUSIC</a><a
98
+
99
+ class="HeaderSection-Inner-NavGroup-NavItem" href="#Menu">MENU</a><a
100
+
101
+ class="HeaderSection-Inner-NavGroup-NavItem" href="#Gallery">GALLERY</a><a
102
+
103
+ class="HeaderSection-Inner-NavGroup-NavItem" href="#Blog">BLOG</a><a
104
+
105
+ class="HeaderSection-Inner-NavGroup-NavItem" href="#Access">ACCESS</a><a
106
+
107
+ class="HeaderSection-Inner-NavGroup-NavItem" href="#Contact">CONTACT</a><a
108
+
109
+ class="HeaderSection-Inner-NavGroup-Icon" href="https://www.facebook.com/unsung2019/"><img
110
+
111
+ class="HeaderSection-Inner-NavGroup-Icon-Img" src="<?php echo get_template_directory_uri(); ?>/resources/images/Components/facebook.png"></a>
112
+
113
+ </div>
114
+
115
+ </div>
116
+
117
+ </div>
118
+
119
+ <div class="HeaderSpSection">
120
+
121
+ <div class="HeaderSpSection-Inner"><a class="HeaderSpSection-Inner-LogoBox" href="<?php echo esc_url( home_url( '/' ) ); ?>"><img
122
+
123
+ class="HeaderSpSection-Inner-LogoBox-Img" src="<?php echo get_template_directory_uri(); ?>/resources/images/Components/Logo.gif"></a>
124
+
125
+ <div class="HeaderSpSection-Inner-SpMenuBox">
126
+
127
+ <div class="HeaderSpSection-Inner-SpMenuBox-Separator"></div>
128
+
129
+ <div class="HeaderSpSection-Inner-SpMenuBox-Separator"></div>
130
+
131
+ </div>
132
+
133
+ </div>
134
+
135
+ </div>
136
+
137
+ <div class="PagetopBtnGroup"><a class="PagetopBtnGroup-Btn"></a></div>
138
+
139
+ </div>
140
+
141
+ <div class="MenuLayer">
142
+
143
+ <div class="Menu">
144
+
145
+ <div class="MenuLayer-Inner">
146
+
147
+ <div class="MenuLayer-Inner-CardGroup"><a class="MenuLayer-Inner-CardGroup-CardItem"
148
+
149
+ href="#Menu">MENU</a><a
150
+
151
+ class="MenuLayer-Inner-CardGroup-CardItem" href="#Gallery">GALLERY</a><a
152
+
153
+ class="MenuLayer-Inner-CardGroup-CardItem" href="#Blog">BLOG</a><a
154
+
155
+ class="MenuLayer-Inner-CardGroup-CardItem" href="#Access">ACCESS</a><a
156
+
157
+ class="MenuLayer-Inner-CardGroup-CardItem" href="#Contact">CONTACT</a></div>
158
+
159
+ <a class="MenuLayer-Inner-Icon" href="https://www.facebook.com/unsung2019/"><img
160
+
161
+ class="MenuLayer-Inner-Icon-Img" src="<?php echo get_template_directory_uri(); ?>/resources/images/Components/facebook.png"></a></div>
162
+
163
+ </div>
164
+
165
+ </div>
166
+
167
+ ```
168
+
169
+
170
+
171
+ ▼front-page.php
172
+
173
+ ```php
174
+
175
+ <?php get_header(); ?>
176
+
177
+ <div class="BodyLayer">
178
+
179
+ <div class="BigImageSection"
180
+
181
+ style="background: url('<?php echo get_template_directory_uri(); ?>/resources/images/Pages/index/BigImageSection01.jpg'); no-repeat center; background-size: cover;">
182
+
183
+ <div class="BigImageSection-Inner"><h1 class="BigImageSection-Inner-TitleText">Bar Unsung</h1></div>
184
+
185
+ </div>
186
+
187
+
188
+
189
+ ```
190
+
191
+ **また、front-page.topを作成しているのに、エラーコードでindex.phpにエラーがあるおいうのは、本来優先して表示されるべきfront-page.phpが無視されているということでしょうか?**
192
+
193
+
194
+
23
195
  ご教授いただきたいです。よろしくお願い致します。
24
196
 
25
197