Have you found a solution to this? Madeinua, how do you clean the transient manually? Sorry if this is a silly question but I am new to WordPress in general and I have this same issue. I update posts but they don’t update in the [series]. Otherwise, I like this plugin a lot.
Corok, yes, append this code to functions.php in your theme:
// fix EG-Series cache
if(defined('EGS_PLUGIN_NAME')) {
add_action('save_post', 'publish_post_eg_series_fix');
function publish_post_eg_series_fix() {
delete_transient(EGS_PLUGIN_NAME.'-series');
}
}
Wow, that was quick. Thank you very much for this!
So, is it on a change to the post that causes this code to activate/run? i.e. when I change the post title and save for example?
Does this code work with the WP 3.8? I only ask because I am not able to get it to update. I am a rookie so that is my biggest hurdle in not knowing what to look for or what I should be doing. Thanks again for your help!
Ahh, maybe it is because I am not seeing “seriesposts” update but I do see the “series” update on the frontend.
Is there code you have developed for seriesposts as well?
I figured it out. Thanks again for the help!
Well I thought I figured it out, but seriesposts do not update when a post is removed from a series. It just stays in the transient and stays listed within an post that uses that same seriespost. 🙁
Hi
I included the cache cleaning after post edition in the version 2.1.1.
Emmanuel.