當我在wordpress上發佈的東西,它顯示完整的帖子。我想隱藏完整的文章並顯示一些行。因此,用戶點擊閱讀更多鏈接的全文將顯示。 PLZ任何想法或插件。WordPress的全文顯示
我的網站:http://mlmpublicnews.com/
當我在wordpress上發佈的東西,它顯示完整的帖子。我想隱藏完整的文章並顯示一些行。因此,用戶點擊閱讀更多鏈接的全文將顯示。 PLZ任何想法或插件。WordPress的全文顯示
我的網站:http://mlmpublicnews.com/
安裝automatic read more generator。它會隱藏第一張圖片或第一段後面的所有內容,直到鏈接被點擊。
查看這些例子。可能會得心應手..
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;
?>
使用SUBSTR ()函數 – 2013-03-25 11:10:16