Account Settings

Winkelwagen

De winkelwagen is nog leeg

Website Settings

Dondere modus
Hoog contrast
Font grootte
Lees pagina-inhoud
Afdrukken
Realtime
  • Datum: 20-02-2026
  • Week: 08
  • Weer:
  • Seizoen: Winter

Auto version snippit

particle

function autoVer($filename){ $url = get_template_directory_uri() . $filename; $file = get_template_directory() . $filename; if ( file_exists($file)) { return $url . ‘?v=’ .md5(date(“FLdHis”, filectime($file)) . filesize($file)); } clearstatcache(); }

WP versie nummers weghalen

particle

add_filter( ‘style_loader_src’, ‘sdt_remove_ver_css_js’, 9999, 2 ); add_filter( ‘script_loader_src’, ‘sdt_remove_ver_css_js’, 9999, 2 ); function sdt_remove_ver_css_js( $src, $handle ) { $handles_with_version = [ ‘style’ ]; //

Load styles WP met date time function voor versie

particle

function load_style(){ if ( WP_LOCAL_SERVER || WP_STAGING_SERVER ) { wp_register_style( ‘client-stylesheet’, WP_CONTENT_URL .’/build/parodontologica/css/style.css’, array(), substr(chunk_split((substr(filemtime(get_stylesheet_directory() . ‘/../../build/parodontologica/css/style.css’), -3)), 1, ‘.’), 0, -1), ‘all’ ); } else { wp_register_style( ‘client-stylesheet’, WP_CONTENT_URL .’/build/parodontologica/css/style.min.css’, array(), substr(chunk_split((substr(filemtime(get_stylesheet_directory() . ‘/../../build/parodontologica/css/style.min.css’), -3)), 1, ‘.’), 0, -1), ‘all’ ); } wp_enqueue_style( ‘client-stylesheet’ ); } add_action( ‘wp_enqueue_scripts’, ‘load_style’ );

Home