add_filter( ‘aioseo_llms_post_description’, ‘aioseo_filter_llms_post_description’, 10, 2 ); function aioseo_filter_llms_post_description( $description, $post = null ) { if ( is_a( $post, ‘WP_Post’ ) && 14 === $post->ID ) { $description = ‘This is a featured post. ‘ . $description; } return $description; }Continue reading
add_filter( ‘aioseo_llms_term_title’, ‘aioseo_filter_llms_term_title’, 10, 2 ); function aioseo_filter_llms_term_title( $title, $term = null ) { if ( is_a( $term, ‘WP_Term’ ) ) { $taxonomy = get_taxonomy( $term->taxonomy ); if ( $taxonomy ) { $title = $taxonomy->labels->singular_name . ‘: ‘ . $title;…Continue reading
add_filter( ‘aioseo_llms_post_title’, ‘aioseo_filter_llms_post_title’, 10, 2 ); function aioseo_filter_llms_post_title( $title, $post = null ) { if ( is_a( $post, ‘WP_Post’ ) && 14 === $post->ID ) { $title = ‘Featured: ‘ . $title; } return $title; }Continue reading
function acf_option_field_shortcode( $atts ) { // Definimos los atributos por defecto (solo necesitamos ‘field’) $atts = shortcode_atts( array( ‘field’ => ”, // Clave del campo a obtener ), $atts, ‘opcion_acf’ ); // Aseguramos que se ha proporcionado un nombre de…Continue reading
/** * Fully Disable Comments & Trackbacks (The “Nuclear” Option) * Optimized for performance and UI clarity. */ add_action(‘admin_init’, function () { global $pagenow; if ($pagenow === ‘edit-comments.php’) { wp_safe_redirect(admin_url()); exit; } remove_meta_box(‘dashboard_recent_comments’, ‘dashboard’, ‘normal’); foreach (get_post_types() as $post_type) {…Continue reading
/** * Disable Unused Auto-Generated Image Sizes * Optimized for AWS Storage savings & Performance. */ add_filter(‘intermediate_image_sizes_advanced’, function ($sizes) { // Standard sizes often needed by Bricks/Kadence – Leave un-commented if needed // unset($sizes[‘thumbnail’]); // unset($sizes[‘medium’]); // unset($sizes[‘large’]); // High-bloat…Continue reading
Digital StoryWorld Digital StoryWorld Inicio Historias Recursos Sobre Contacto Bienvenidos a Digital StoryWorld Un espacio educativo donde las historias cobran vida con tecnología 📖 Historias Interactivas Narrativas educativas que integran texto, audio, video y animación. 🎬 Recursos Multimedia Videos, imágenes,…Continue reading
/** * WPCode Snippet: MU-Plugins Sync Engine * Description: Synchronizes MU-Plugins FROM /wp-content/mu-plugins/ TO wpcode_snippets_sync CPT * Location: Run Everywhere * Priority: 25 * * INSTALL ORDER: #6 – Install AFTER the WPCode sync system is fully set up *…Continue reading