• Hi,

    we use the pip plugin to show pages categorized with “startseite” to show on our static start page. I use the following shortcode for that:
    [ic_add_posts category=’Startseite,startseite’ ignore_sticky_posts=’no’ date=’week’ template=’posts_loop_template_full_header.php’]

    This has worked for quite some time now, but it seems it fails after the new year. New posts that are created today do not show up on the page anymore. If I remove the date=’week’ attribute, they show up immediately. If I change ther creataion date back to last year, they show up as well.

    Regards

    Benny

    • This topic was modified 3 years, 10 months ago by raskil.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eric Amundson

    (@sewmyheadon)

    Hi @raskil – Thanks for reporting this and we’ll certainly check it out.

    I don’t know that I’ve ever used date='week' and I can see our documentation could definitely be improved here.

    I’ll have one of our other developers check me on this but I think that it’s going by the week number of the year. So, since Jan 1 is both in week 53 of 2020 and week 1 of 2021, it’s only looking at today, Jan 1.

    In the meantime, can you tell me what happens when you try:

    1. date='week-1' and
    2. date='today-7'

    If my theory is right, you might be able to temporarily work around this by using a different argument with your shortcode, at least for the first week. Maybe something like:

    [ic_add_posts from_date='25-12-2020']

    Let me know how it goes. We should be able to confirm this by early next week.

    Thread Starter raskil

    (@raskil)

    Hi @sewmyheado,

    thanks for you quick reply. I’ve tried your suggestions. Using ‘week-1’ does not work. Using ‘today-7′ does not work. Using from_date=’25-12-2020’ does indeed show the post from today.
    Raskil

    Regards

    • This reply was modified 3 years, 10 months ago by raskil.

    Hi @raskil,

    Thanks for the ticket and for informing us know about the issue here.
    We have found the solution and currently, we are testing the new code. We will be releasing an update soon.

    Regards,
    Team Ivycat

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Posts not showing after new year when used with the date attribute’ is closed to new replies.