This file contains hidden or 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 | |
| define('FORCE_SSL_ADMIN', true); |
This file contains hidden or 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
| <files wp-config.php> | |
| order allow,deny | |
| deny from all | |
| </files> |
This file contains hidden or 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 | |
| define('DISALLOW_FILE_EDIT', true); |
This file contains hidden or 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 | |
| if ( have_posts() ) : | |
| while ( have_posts() ) : the_post(); | |
| // Display post content | |
| endwhile; | |
| endif; | |
| ?> |
This file contains hidden or 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
| <a href="https://www.wp-assistance.fr" rel="nofollow">Cliquez ici</a> |
This file contains hidden or 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
| <a href="#section1">Aller à la section 1</a> | |
| ... | |
| <div id="section1">Ceci est la section 1</div> |
This file contains hidden or 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
| <a href="https://www.wp-assistance.fr">Cliquez ici</a> |
This file contains hidden or 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 | |
| /** | |
| * Use this CF7 field [select dates_cyril], field name is "dates_cyril" | |
| **/ | |
| add_filter( 'wpcf7_form_tag', 'waw_dynamic_select_field_values', 10, 2); | |
| function waw_dynamic_select_field_values ( $scanned_tag, $replace ) { | |
| if ( $scanned_tag['name'] != 'dates_cyril' ) { |
This file contains hidden or 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 | |
| /* | |
| Plugin Name: Compteur de vues d'articles | |
| Plugin URI: https://example.com/plugins/compteur-de-vues-darticles | |
| Description: Ce plugin permet de compter les vues d'un article ou d'un custom post type. | |
| Version: 1.0 | |
| Author: Votre nom | |
| Author URI: https://example.com | |
| License: GPL-2.0+ | |
| License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
This file contains hidden or 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 | |
| /** LOG Error **/ | |
| // Enable WP_DEBUG mode | |
| define( 'WP_DEBUG', true ); | |
| // Enable Debug logging to the /wp-content/debug.log file | |
| define( 'WP_DEBUG_LOG', true ); | |
| // Disable display of errors and warnings | |
| define( 'WP_DEBUG_DISPLAY', false ); |