• Greetings all,

    I’m very new to php, so I don’t know how the code would look like. But my objective is to display the ‘Title’, ‘Excerpt’, and ‘Read more’ (text linking to page) from a ‘Page’ that’s created, instead of a ‘Post’.

    Any help would be much appreciated.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please post a site link and we can discuss these issues with a NEW user who knows what: ‘Title’, ‘Excerpt’, and ‘Read more’ are…

    I’m not sure if you can do that and it will depend on your theme, but in your page.php look for <?php the_content(); ?> and change it to <?php the_excerpt(); ?> and see what happens.

    I’m really not sure if it will work though. Excerpts are usually not used on pages.

    @christine

    You are right. That might not work for pages. A workaround would be to create a blog post and opt for the ‘no sidebar’ template so it looks like a page but works like a post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying Title, Excerpt, Read More from a Page’ is closed to new replies.