• I am looking to add this plugin to my clients website. Is it possible to restrict posts shown to that from a specific category?

    Thanks, Chris

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Scott Anderson

    (@room34alt)

    Hi, thanks for your interest in the plugin!

    Yes, you can restrict the list to posts from just one or more specific categories rather than the entire blog. That’s under the Additional Options toggle in the widget configuration.

    Thread Starter rodeboy

    (@rodeboy)

    Brilliant Scott. Thank you for the very prompt response. Finally, will it only display posts from that particular day or can it be ‘upcoming dates’ and then restricted to the number to display?

    Plugin Author Scott Anderson

    (@room34alt)

    There are two date options: showing posts that were made on today’s date in previous years, or — when you’re on a single post page — other posts from that post’s date (in the same or other years). There’s not an option to display posts from an arbitrary date.

    Yes, you can control how many posts display.

    Thread Starter rodeboy

    (@rodeboy)

    Thanks again Scott. I’ll give it a go and get back to you if i have any further queries.

    Thread Starter rodeboy

    (@rodeboy)

    Hi Scott, I am continuing to set up the best settings as I use this great plugin on this site. There isn’t an entry for every day, so I am testing to ensure they appear on the correct day and are removed from the widget (at the bottom of each page) the following day. The first entry was 18th January and after clearing the cache it appeared. However it did not disappear the following day until i cleared the cache. Is there a setting I need to amend either in the plugin or in the Litespeed Cache plugin I am using to ensure that the stories appear and disappear correctly? Thanks.

    Plugin Author Scott Anderson

    (@room34alt)

    At this point the plugin is not designed to handle caching plugins very well.

    LiteSpeed has a feature called ESI (Edge Side Includes) that lets you selectively exclude portions of a page from caching, but I’m not sure how easy or difficult that is to set up.

    I may be able to bypass that by using AJAX to load the On This Day content. I’ll investigate how much work it would take to get that added. My much more widely used ICS Calendar plugin has AJAX loading, so I can probably pillage some of that code to get it working without too much effort.

    Thread Starter rodeboy

    (@rodeboy)

    You’re a star Scott. Thanks for the VERY quick reply! At the moment I have set up the Litespeed Cache plugin to purge http://www.petersargent.co.uk URL daily at 00:05 (well I think I have!) Is that the best way forward at the moment?

    Plugin Author Scott Anderson

    (@room34alt)

    Purging the cache daily should work. You’ll just want to make sure the timezone is set correctly.

    A couple of things to note:

    If this is using WP-Cron (the default) any times like that are only approximate. Websites can’t arbitrarily run code on their own; they can only run when someone requests a page. (WP-Cron runs at the end of a user page request and fires off any tasks that have come due.)

    If you’re doing this with a “real” cron job at the server OS level, you’ll want to be sure the server’s timezone is also set correctly, or adjust the timing of the cron job accordingly.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.