Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

88
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda