<?php

$garajez_layout_setting = garajez_get_template_setting();
if ( $garajez_layout_setting ) {
    $template = apply_filters("kopa_get_template_part", "library/templates/layout-{$garajez_layout_setting['layout_id']}");
} else {
    if ( is_single() ) {
        $template = apply_filters("kopa_get_template_part", "library/templates/single");
    } else {
        $template = apply_filters("kopa_get_template_part", "library/templates/home");
    }

}

get_template_part($template);



