Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

92
Vistas
Gutenberg NPM doesn't do any changes

The NPM when i created some changes in blocks or something else .. the changes not working , and this my gutenberg.php

    function MyBlocks()
{
    wp_register_script('blocks-js', get_template_directory_uri() . '/build/index.js', array('wp-blocks' , 'wp-editor' , 'wp-components' ));
    register_block_type('yusuf/custom-cta', array('editor_script' => 'blocks-js'));
    // register_block_type('yusuf/custom-pro', array('editor_script' => 'blocks-js'));
    // register_block_type("yusuf/statics" , array('editor_script' => 'blocks-js'));
  

}
add_action('init', 'MyBlocks');

I commented the blocks and still shows up , and removed it from build/index.js too , and still shows up , i want know why it happened with me ! And already the "NPM START" Runs

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

it's all In browser cache .. you can use a private browser or cleaning the browser cache every time you try to make any change .. and you will see your updates seems good

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda