Deactivate Gutenberg tips forever - not Gutenberg Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsDisable “Tips” popups when writing new postHow to check whether Gutenberg editor is installed or notCustom Gutenberg block is not showing up in inserter dialogModifying the Gutenberg Button BlockGutenberg somehow not loading in WP 5Wordpress Gutenberg blocks: Input fields are not editablegutenberg attributesGutenberg Block checkbox check-unckeck does not workGutenberg Block language translation does not workchange font in gutenbergGutenberg get block name

What's the point of the test set?

How long can equipment go unused before powering up runs the risk of damage?

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

How to report t statistic from R

Trademark violation for app?

How does light 'choose' between wave and particle behaviour?

What makes a man succeed?

Is there public access to the Meteor Crater in Arizona?

What to do with repeated rejections for phd position

Getting prompted for verification code but where do I put it in?

What are the discoveries that have been possible with the rejection of positivism?

Why is it faster to reheat something than it is to cook it?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

Why can't I install Tomboy in Ubuntu Mate 19.04?

Antipodal Land Area Calculation

How many morphisms from 1 to 1+1 can there be?

Do wooden building fires get hotter than 600°C?

Deconstruction is ambiguous

Random body shuffle every night—can we still function?

How would a mousetrap for use in space work?

Drawing spherical mirrors

What order were files/directories output in dir?



Deactivate Gutenberg tips forever - not Gutenberg



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsDisable “Tips” popups when writing new postHow to check whether Gutenberg editor is installed or notCustom Gutenberg block is not showing up in inserter dialogModifying the Gutenberg Button BlockGutenberg somehow not loading in WP 5Wordpress Gutenberg blocks: Input fields are not editablegutenberg attributesGutenberg Block checkbox check-unckeck does not workGutenberg Block language translation does not workchange font in gutenbergGutenberg get block name



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








7















I like Gutenberg a lot, however, the tips at the beginning of each page load
drives me mad. I would like to disable the nagging tips forever and ever via code.



Please don't post "Disable Gutenberg" plugin, I've already seen that. I want to do it via a couple of lines of code in my theme.



There must be a hook, but I couldn't find it.
Thanks for a hint.



enter image description here










share|improve this question






























    7















    I like Gutenberg a lot, however, the tips at the beginning of each page load
    drives me mad. I would like to disable the nagging tips forever and ever via code.



    Please don't post "Disable Gutenberg" plugin, I've already seen that. I want to do it via a couple of lines of code in my theme.



    There must be a hook, but I couldn't find it.
    Thanks for a hint.



    enter image description here










    share|improve this question


























      7












      7








      7


      1






      I like Gutenberg a lot, however, the tips at the beginning of each page load
      drives me mad. I would like to disable the nagging tips forever and ever via code.



      Please don't post "Disable Gutenberg" plugin, I've already seen that. I want to do it via a couple of lines of code in my theme.



      There must be a hook, but I couldn't find it.
      Thanks for a hint.



      enter image description here










      share|improve this question
















      I like Gutenberg a lot, however, the tips at the beginning of each page load
      drives me mad. I would like to disable the nagging tips forever and ever via code.



      Please don't post "Disable Gutenberg" plugin, I've already seen that. I want to do it via a couple of lines of code in my theme.



      There must be a hook, but I couldn't find it.
      Thanks for a hint.



      enter image description here







      block-editor






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Glorfindel

      3691712




      3691712










      asked 2 days ago









      user3135691user3135691

      36417




      36417




















          2 Answers
          2






          active

          oldest

          votes


















          5














          enter image description here



          Update #1:



          After asking from @leymannx I checked how these settings are stored.
          It turned out that settings are not permanent, they are saved in the browser as localStorage.



          key: WP_DATA_USER_id:
          value: {
          "core/nux":
          "preferences":
          "areTipsEnabled":false,
          "dismissedTips":

          ,
          //"core/edit-post"
          //...


          Update #2:



          Gutenberg tips can be disabled by using dispatch('core/nux').disableTips() (NUX package) and action hook enqueue_block_editor_assets.



          file functions.php:



          function se334561_editor_tips() 

          wp_enqueue_script(
          'se334561-js',
          // --- to use in plugin ---
          // plugins_url('/disable-tips.js', __FILE__),
          get_stylesheet_directory_uri() . '/disable-tips.js',
          array('wp-blocks')
          );

          add_action('enqueue_block_editor_assets', 'se334561_editor_tips');


          file disable-tips.js:



          jQuery(document).ready(function()
          var isVisible = wp.data.select('core/nux').areTipsEnabled()
          if (isVisible)
          wp.data.dispatch('core/nux').disableTips();

          );





          share|improve this answer

























          • Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

            – leymannx
            2 days ago











          • @leymannx These are individual settings for each user.

            – nmr
            2 days ago






          • 1





            If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

            – Daniel Vickers
            2 days ago







          • 1





            @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

            – nmr
            2 days ago






          • 1





            That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

            – user3135691
            2 days ago


















          2














          As @nmr found out this seems to be stored browser-wise only. Though I found a workaround to simply hide it via CSS. Quick and dirty.




          functions.php:



          // Add backend styles for Gutenberg.
          add_action('enqueue_block_editor_assets', 'gutenberg_editor_assets');

          function gutenberg_editor_assets()
          // Load the theme styles within Gutenberg.
          wp_enqueue_style('my-gutenberg-editor-styles', get_theme_file_uri('/assets/gutenberg-editor-styles.css'), FALSE);




          assets/gutenberg-editor-styles.css:



          .components-popover.nux-dot-tip 
          display: none !important;




          Source: Creating theme editor styles for Gutenberg






          share|improve this answer























          • Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

            – user3135691
            2 days ago











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "110"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwordpress.stackexchange.com%2fquestions%2f334559%2fdeactivate-gutenberg-tips-forever-not-gutenberg%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          5














          enter image description here



          Update #1:



          After asking from @leymannx I checked how these settings are stored.
          It turned out that settings are not permanent, they are saved in the browser as localStorage.



          key: WP_DATA_USER_id:
          value: {
          "core/nux":
          "preferences":
          "areTipsEnabled":false,
          "dismissedTips":

          ,
          //"core/edit-post"
          //...


          Update #2:



          Gutenberg tips can be disabled by using dispatch('core/nux').disableTips() (NUX package) and action hook enqueue_block_editor_assets.



          file functions.php:



          function se334561_editor_tips() 

          wp_enqueue_script(
          'se334561-js',
          // --- to use in plugin ---
          // plugins_url('/disable-tips.js', __FILE__),
          get_stylesheet_directory_uri() . '/disable-tips.js',
          array('wp-blocks')
          );

          add_action('enqueue_block_editor_assets', 'se334561_editor_tips');


          file disable-tips.js:



          jQuery(document).ready(function()
          var isVisible = wp.data.select('core/nux').areTipsEnabled()
          if (isVisible)
          wp.data.dispatch('core/nux').disableTips();

          );





          share|improve this answer

























          • Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

            – leymannx
            2 days ago











          • @leymannx These are individual settings for each user.

            – nmr
            2 days ago






          • 1





            If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

            – Daniel Vickers
            2 days ago







          • 1





            @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

            – nmr
            2 days ago






          • 1





            That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

            – user3135691
            2 days ago















          5














          enter image description here



          Update #1:



          After asking from @leymannx I checked how these settings are stored.
          It turned out that settings are not permanent, they are saved in the browser as localStorage.



          key: WP_DATA_USER_id:
          value: {
          "core/nux":
          "preferences":
          "areTipsEnabled":false,
          "dismissedTips":

          ,
          //"core/edit-post"
          //...


          Update #2:



          Gutenberg tips can be disabled by using dispatch('core/nux').disableTips() (NUX package) and action hook enqueue_block_editor_assets.



          file functions.php:



          function se334561_editor_tips() 

          wp_enqueue_script(
          'se334561-js',
          // --- to use in plugin ---
          // plugins_url('/disable-tips.js', __FILE__),
          get_stylesheet_directory_uri() . '/disable-tips.js',
          array('wp-blocks')
          );

          add_action('enqueue_block_editor_assets', 'se334561_editor_tips');


          file disable-tips.js:



          jQuery(document).ready(function()
          var isVisible = wp.data.select('core/nux').areTipsEnabled()
          if (isVisible)
          wp.data.dispatch('core/nux').disableTips();

          );





          share|improve this answer

























          • Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

            – leymannx
            2 days ago











          • @leymannx These are individual settings for each user.

            – nmr
            2 days ago






          • 1





            If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

            – Daniel Vickers
            2 days ago







          • 1





            @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

            – nmr
            2 days ago






          • 1





            That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

            – user3135691
            2 days ago













          5












          5








          5







          enter image description here



          Update #1:



          After asking from @leymannx I checked how these settings are stored.
          It turned out that settings are not permanent, they are saved in the browser as localStorage.



          key: WP_DATA_USER_id:
          value: {
          "core/nux":
          "preferences":
          "areTipsEnabled":false,
          "dismissedTips":

          ,
          //"core/edit-post"
          //...


          Update #2:



          Gutenberg tips can be disabled by using dispatch('core/nux').disableTips() (NUX package) and action hook enqueue_block_editor_assets.



          file functions.php:



          function se334561_editor_tips() 

          wp_enqueue_script(
          'se334561-js',
          // --- to use in plugin ---
          // plugins_url('/disable-tips.js', __FILE__),
          get_stylesheet_directory_uri() . '/disable-tips.js',
          array('wp-blocks')
          );

          add_action('enqueue_block_editor_assets', 'se334561_editor_tips');


          file disable-tips.js:



          jQuery(document).ready(function()
          var isVisible = wp.data.select('core/nux').areTipsEnabled()
          if (isVisible)
          wp.data.dispatch('core/nux').disableTips();

          );





          share|improve this answer















          enter image description here



          Update #1:



          After asking from @leymannx I checked how these settings are stored.
          It turned out that settings are not permanent, they are saved in the browser as localStorage.



          key: WP_DATA_USER_id:
          value: {
          "core/nux":
          "preferences":
          "areTipsEnabled":false,
          "dismissedTips":

          ,
          //"core/edit-post"
          //...


          Update #2:



          Gutenberg tips can be disabled by using dispatch('core/nux').disableTips() (NUX package) and action hook enqueue_block_editor_assets.



          file functions.php:



          function se334561_editor_tips() 

          wp_enqueue_script(
          'se334561-js',
          // --- to use in plugin ---
          // plugins_url('/disable-tips.js', __FILE__),
          get_stylesheet_directory_uri() . '/disable-tips.js',
          array('wp-blocks')
          );

          add_action('enqueue_block_editor_assets', 'se334561_editor_tips');


          file disable-tips.js:



          jQuery(document).ready(function()
          var isVisible = wp.data.select('core/nux').areTipsEnabled()
          if (isVisible)
          wp.data.dispatch('core/nux').disableTips();

          );






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited yesterday

























          answered 2 days ago









          nmrnmr

          1,840214




          1,840214












          • Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

            – leymannx
            2 days ago











          • @leymannx These are individual settings for each user.

            – nmr
            2 days ago






          • 1





            If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

            – Daniel Vickers
            2 days ago







          • 1





            @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

            – nmr
            2 days ago






          • 1





            That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

            – user3135691
            2 days ago

















          • Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

            – leymannx
            2 days ago











          • @leymannx These are individual settings for each user.

            – nmr
            2 days ago






          • 1





            If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

            – Daniel Vickers
            2 days ago







          • 1





            @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

            – nmr
            2 days ago






          • 1





            That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

            – user3135691
            2 days ago
















          Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

          – leymannx
          2 days ago





          Is this globally for every user? Is there a way to configure this per code as well? So that when I ship a plugin to a client it deactivates the tips when this plugin gets activated?

          – leymannx
          2 days ago













          @leymannx These are individual settings for each user.

          – nmr
          2 days ago





          @leymannx These are individual settings for each user.

          – nmr
          2 days ago




          1




          1





          If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

          – Daniel Vickers
          2 days ago






          If it’s an option able checkbox in the admin area they’ll be away to toggle it for all as the values got to be stored somewhere you should in code be able to set that value for all users on init or something, try to find where it stores that value in the DB

          – Daniel Vickers
          2 days ago





          1




          1





          @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

          – nmr
          2 days ago





          @leymannx This would require additional code (js + php) which, after changing areTipsEnabled, writes the state to DB and restores it when the user logs in.

          – nmr
          2 days ago




          1




          1





          That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

          – user3135691
          2 days ago





          That is awesome, I'll try it out tomorrow and check the answer if it works. Thank you!

          – user3135691
          2 days ago













          2














          As @nmr found out this seems to be stored browser-wise only. Though I found a workaround to simply hide it via CSS. Quick and dirty.




          functions.php:



          // Add backend styles for Gutenberg.
          add_action('enqueue_block_editor_assets', 'gutenberg_editor_assets');

          function gutenberg_editor_assets()
          // Load the theme styles within Gutenberg.
          wp_enqueue_style('my-gutenberg-editor-styles', get_theme_file_uri('/assets/gutenberg-editor-styles.css'), FALSE);




          assets/gutenberg-editor-styles.css:



          .components-popover.nux-dot-tip 
          display: none !important;




          Source: Creating theme editor styles for Gutenberg






          share|improve this answer























          • Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

            – user3135691
            2 days ago















          2














          As @nmr found out this seems to be stored browser-wise only. Though I found a workaround to simply hide it via CSS. Quick and dirty.




          functions.php:



          // Add backend styles for Gutenberg.
          add_action('enqueue_block_editor_assets', 'gutenberg_editor_assets');

          function gutenberg_editor_assets()
          // Load the theme styles within Gutenberg.
          wp_enqueue_style('my-gutenberg-editor-styles', get_theme_file_uri('/assets/gutenberg-editor-styles.css'), FALSE);




          assets/gutenberg-editor-styles.css:



          .components-popover.nux-dot-tip 
          display: none !important;




          Source: Creating theme editor styles for Gutenberg






          share|improve this answer























          • Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

            – user3135691
            2 days ago













          2












          2








          2







          As @nmr found out this seems to be stored browser-wise only. Though I found a workaround to simply hide it via CSS. Quick and dirty.




          functions.php:



          // Add backend styles for Gutenberg.
          add_action('enqueue_block_editor_assets', 'gutenberg_editor_assets');

          function gutenberg_editor_assets()
          // Load the theme styles within Gutenberg.
          wp_enqueue_style('my-gutenberg-editor-styles', get_theme_file_uri('/assets/gutenberg-editor-styles.css'), FALSE);




          assets/gutenberg-editor-styles.css:



          .components-popover.nux-dot-tip 
          display: none !important;




          Source: Creating theme editor styles for Gutenberg






          share|improve this answer













          As @nmr found out this seems to be stored browser-wise only. Though I found a workaround to simply hide it via CSS. Quick and dirty.




          functions.php:



          // Add backend styles for Gutenberg.
          add_action('enqueue_block_editor_assets', 'gutenberg_editor_assets');

          function gutenberg_editor_assets()
          // Load the theme styles within Gutenberg.
          wp_enqueue_style('my-gutenberg-editor-styles', get_theme_file_uri('/assets/gutenberg-editor-styles.css'), FALSE);




          assets/gutenberg-editor-styles.css:



          .components-popover.nux-dot-tip 
          display: none !important;




          Source: Creating theme editor styles for Gutenberg







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          leymannxleymannx

          1,03411222




          1,03411222












          • Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

            – user3135691
            2 days ago

















          • Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

            – user3135691
            2 days ago
















          Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

          – user3135691
          2 days ago





          Yes, this solution also came to my mind but as you have said: it's quick 'n dirty. Thank you for your help.

          – user3135691
          2 days ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to WordPress Development Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwordpress.stackexchange.com%2fquestions%2f334559%2fdeactivate-gutenberg-tips-forever-not-gutenberg%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form