I have this code
<?php if (is_page_template()) {
} else {
get_sidebar();
}
?>
I want to integrate two options to the if condition
if (is_front_page())
how do i put it together in the php code so it would work
i tried
<?php if (is_page_template()) || (is_front_page()){
} else {
get_sidebar();
}
?>
but it does not work. sorry I'm not really good at programming.
any help would be appreciate it :)