teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

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

2021/02/07 08:45

投稿

ryouhei-inamoto
ryouhei-inamoto

スコア2

title CHANGED
File without changes
body CHANGED
@@ -20,4 +20,44 @@
20
20
  - script.js
21
21
  - header.php
22
22
  - footer.php
23
- - functions.php
23
+ - functions.php
24
+
25
+ ### コード
26
+ - contact.php
27
+ <?php
28
+ /*
29
+ Template Name: お問い合わせ
30
+ */
31
+ ?>
32
+
33
+ <?php get_header(); ?>
34
+
35
+ <?php get_footer(); ?>
36
+
37
+ - header.php
38
+ <!DOCTYPE html>
39
+ <html lang="ja">
40
+ <head>
41
+ <meta charset="UTF-8">
42
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
43
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
44
+ <title>kakuusaito</title>
45
+ <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>">
46
+ <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">
47
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
48
+ <?php wp_head(); ?>
49
+ </head>
50
+ <body>
51
+ <header>
52
+ <div class="header-in">
53
+ <div class="title">
54
+ <div class="logo"><img src="<?php bloginfo('template_url');?>/image/0e77bc456a.jpg" alt="ryouhei"><a>イナモト リョウヘイ</a></div>
55
+
56
+ <div class="headcontact">
57
+ <div class="contactpc startpoint">
58
+ <p class="txtxs"><a href="https://twitter.com/inamoto_ryouhei">twitter</a></p>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </header>