我試着通過將<?php the_excerpt(); ?>
更改爲<?php the_content(); ?>
來改變博客頁面以顯示整篇文章而不是摘錄。我在index.php文件和page-blog.php文件中進行了更改。wordpress博文中的奇怪格式
看起來不錯,直到我滾動到第三個名爲「粉筆畫」的帖子。應該位於帖子最底部並與作者,日期和評論信息相對應的欄位恰好位於帖子中間的視頻右下方。下一篇文章的標題也在那裏。
這是因爲這是在錯誤的地方吧的代碼:
<footer class="entry-meta">
<?php theretailer_posted_on(); ?>
<?php if (! post_password_required() && (comments_open() || '0' != get_comments_number())) : ?>
<span class="sep"> | </span>
<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'theretailer'), __('1 Comment', 'theretailer'), __('% Comments', 'theretailer')); ?></span>
<?php endif; ?>
<?php edit_post_link(__('Edit', 'theretailer'), '<span class="sep"> | </span><span class="edit-link">', '</span>'); ?>
</footer><!-- .entry-meta -->
人對如何解決它有什麼建議?
更多代碼,您需要列出帖子。 – vikingmaster
我剛更新了說明。讓我知道如果我應該把更多。 – user1761865
redreggae的答案修復它! – designtocode