Menu icon Foundation
Display multiple Orbit sliders if statement

Hello Guys!
I would like to add multiple Orbit sliders displyed in the header.php.
Only one slider will diplayed at the time according to the page ID users are visting at the very moment.

In my code example is what I wrote and it doesn't work, can You correct my mistake?

Thanks in advance!

<?php
         if (is_page(112){
          get_template_part('partials/slider3');
         } 
         elseif (is_page(110)) {
          get_template_part('partials/slider2');
         }

   ?>
            

         

OrbitPHP

Hello Guys!
I would like to add multiple Orbit sliders displyed in the header.php.
Only one slider will diplayed at the time according to the page ID users are visting at the very moment.

In my code example is what I wrote and it doesn't work, can You correct my mistake?

Thanks in advance!

<?php
         if (is_page(112){
          get_template_part('partials/slider3');
         } 
         elseif (is_page(110)) {
          get_template_part('partials/slider2');
         }

   ?>
            

         
Alexander Assimidis over 5 years ago

You have to get the variable before you do a if else

Lisa Anvice 10 months ago

You can actually use FRP bypass apk to remove lock from your Samsung device. This is the best guide when you need to remove the frp lock from any android device here.