Title: saitou_yyの返信 | WordPress.org 日本語

---

# saitou_yy

  [  ](https://ja.wordpress.org/support/users/saitou_yy/)

 *   [プロフィール](https://ja.wordpress.org/support/users/saitou_yy/)
 *   [作成したトピック](https://ja.wordpress.org/support/users/saitou_yy/topics/)
 *   [作成した返信](https://ja.wordpress.org/support/users/saitou_yy/replies/)
 *   [返信したトピック](https://ja.wordpress.org/support/users/saitou_yy/replied-to/)
 *   [エンゲージメント](https://ja.wordpress.org/support/users/saitou_yy/engagements/)
 *   [お気に入り](https://ja.wordpress.org/support/users/saitou_yy/favorites/)

 返信を検索

## フォーラムへの返信

4件の返信を表示中 - 1 - 4件目 (全4件中)

 *   フォーラム: [プラグイン](https://ja.wordpress.org/support/forum/plugins/)
    
   返信が含まれるトピック: [Ktai Entryでの投稿時、本文中～が反映されない](https://ja.wordpress.org/support/topic/ktai-entry%e3%81%a7%e3%81%ae%e6%8a%95%e7%a8%bf%e6%99%82%e3%80%81%e6%9c%ac%e6%96%87%e4%b8%ad%ef%bd%9e%e3%81%8c%e5%8f%8d%e6%98%a0%e3%81%95%e3%82%8c%e3%81%aa%e3%81%84/)
 *  トピック投稿者 [saitou_yy](https://ja.wordpress.org/support/users/saitou_yy/)
 * (@saitou_yy)
 * [15年、 2ヶ月前](https://ja.wordpress.org/support/topic/ktai-entry%e3%81%a7%e3%81%ae%e6%8a%95%e7%a8%bf%e6%99%82%e3%80%81%e6%9c%ac%e6%96%87%e4%b8%ad%ef%bd%9e%e3%81%8c%e5%8f%8d%e6%98%a0%e3%81%95%e3%82%8c%e3%81%aa%e3%81%84/#post-141602)
 * ご回答有難うございます。
 * 件名を個別に設定すれば解決する内容では御座いますが、送信前、後の記事を1行で保存
   したいという希望（本文のみの保存）があるため、お手数をお掛けし申し訳御座いません。
 * もし可能でありましたら、修正方法などを広く公開して頂けますと有難いです。
    よろしく
   お願い致します。
 *   フォーラム: [使い方全般](https://ja.wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   返信が含まれるトピック: [htmlサイトにWP記事を呼び出す方法](https://ja.wordpress.org/support/topic/html%e3%82%b5%e3%82%a4%e3%83%88%e3%81%abwp%e8%a8%98%e4%ba%8b%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95/)
 *  トピック投稿者 [saitou_yy](https://ja.wordpress.org/support/users/saitou_yy/)
 * (@saitou_yy)
 * [15年、 11ヶ月前](https://ja.wordpress.org/support/topic/html%e3%82%b5%e3%82%a4%e3%83%88%e3%81%abwp%e8%a8%98%e4%ba%8b%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95/#post-134197)
 * shokun0803さま＞ご指摘の通りです。修正しました。
 * wokamotoさま＞書き換えてみましたが、ダメでした。
 * kvexさま＞素人であるため、ご指摘いただいた内容が理解できずにおります。
 * たくさんのご回答ありがとうございいました。
    素人ではどうにも出来ないと痛感しま
   した。ＨＰ屋さんにお願いすることとしました。ありがとうございました。
 *   フォーラム: [使い方全般](https://ja.wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   返信が含まれるトピック: [htmlサイトにWP記事を呼び出す方法](https://ja.wordpress.org/support/topic/html%e3%82%b5%e3%82%a4%e3%83%88%e3%81%abwp%e8%a8%98%e4%ba%8b%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95/)
 *  トピック投稿者 [saitou_yy](https://ja.wordpress.org/support/users/saitou_yy/)
 * (@saitou_yy)
 * [15年、 11ヶ月前](https://ja.wordpress.org/support/topic/html%e3%82%b5%e3%82%a4%e3%83%88%e3%81%abwp%e8%a8%98%e4%ba%8b%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95/#post-134188)
 * 過去記事含め、チャレンジしてみましたが、思うようにいきません。
    現在、[http://ja.forums.wordpress.org/topic/1918?replies=6](http://ja.forums.wordpress.org/topic/1918?replies=6)
   などを参考にし、次のようにしました。
 *     ```
       <?php require('./blog/wp-load.php '); ?>
       <?xml version="1.0" encoding="shift_jis"?>
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=shift_jis" />
       <meta http-equiv="Content-Style-Type" content="text/css" />
       <title>タイトル</title>
       <link href="style.css" rel="stylesheet" type="text/css" />
       </head>
   
       <body>
       <div id="container">
   
       <div id="contents">
   
       <div id="main">
   
       <h2>呼び出し</h2>
       <?php
       $posts = get_posts("numberposts=5&category=&orderby=post_date&offset=0");
       foreach ($posts as $post):
       setup_postdata($post);
       ?>
       <li><?php the_time('Y.m.d') ?>　<a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
       <?php endforeach; ?>
   
       </div>
   
       <div id="side">
       </div>
   
       <div id="footer">
       </div>
   
       </div>
   
       </div>
       </body>
       </html>
       ```
   
 * ＜li＞の”・”が表示されるだけの状態です。
    サイトの構成は、 hoge.com/index.html
   が上記ソースです。
 * wordpressは
    hoge.com/blog/　に設置しています。
 * ここでは、
    hoge.com/blog/koushin/　内の1記事本文だけをindex.html上で表示させ
   たいです。
 * お手数お掛けしますが、ご教授頂ければと思います。
    ※.htaccessで、
 *     ```
       <Files index.html>
       AddType application/x-httpd-php .html
       </Files>
       ```
   
 * を書き込み、index.htmlファイルと同列に配置してあります。
 *   フォーラム: [使い方全般](https://ja.wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   返信が含まれるトピック: [htmlサイトにWP記事を呼び出す方法](https://ja.wordpress.org/support/topic/html%e3%82%b5%e3%82%a4%e3%83%88%e3%81%abwp%e8%a8%98%e4%ba%8b%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95/)
 *  トピック投稿者 [saitou_yy](https://ja.wordpress.org/support/users/saitou_yy/)
 * (@saitou_yy)
 * [15年、 11ヶ月前](https://ja.wordpress.org/support/topic/html%e3%82%b5%e3%82%a4%e3%83%88%e3%81%abwp%e8%a8%98%e4%ba%8b%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95/#post-134187)
 * kvexさま＞wp-load.php を Require。調べながら挑戦してみます。ご教授ありがとう御座
   います。
 * shokun0803さま＞確かに仰せの通りです。今回の内容もひとつの勉強と考え少しでもwordpress
   に強くなれたらいいなと思っています。投稿ありがとう御座います。
 * > wp-load.php を Require
 * で挑戦してみます。上手くいかなかった際には過去の質問と回答も参考にさせていただきます。

4件の返信を表示中 - 1 - 4件目 (全4件中)