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
<head> | |
<meta name="theme-color" content="#007cc5"> | |
</head> |
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
/* This width range is for smartphone (tr: akıllı telefonlar için) */ | |
@media (max-width: 767px) { | |
.container { width: auto; } | |
/* your other css codes */ | |
} | |
/* This width range is for tablet (tr: tabletler için) */ | |
@media (min-width: 768px) and (max-width: 991px) { | |
.container { width: 730px; } | |
/* your other css codes */ |
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
app.listen(8080, "0.0.0.0", function(){ | |
console.log("Your app is ready at 8080 port."); | |
}); |
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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^yoursitename\.com [NC] | |
RewriteRule ^(.*)$ http://www.yoursitename.com/$1 [L,R=301] |
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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^www.yoursitename\.com [NC] | |
RewriteRule ^(.*)$ http://yoursitename.com/$1 [L,R=301] |
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
/* | |
Example Font : Rajdhani | |
Normal Url : https://fonts.googleapis.com/css?family=Rajdhani:400,300,500,700,600 | |
with Adding ext : https://fonts.googleapis.com/css?family=Rajdhani:400,300,500,700,600&subset=latin,latin-ext | |
*/ | |
/* import font */ | |
@import url(https://fonts.googleapis.com/css?family=Rajdhani:400,300,500,700,600&subset=latin,latin-ext); | |
/* Usage of font */ |
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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Image Previews without upload</title> | |
<style type="text/css"> | |
#pictures { width: 1000px; height: auto; margin: 40px auto; padding: 20px; } | |
#pictures img { vertical-align: middle; width: 235px; height: auto; float: left; margin-right: 20px; margin-bottom: 20px; } | |
#pictures img:nth-child(4n) { margin-right: 0px; } | |
</style> |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} !^443$ | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
</IfModule> |
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 | |
/* Google Tag Manager Code For Head Tag */ | |
add_action('wp_head', 'wp_head_tag_manager'); | |
function wp_head_tag_manager() | |
{ | |
?> | |
<!-- Google Tag Manager --> | |
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], |
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
## KEEP-ALIVE ## | |
<IfModule mod_headers.c> | |
Header set Connection keep-alive | |
</IfModule> | |
## KEEP-ALIVE ## | |
## EXPIRES CACHING ## | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "access plus 1 month" |
OlderNewer