Beispiel #1
0
/**
 * Checks which grid is currently supported and returns correct config file
 *
 * @since  0.1.0
 *
 * @return string grid configuration file name
 */
function genfound_get_grid()
{
    if (genfound_flex_grid_supported() === true) {
        $grid_file = 'grid-config-flex.php';
    } else {
        $grid_file = 'grid-config-float.php';
    }
    return $grid_file;
}
Beispiel #2
0
function genfound_debug()
{
    $debug = genfound_flex_grid_supported();
    echo $debug ? 'true' : 'false';
}