Gravity Flow CPT

/** * Plugin Name: Gravity Flow Step CPT * Description: Registers post-type `gf_workflow_step` to mirror each Gravity Flow step as a post for reporting * Author: Next Step Consulting * Version: 1.0 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘init’,…Continue reading

Navegación personalizada páginas específicas

function eva_custom_navigation_links() { // Cultura → solo flecha siguiente if ( is_page(‘cultura’) ) { echo ‘ Siguiente » ‘; } // Herramientas → anterior y siguiente personalizados if ( is_page(‘herramientas’) ) { echo ‘ « Anterior | Siguiente » ‘;…Continue reading

Raver Dogs General Site Snips

function toggleMenu() { // Find the navigation menu and the body of the page const nav = document.querySelector(‘.main-nav’); const body = document.querySelector(‘body’); // Toggle the class that shows/hides the menu nav.classList.toggle(‘mobile-menu-open’); // Toggle the class that freezes/unfreezes the page scroll…Continue reading

Creating a Form With Floating Labels (copy)

form#wpforms-form-1682 { position: relative; } form#wpforms-form-1682 .floating label:nth-of-type(2) { display: none; } .floating input { position: relative; min-height: 65px; padding: 15px 10px 10px 15px !important; } .floating textarea { position: relative; min-height: 200px; padding: 35px 15px 15px 15px !important; }…Continue reading

Slide Reposition Left Center v2

html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px / 2) !important; margin-top: auto !important; margin-bottom: auto !important; animation: 1s ease-out 0s 1 slideInFromLeft; } @keyframes slideInFromLeft { 0% { transform: translateX(-100%); }…Continue reading

Slide Reposition Right Center v2

html div#om-{{id}} { margin-right: -20px !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px / 2) !important; margin-top: auto !important; margin-bottom: auto !important; animation: 1s ease-out 0s 1 slideInFromRight; } @keyframes slideInFromRight { 0% { transform: translateX(100%); }…Continue reading

Slide Reposition Top Center v2

html div#om-{{id}} { top: 0px !important; bottom: unset !important; width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important; margin-left: auto !important; margin-right: auto !important; transition: top 0.3s ease 0s !important; }Continue reading