Duplicate Post/Page Link (copy)

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Gravity Flow Sync

/** * Gravity Flow Steps to CPT Mirror * Creates/updates a gf_workflow_step post for each Gravity Flow step * Updated to extract key settings into separate fields for better CSV export */ defined( ‘ABSPATH’ ) || exit; // Add manual…Continue reading

Gravity Flow ACF

/** * Registers the “Gravity Flow Step Meta” field group on gf_workflow_step posts. * Updated to store key settings in separate fields for better CSV export */ defined( ‘ABSPATH’ ) || exit; add_action( ‘acf/init’, function () { if ( !…Continue reading

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