Skip to content

Display A Post Slider Anywhere

Display A Post Slider Anywhere

function my_category_slider( $slider ) { // Display the "test" revolution on category archives if ( is_category() ) { $slider = '[rev_slider alias="test"]'; } // Return specific slider for all pages if $slider not defined already if ( is_page() && !…

Read more

Custom Meta Viewport Tag

This snippet shows how you can alter the default meta viewport tag in the theme. By default the theme uses a responsive tag (the snippet example shows the default tag used by the theme) which also allows zooming into the…

Read more
Back To Top