Support » Theme: MesoColumn » [Theme MesoColumn] Use Featured Slider on Static Front Page

  • Resolved djrouge

    (@djrouge)


    Hi,
    I use this theme on one of my sites with the Featured Slider enabled when set to using ‘Your latest posts’ on the front page.
    When I set the site to use a Static Front Page and choose a page, the Featured Slider does not show.

    Can anyone give any advice please?
    Much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Richie KS

    (@rkcorp)

    try copy paste index.php and rename in front-page.php

    Thanks for the response.

    renamed index.php to front-page.php – then I get ‘Archive for page – Continue Reading’ with no slider or my page content.

    Just to experiment, I tried the following:
    renamed front-page.php to index.php but this made no change at all.

    Any other ideas would be much appreciated.

    Regards,
    Dj.

    Theme Author Richie KS

    (@rkcorp)

    this might be a long shot, havent tried it but try restore the index.php to its original one add this to functions.php

    function dez_add_slider_frontpage() {
    if(  is_front_page()  && get_theme_option('slider_on') == 'Enable'):
    get_template_part( 'lib/sliders/jd-gallery-slider' );
    endif;
    }
    add_action('bp_before_blog_home','dez_add_slider_frontpage');

    Hi,

    When I did this it took the site down / white screen.
    Had to restore it back to get it to come back on.

    Thanks for the suggestion though, I am willing to try anything and have not been able to fix it as yet – all of the answers I find on google are theme specific or don’t work either but I’m always careful to back up any files that I alter so that I can restore them back to working and so not to confuse the issue further.

    Any help much appreciated.

    Dj.

    Theme Author Richie KS

    (@rkcorp)

    you need to properly add the code in functions.php before the bottom closing ?>

    tested them and works ok with frontpage activated.

    You are absolutely right, I’d copied the code into the wrong section and not before the bottom closing ?>

    I have done what you suggested in your last response and the slider is working exactly as intended.

    many thanks for your help and for the great theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme MesoColumn] Use Featured Slider on Static Front Page’ is closed to new replies.