これは簡単な修正だと確信していますが、私はプログラマーではありません。WordPressブログは投稿のタイトル、メタデータ、またはコメントを表示しません
3年または4年前の私のクライアントのワードプレスサイトをコード化しました。彼らは自分のサイトにブログを追加するように頼んだ。
いくつかの奇妙なことが起こっているが、私はそれがどうして完全にわからない。
あなたがに行く場合:http://firstcalliowa.com/blog/
あなたはそれが記事のタイトルやメタデータを表示していない見ることができます。投稿内容だけ。だから、これは興味深いですhttp://firstcalliowa.com/author/austinhudspeth/
:
また、にアクセスしてください。ここでは、投稿のタイトルを表示してこのリンクを編集できます。投稿のタイトルはリンクされていませんが、修正することができます。興味深い部分は、私はまだ作成者のファイルがありません。だから、私はなぜここでもっと正確に見えているのか分からないが、最初のリンクの投稿タイトルを引き上げることはない。
` <div id="content">
<div id="content_container">
<!-- Start the Loop. -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- Test if the current post is in category 3. -->
<!-- If it is, the div box is given the CSS class "post-cat-three". -->
<!-- Otherwise, the div box is given the CSS class "post". -->
<?php if (in_category('3')) { ?>
<div class="post-cat-three">
<?php } else { ?>
<div class="post">
<?php } ?>
<!-- Display the Title as a link to the Post's permalink. -->
<h2><?php the_title(); ?></h2>
<!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
<small><?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small>
<!-- Display the Post's content in a div box. -->
<div class="entry">
<?php the_content(); ?>
</div>
<!-- Display a comma separated list of the Post's Categories. -->
<p class="postmetadata">Posted in <?php the_category(', '); ?></p>
</div> <!-- closes the first div box -->
<!-- Stop The Loop (but note the "else:" - see next line). -->
<?php endwhile; else: ?>
<!-- The very first "if" tested to see if there were any Posts to -->
<!-- display. This "else" part tells what do if there weren't any. -->
<p>Sorry, no posts matched your criteria.</p>
<!-- REALLY stop The Loop. -->
<?php endif; ?>
</div>`
こちらに行く場合:http://firstcalliowa.com/sample-blog-post/ コメントヘッダーが赤で表示されます。これはFacebookのコメントをロードする必要があります。しかし、それはありません。私は4つまたは5つの異なるFacebookのコメントプラグインを試しましたが、どれも表示されていません。私はすべてが表示されていないことに関連しているので、これは同様の関連問題であると推測しています。 ご協力いただければ幸いです! –