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

質問編集履歴

2

ソースコード追加しました。

2019/07/25 12:22

投稿

sakana
sakana

スコア18

title CHANGED
File without changes
body CHANGED
@@ -53,7 +53,94 @@
53
53
 
54
54
  ```
55
55
 
56
+ ### 追加
57
+ ソースコードです。
58
+ ```ここに言語名を入力
56
59
 
60
+ <!doctype html>
61
+ <html lang="ja">
62
+ <head>
63
+ <!-- Required meta tags -->
64
+ <meta charset="utf-8">
65
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
66
+ <!-- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> -->
67
+ <link name="viewport" rel="stylesheet" href="http://localhost:8888/wp-content/themes/eden/style.css" media="screen and (max-width:900px)">
68
+ <!-- Bootstrap CSS -->
69
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
70
+ <link rel="stylesheet" href="http://localhost:8888/wp-content/themes/eden/style.css">
71
+ <link rel="stylesheet" href="http://localhost:8888/wp-content/themes/eden/thanks.css" type="text/css" />
72
+ <!-- font awesome -->
73
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
74
+
75
+ <title>EDEN | 北海道・帯広市のフリーランスエンジニアによるプログラミングスクール</title>
76
+ <script>
77
+ ( function() {
78
+ var query = document.location.search;
79
+
80
+ if ( query && query.indexOf( 'preview=true' ) !== -1 ) {
81
+ window.name = 'wp-preview-76';
82
+ }
83
+
84
+ if ( window.addEventListener ) {
85
+ window.addEventListener( 'unload', function() { window.name = ''; }, false );
86
+ }
87
+ }());
88
+ </script>
89
+ <link rel='dns-prefetch' href='//s.w.org' />
90
+ <script type="text/javascript">
91
+ window._wpemojiSettings = {"baseUrl":"https://s.w.org/images/core/emoji/12.0.0-1/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/12.0.0-1/svg/","svgExt":".svg","source":{"concatemoji":"http://localhost:8888/wp-includes/js/wp-emoji-release.min.js?ver=5.2.2"}};
92
+ !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
93
+ </script>
94
+ <style type="text/css">
95
+ img.wp-smiley,
96
+ img.emoji {
97
+ display: inline !important;
98
+ border: none !important;
99
+ box-shadow: none !important;
100
+ height: 1em !important;
101
+ width: 1em !important;
102
+ margin: 0 .07em !important;
103
+ vertical-align: -0.1em !important;
104
+ background: none !important;
105
+ padding: 0 !important;
106
+ }
107
+ </style>
108
+ <link rel='stylesheet' id='dashicons-css' href='http://localhost:8888/wp-includes/css/dashicons.min.css?ver=5.2.2' type='text/css' media='all' />
109
+ <link rel='stylesheet' id='admin-bar-css' href='http://localhost:8888/wp-includes/css/admin-bar.min.css?ver=5.2.2' type='text/css' media='all' />
110
+ <link rel='stylesheet' id='wp-block-library-css' href='http://localhost:8888/wp-includes/css/dist/block-library/style.min.css?ver=5.2.2' type='text/css' media='all' />
111
+ <script type='text/javascript' src='http://localhost:8888/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
112
+ <script type='text/javascript' src='http://localhost:8888/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
113
+ <link rel='https://api.w.org/' href='http://localhost:8888/wp-json/' />
114
+ <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/xmlrpc.php?rsd" />
115
+ <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/wp-includes/wlwmanifest.xml" />
116
+ <meta name="generator" content="WordPress 5.2.2" />
117
+ <link rel="canonical" href="http://localhost:8888/testok/" />
118
+ <link rel='shortlink' href='http://localhost:8888/?p=76' />
119
+ <link rel="alternate" type="application/json+oembed" href="http://localhost:8888/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%3A8888%2Ftestok%2F" />
120
+ <link rel="alternate" type="text/xml+oembed" href="http://localhost:8888/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%3A8888%2Ftestok%2F&#038;format=xml" />
121
+ <style type="text/css" media="print">#wpadminbar { display:none; }</style>
122
+ <style type="text/css" media="screen">
123
+ html { margin-top: 32px !important; }
124
+ * html body { margin-top: 32px !important; }
125
+ @media screen and ( max-width: 782px ) {
126
+ html { margin-top: 46px !important; }
127
+ * html body { margin-top: 46px !important; }
128
+ }
129
+ </style>
130
+ </head>
131
+
132
+
133
+
134
+
135
+ <div class="thanks">
136
+ <div class="container">
137
+ <h1 class="text-center">お問合せありがとうございます。</h1>
138
+ <p>ご記入して頂いた情報は無事に送信されました。</p>
139
+ <p>確認次第、ご連絡させて頂きますのでしばらくお待ちください。</p>
140
+ <p><a href="http://localhost:8888/" title="">トップページに戻る</a></p>
141
+ </div>
142
+ </div>
143
+ ```
57
144
  ### 補足情報(FW/ツールのバージョンなど)
58
145
  ![```ここに言語を入力
59
146
  イメージ説明

1

header.phpを追加しました。

2019/07/25 12:22

投稿

sakana
sakana

スコア18

title CHANGED
File without changes
body CHANGED
@@ -14,6 +14,46 @@
14
14
  どのようにして、該当箇所を編集すれば良いのでしょうか。
15
15
  ご教授よろしくお願いします。
16
16
 
17
+
18
+ ```ここに言語名を入力
19
+ <?php
20
+ /**
21
+ * The header for our theme
22
+ *
23
+ * This is the template that displays all of the <head> section and everything up until <div id="content">
24
+ *
25
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
26
+ *
27
+ * @package WordPress
28
+ * @subpackage Twenty_Seventeen
29
+ * @since 1.0
30
+ * @version 1.0
31
+ */
32
+
33
+ ?>
34
+
35
+ <!doctype html>
36
+ <html lang="ja">
37
+ <head>
38
+ <!-- Required meta tags -->
39
+ <meta charset="utf-8">
40
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
41
+ <!-- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> -->
42
+ <link name="viewport" rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" media="screen and (max-width:900px)">
43
+ <!-- Bootstrap CSS -->
44
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
45
+ <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>">
46
+ <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/thanks.css" type="text/css" />
47
+ <!-- font awesome -->
48
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
49
+
50
+ <title>EDEN | 北海道・帯広市のフリーランスエンジニアによるプログラミングスクール</title>
51
+ <?php wp_head(); ?>
52
+ </head>
53
+
54
+ ```
55
+
56
+
17
57
  ### 補足情報(FW/ツールのバージョンなど)
18
58
  ![```ここに言語を入力
19
59
  イメージ説明