Blog Archive and Blog Month

Taun Brown asked on February 15, 2017 21:59

I have made a blog and I am trying to use the Blog Archive Web Part but when ever someone clicks the link it takes them to the page for that month, but I have not found a way to have the repeater on that page only show that months post.

Help !

Recent Answers


Dawid Jachnik answered on February 16, 2017 08:50

Hello, You don't need to use Pot Archive web part, this web part only summarizes number of posts per past months. You can use Recent Posts web part and specify there number of recent posts you want to display or use regular Repeater web part and specify the condition as you need. For example limiting the month only to the last one.

0 votesVote for this answer Mark as a Correct answer

Taun Brown answered on February 16, 2017 17:53

OK Dawid I want to use that web part because it does sum the post per month and I have it displayed on a right sidebar. What I need to know is how to configure is when a user clicks the link for a month the blog month page repeater only shows that months post without having to modify the blog month path each new month.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on June 2, 2017 15:16

Taun, I'm confused as to what you are looking for? Do you want archived posts or posts for a specific month or do you want to filter the "archives" based on the current month?

If you only want to show posts for a given month then make a few modifications to your page template:

  • Set the Visibility property on the current repeater to only show for blog and blog post page types.
  • Then clone that repeater and set the Visibility property to only show for blog months.
  • Set the path in the cloned repeater to "./%"

This should filter the current posts out to the selected month.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.