Sunday, June 30, 2013

[Help Wordpress] Slider post auto update - follow up question for multiple slideshows


Slider post auto update - follow up question for multiple slideshows



I have added this to my theme functions;


function rs_clear_cache() {
     delete_transient( 'new-royalslider-posts-123' );
}
add_action( 'save_post', 'rs_clear_cache' );


to get my posts to auto update. How would I have multiple slide shows update. Would I just repeat this line:


delete_transient( 'new-royalslider-posts-123' );


for each slideshow id? I can get it to work for one slideshow, but need it to work for 5.



Read more

help.dimsemenov.com



No comments:

Post a Comment

Search

Other post