• Resolved roser001

    (@roser001)


    The theme is great, but having slider on every page is strange and bad for web design. Is there a way, do delete some lines in page.php or anywhere else? I dont want slider on all the pages, except for the home page, how do i do dat??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Tigran Nazaryan

    (@progmastery)

    Hi roser001,

    To hide slider on all the pages except homepage, edit front_end_functions.php file in front_end folder in the theme.

    Find the line
    if($hide_slider=="" && $image_link!=''){
    and replace it with
    if(($hide_slider=="" || is_home()) && $image_link!=''){

    Best regards,
    Web-Dorado themedev team.

    p.s. We gonna add this option to the future versions of the theme. Users will be able to show slider on every page, show only on homepage or hide it everywhere.

    Thread Starter roser001

    (@roser001)

    @progmastery

    Hi … i doesnt work on static front page.

    Tigran Nazaryan

    (@progmastery)

    Hi @roser001,

    Try this
    if(($hide_slider=="" || is_home() || is_front_page()) && $image_link!=''){

    Thread Starter roser001

    (@roser001)

    Hi!

    The right one is:

    if(($hide_slider==”” || is_front_page()) && $image_link!=”){

    Why is this not working in child theme? Only in original theme?

    Thread Starter roser001

    (@roser001)

    But stil there is one deisgn problem. Slider is not under transaprent nav bar (like in default), it is under nav bar fully and nav bar isnt transparent – got grey color.

    Thread Starter roser001

    (@roser001)

    I fixed it, somehow ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove slider from all the pages’ is closed to new replies.