CCT ID display as name

function gt_id_label_map() { return array( // CCT slug => [ field => target ] ‘cct’ => array( // ‘articles’ => array( ‘type’ => ‘term:article-types’ ), ), // CPT slug => [ meta_key => target ] (adds a new admin column)…Continue reading

CCT select field width 100%

add_action( ‘admin_head’, function () { $page = isset( $_GET[‘page’] ) ? sanitize_key( $_GET[‘page’] ) : ”; if ( strpos( $page, ‘jet-cct-‘ ) !== 0 ) { return; } ?>Continue reading

Logout without confirmation

add_action(‘check_admin_referer’, ‘logout_without_confirm’, 10, 2); function logout_without_confirm($action, $result) { if ($action == “log-out” && !isset($_GET[‘_wpnonce’])) { $redirect_to = isset($_REQUEST[‘redirect_to’]) ? $_REQUEST[‘redirect_to’] : ‘https://gruppa.cloud’; /* https://gruppa.cloud/wp-login.php?action=logout */ $location = str_replace(‘&’, ‘&’, wp_logout_url($redirect_to)); header(“Location: $location”); die; } }Continue reading

CCT SEO post relations

/** * ========================================= * Gruppa CCT SEO * Relation: post_id -> WP Post ID * ========================================= */ /** * ========================================= * SAFE GET * ========================================= */ function gt_safe($obj, $key, $default = ”) { if (is_object($obj) && isset($obj->$key)) { return trim((string)…Continue reading

CCT overrides CPT slug

// 1. Zachytíme dáta tesne pred zápisom do DB add_filter( ‘wp_insert_post_data’, function( $data, $postarr ) { // Overíme, či ide o CPT, ktoré má prepojenie na CCT (Has Single Page) // JetEngine posiela v $_POST dáta z CCT pri ukladaní…Continue reading

Gruppa Custom CSS 2027

/* ===== GRUPPA DM 2027 ===== */ /* ===== CSS ID ===== */ *, *::before, *::after { box-sizing: border-box; } html { font-size: 100%; } body { margin: 0; font-size: 1.125rem; line-height: 1.6; } p, h1, h2, h3, h4, h5,…Continue reading

Untitled Snippet

🏮 🏮 🏮 🏮 🏮 ✿ ✦ 🌼 ✦ ✿ ✦ 🌼 ✦ ✿ LA LABEL AKKSHITA ARORA A FESTIVE CELEBRATION Happy Diwali May your world shine with elegance ✦ 🪔 ✦ 🪔 ✦ 🪔 ✧ FESTIVE LIGHTS · TIMELESS ELEGANCE ✧ ❋ ❋ ✦ ❋ ✦ ❋ ✦ ❋ ✦Continue reading

Run 3: The Fun of Mastering Unusual Spaces

In Run 3 Game, the environment plays an important role in shaping the entire adventure. Its enclosed passages and unconventional layouts create a platforming experience that feels different from games set on ordinary ground. Players gradually become familiar with these…Continue reading

FNAF Free

Get to Know the Five Nights at Freddy’s Universe fnaf free is a horror franchise built around the strange world of Freddy Fazbear’s entertainment venues. It features a growing collection of games, with each one introducing different characters, settings, and…Continue reading