質問編集履歴

1

コード内容を更新しました。

2021/02/07 08:45

投稿

ryouhei-inamoto
ryouhei-inamoto

スコア2

test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,83 @@
43
43
  - footer.php
44
44
 
45
45
  - functions.php
46
+
47
+
48
+
49
+ ### コード
50
+
51
+ - contact.php
52
+
53
+ <?php
54
+
55
+ /*
56
+
57
+ Template Name: お問い合わせ
58
+
59
+ */
60
+
61
+ ?>
62
+
63
+
64
+
65
+ <?php get_header(); ?>
66
+
67
+
68
+
69
+ <?php get_footer(); ?>
70
+
71
+
72
+
73
+ - header.php
74
+
75
+ <!DOCTYPE html>
76
+
77
+ <html lang="ja">
78
+
79
+ <head>
80
+
81
+ <meta charset="UTF-8">
82
+
83
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
84
+
85
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
86
+
87
+ <title>kakuusaito</title>
88
+
89
+ <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>">
90
+
91
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
92
+
93
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
94
+
95
+ <?php wp_head(); ?>
96
+
97
+ </head>
98
+
99
+ <body>
100
+
101
+ <header>
102
+
103
+ <div class="header-in">
104
+
105
+ <div class="title">
106
+
107
+ <div class="logo"><img src="<?php bloginfo('template_url');?>/image/0e77bc456a.jpg" alt="ryouhei"><a>イナモト リョウヘイ</a></div>
108
+
109
+
110
+
111
+ <div class="headcontact">
112
+
113
+ <div class="contactpc startpoint">
114
+
115
+ <p class="txtxs"><a href="https://twitter.com/inamoto_ryouhei">twitter</a></p>
116
+
117
+ </div>
118
+
119
+ </div>
120
+
121
+ </div>
122
+
123
+ </div>
124
+
125
+ </header>