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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>WebVooruit Template Example</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0 " /> | |
<meta name="format-detection" content="telephone=no" /> | |
<style type="text/css"> | |
</style> |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
</IfModule> | |
<IfModule mod_headers.c> | |
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS | |
</IfModule> |
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
<? | |
// allow WordPress Custom Field (meta box) when ACF (Advanced Custom Fields) is active | |
add_filter('acf/settings/remove_wp_meta_box', '__return_false'); |
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 | |
define('FS_METHOD', 'ftpext'); // tells WordPress to use FTP to upload/update plugins and theme's. | |
define('WP_TEMP_DIR', ABSPATH . 'wp-content/'); | |
define( 'FTP_BASE', '/' ); | |
define( 'FTP_CONTENT_DIR', '/wp-content/' ); | |
define( 'FTP_PLUGIN_DIR ', '/wp-content/plugins/' ); | |
define('FTP_USER', 'username'); | |
define('FTP_PASS', 'password'); | |
define('FTP_HOST', 'www.domain.com'); |
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
<IfModule mod_headers.c> | |
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS | |
</IfModule> |
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
<!-- default embed code --> | |
<iframe width="560" height="315" src="https://www.youtube.com/embed/9BHGxXINg-Y" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> | |
<!-- updated embed code --> | |
<iframe width="560" height="315" src="https://www.youtube.com/embed/9BHGxXINg-Y?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> |
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
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |