This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Removes WooCommerce scripts and styles from non-WooCommerce pages, | |
* excluding specific pages by post ID. | |
*/ | |
add_action('wp_print_scripts', 'my_remove_woo_assets', 999); | |
add_action('wp_enqueue_scripts', 'my_remove_woo_assets', 999); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Folgenden Code unter übliche wp-config-.php-Befehle einfügen: (Auf All-Inkl angewandt - andere Host-Daten müssten dementsprechend angepasst werden...) | |
define( 'SMTP_USER', 'm05f2ew1' ); // Postfach-Benutzer | |
define( 'SMTP_PASS', 't3stpwd' ); // Postfach-Passwort | |
define( 'SMTP_HOST', 'w01c1234.kasserver.com' ); // Postein- und Ausgangsserver | |
define( 'SMTP_FROM', 'mail@example.com' ); // Gewünschte E-Mail-Adresse zum Versenden | |
define( 'SMTP_NAME', 'Example Website' ); // Webseiten-Name | |
define( 'SMTP_PORT', '465' ); // SMTP-Port - häufig 465 oder 587 (auch 25, aber unsicher) | |
define( 'SMTP_SECURE', 'ssl' ); // Verschlüsselungstyp (auch tls möglich) | |
define( 'SMTP_AUTH', true ); // SMTP-Authentifikation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |