[英]Wordpress full post showing
當我在wordpress上發布內容時,它會顯示完整的帖子。 我想隱藏整個帖子並顯示一些行。 因此,用戶單擊“閱讀更多”鏈接,將顯示完整帖子。 請任何想法或插件。
我的網站: http : //mlmpublicnews.com/
安裝自動閱讀更多生成器 。 它將隱藏第一張圖片或第一段之后的所有內容,直到單擊鏈接。
參見一些示例。 可能會派上用場..
http://codex.wordpress.org/Customizing_the_Read_More
http://www.wikihow.com/Add-Read-More-to-Wordpress
希望能幫助到你..
使用the_excerpt()代替the_content()
<?php
if ( have_posts() ) while ( have_posts() ) : the_post();
the_excerpt();
endwhile;
?>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.