Page Excerpt
-
Hi,
I’ve just started using WordPress a few days ago. I ran into a problem of creating an excerpt of a page. I know there are plugins which might assist with this problem but I was told not to use plugins. So I found online that there is this code:add_action(‘init’,’my_add_excerpts_to_pages’);
function my_add_excerpts_to_pages(){
add_post_type_support(‘page’,’excerpt’);
}helps the excerpt to work on page which it does the same to posts too. I’m wondering how to code the loop.php to display the excerpt. It will be good if answers can be simplified as I’m kind of confused with what’s WordPress Codex given me.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Page Excerpt’ is closed to new replies.