added action:posts.loaded client-side hook