Category: Admin
GravityView_DIR_RAPI -Expose GravityView ACF Fields to REST API
/** * WPCode Snippet: Expose GravityView ACF Fields to REST API (MANUAL SYNC ONLY) * Description: Makes ALL GravityView data accessible ONLY when manually synced * Location: Run Everywhere * Priority: 15 */ defined( ‘ABSPATH’ ) || exit; /** *…Continue reading
GravityView_DIR_AD_FPOPULATION – Auto-Populate GravityView Field Details on CPT Sync
/** * WPCode Snippet: Auto-Populate GravityView Field Details on CPT Sync * Location: Run Everywhere * Priority: 30 * Description: Hooks into GravityView sync to populate detailed field information */ defined( ‘ABSPATH’ ) || exit; /** * Hook into GravityView…Continue reading
GravityView_DIR_AC_SYNC_GravityView Sync System
/** * WPCode Snippet: GravityView Sync System – MANUAL SYNC ONLY (FIXED) * Description: Syncs GravityView configurations to custom post type * Location: Run Everywhere * Priority: 20 * * ⚠️ AUTO-SYNC DISABLED – Manual sync only via admin bar…Continue reading
GravityView_DIR_AB_ACF – GravityView Views ACF Fields
/** * WPCode Snippet: GravityView Views ACF Fields * Description: Registers ACF fields for GravityView configurations and settings * Location: Run Everywhere * Priority: 10 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘acf/init’, function() { if ( ! function_exists( ‘acf_add_local_field_group’…Continue reading
GravityView_DIR_AA_CPT – GravityView Views CPT Registration
/** * WPCode Snippet: GravityView Views CPT Registration * Description: Registers custom post type for GravityView with full REST API support * Location: Run Everywhere * Priority: 0 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘init’, function() { $labels =…Continue reading
GF turn off * indicates required fields
add_filter( ‘gform_required_legend’, ‘__return_empty_string’ );Continue reading
Logo Scroll Shrink (CSS)
/* Prevent transition flicker during measurement */ header.sticky-header.no-anim { transition: none !important; } /* Transforms */ header.sticky-header .logo img, header.sticky-header.elementor-sticky–effects .tagline, header.sticky-header, header.sticky-header #schedule-service-btn { transition: transform 0.25s ease; } /* Optional element scales */ header.sticky-header.scrolled .logo { transform: scale(0.7);…Continue reading
Logo Scroll Shrink (JS)
/** * Sticky header with stable base height: * – Computes base height ONLY in unscrolled state and stores it in –header-h * – Shrinks by CSS percentage when `.scrolled` is added * – Recomputes base when crossing back to…Continue reading
LifterLMS_DIR_AC_SYNC – LifterLMS Content Sync Engine – Comprehensive Data Version
/** * LifterLMS Content Sync Engine – Comprehensive Data Version * Syncs courses ONLY with ALL related content stored within course records * Integrates with detail population and edit links * WPCode Snippet – Run Everywhere – Priority 20 */…Continue reading