Beispiel #1
0
/**
 * Returns defined post layout for curent post
 *
 * @since 2.0.0
 */
function wpex_get_post_layout()
{
    // Get global object
    $obj = wpex_global_obj();
    // Return post layout if defined
    if (!empty($obj->post_layout)) {
        return $obj->post_layout;
    } else {
        return wpex_post_layout();
    }
}
Beispiel #2
0
function wpex_get_post_layout_class()
{
    return wpex_post_layout();
}