Hello,
It depends on where you want to display slider. If you want to replace the home page slider go to Pages > edit the front page > edit the Revolution slider element and just choose the slider you want to show, there is no need to use that code.
Regards