If you want to use the PHP function "add_revslider" in your code please make sure to activate "Load JS Libraries Globally" and/or add the current page to the "Pages to Load SR JS Libraries" option in the "Global Settings" of Slider Revolution.
There is nothing to show here!