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.
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.
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.