how to show one artical from a category and rest of articals as an archive in wordpress

I am new to wordpress, I have created several posts with category newsletter type.
Now It renders all the newsletter on the newsletter tab. What I want to do is to show the latest newsletter only and rest of the newsletters as archive list.

What I can do is , I have decided to create a new template page for this and render all newsletters.
But how to limit to latest newsletter and show rest of them as archive list?

Read More

following method will give archieved list but I want to select only articales related to catergory newsletter.

wp_get_archives( array( 'type' => 'daily', 'limit' => 15 ) );

Related posts

Leave a Reply

1 comment