function my_theme_setup(){
load_theme_textdomain('my-theme', get_template_directory() . '/languages');
}
<div class="img_tour1 text-center" style="background-image: url(<?php if ( has_post_thumbnail()) { $full_image_url = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full'); echo ''.$full_image_url[0] . '';} ?>)">
$_SERVER['HTTPS'] = 'on';
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);
add_filter('script_loader_src', 'metadone_script_loader_src', 20,2);
function metadone_script_loader_src($src, $handle) {
return preg_replace('/^(http|https):/', '', $src);
}
add_filter('style_loader_src', 'metadone_style_loader_src', 20,2);
function metadone_style_loader_src($src, $handle) {
return preg_replace('/^(http|https):/', '', $src);
}
@keyframes progress{
from{
width: 0;
}
to{
width: 100%;
}
}
.progressbar:after{
content: '';
position: absolute;
height: 100%;
animation: progress 60s linear forwards;
}
@keyframes hide{
from{
opacity: 1;
}
to{
opacity: 0;
}
}
.progressbar{
animation: hide 100ms 60s ease-in-out;
}
.row {
margin-right: -15px;
margin-left: -65px;
width: 900px;
}
.row {
margin-right: -15px;
margin-left: -15px;
}
@media (min-width: 768px)
.navbar-right {
margin-right: -15px;
float: right;
}
.el{
animation: cloud1 1s ease-in-out forwards;
}
@keyframes cloud1 {
0% {
left: 500px;
opacity: 1;
}
99%{
opacity: 1;
}
100% {
left:-200px;
opacity: 0;
}
}