Home Forums Themes Support Claue functions.php

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #25784

      Hi guys, tell me please, how can i paste shortcode in functions.php. for example

      function my_deregister_scripts(){
      wp_deregister_script( ‘wp-embed’ );
      }
      add_action( ‘wp_footer’, ‘my_deregister_scripts’ );

      or

      define(‘AUTOSAVE_INTERVAL’, 300); // seconds
      define(‘WP_POST_REVISIONS’, false);

    • #25785

      Hi Alexey,

      Please add code your code to claue-child > functions.php

      function my_deregister_scripts(){
      wp_deregister_script( ‘wp-embed’ );
      }
      add_action( ‘wp_footer’, ‘my_deregister_scripts’ );

      Or if you use below code, please add to wp-config.php

      define(‘AUTOSAVE_INTERVAL’, 300); // seconds
      define(‘WP_POST_REVISIONS’, false);

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 1 reply thread

You must be logged in to reply to this topic.