Adding a text slider to secondary navigation menu


I want a rotating text slider to on my secondary navigation area to display site wide news.I'm using this plugin called text slider to do this.

The problem is I don't know how to integrate this plugin to the secondary navigation area. There's a code <?php text_slider(); ?> that allows to integrate this to the theme.

I'm using divi theme by the way.