Slider Revolution exclude from a Page

Posted in: Newspaper
Post count: 48

Hello,
ist it possible Slider Revolution to exclude only from one (Landing)-Page?

Thank You
Achimzwo

Post count: 23312

Hello Achimzwo,

Unfortunately, I do not exactly understand what you mean. Firat of all, please notice that our theme does not have any landing page available and secondly, the Revolution Slider could be used in Visual Composer and from there you can add it where you want.

Thanks for your understanding!

Post count: 48

Hi Catalin,
the Code for Rev-Slider did I embed in the header-style-10.php, so there is visible in all Posts, Pages and so on.
The “Landing” Page is more an Google optimated Page. I´ve create it to get better Google PageSpeed Insights. In this Case I´ve build an verry small Page with an special Keyworth Text and only the newest Postings are shown on this. The Score is 87/100 but the Revolution Slider Javascript make this Page slow. I think without the Rev-Slider the Score would be over 94/100.
Maybe an .php Code can exclude the Rev-Slider from this Page.

Thank You
Achimzwo

Post count: 23312

Hello Achimzwo,

If you want to exclude the code of Revolution Slider for your Landing Page, please notice that you will have to add some conditions through code, in header-style-10.php where you have added the shortcode for Revolution Slider. As a basic example, you can use this -> if ( ! is_page(page_id)){ echo do_shortcode('shortcode'); } For more references about this function, please refer here -> https://developer.wordpress.org/reference/functions/is_page/
If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.