• Resolved mikesorako

    (@mikesorako)


    I wanted to know how to list linked post titles from a specific category in pages?

    So I have a POST category with an ID of 3, dedicated to a movie called Avatar, for example. I also wanted to make some PAGES dedicated to the movie Avatar. How would I get the last 5 POSTS (not the whole post, just the title which links to the full story) that I have made in regards to the movie show up on my PAGES?

    sorry for the caps of page and post. I just wanted to make it clear since I know I get confused with them sometimes.

    Thanks for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • MichaelH

    (@michaelh)

    You may not need a Page to display that set of posts as WordPress, when you attach a category to a post, will automatically give you access to that category via the native archive process. And Category Templates can be used to refine how those posts are displayed. So you could create a template called category-3.php that only display 5 posts and uses only the_title to display the post titles.

    But the Pages article has an example of displaying posts in pages.

    Also consider a plugin such as https://www.ads-software.com/extend/plugins/list-category-posts/

    Thread Starter mikesorako

    (@mikesorako)

    That plugin is exactly what I wanted! You’re the best MichaelH! Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List of Posts in Pages?’ is closed to new replies.