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 | |
$current_lang = WPGlobus::Config()->language; | |
if($current_lang == "fr"){ | |
?> | |
<?php }else if($current_lang == "en"){?> | |
<?php | |
} |
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 | |
$bodyclass = get_body_class(); | |
if (in_array('woocommerce-page',$bodyclass)) {?> | |
<!--contenu reservé à woocommerce--> | |
<?php | |
} else { | |
?> | |
<!--contenu normal--> | |
<?php |
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
(function ($) { | |
$(window).resize(function() { | |
var newHeight = $(window).height(); | |
// console.log(newHeight); | |
var newWidth = $(window).width(); | |
// console.log(newWidth); | |
$("#TB_window").css("height", (newHeight)); | |
$("#TB_window").css("width", (newWidth)); | |
$('#TB_ajaxContent').css("width", (newWidth)); | |
$("#TB_window").css("margin-left", -(parseInt((newWidth)/2))); |
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
displayFooterText: | |
- ps_customtext |
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
global_settings: | |
configuration: | |
PS_IMAGE_QUALITY: png | |
modules: | |
to_enable: | |
- ps_linklist | |
hooks: | |
modules_to_hook: |
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 HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<title>EU Business Register :: Search results</title> | |
<META HTTP-EQUIV="Cache-control" CONTENT="no-cache"> | |
<META NAME="copyright" CONTENT="www.eubusinessregister.com"> | |
<META NAME="description" CONTENT="Welcome to EU Business Register!The easiest way to find companies specified by branch, city and country within the 25 EU countries"> | |
<META HTTP-EQUIV="expires" CONTENT="Sun, 1 Jan 2010 23:59:59 GMT"> | |
<META NAME="keywords" CONTENT="eu business register,eu,europian union,company search"> | |
<META NAME="ROBOTS" CONTENT="FOLLOW, INDEX"> |
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
require('es6-promise').polyfill(); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var rename = require('gulp-rename'); | |
var plumber = require('gulp-plumber'); | |
var gutil = require('gulp-util'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); |
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
npm install gulp es6-promise gulp-sass gulp-rename gulp-plumber gulp-util gulp-concat gulp-uglify gulp-concat gulp-imagemin browser-sync main-bower-files gulp.spritesmith gulp-strip-json-comments --save-dev |
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
gulp.task('watch', function() { | |
gulp.watch('./sass/**/*.scss', ['sass']); | |
gulp.watch('images/src/*', ['images']); | |
gulp.watch('images/sprite/*', ['sprite']); | |
}); | |
gulp.task('default', ['sprite', 'sass', 'js', 'script', 'images', 'browser-sync', 'watch']); | |
gulp.task('build',['sprite', 'sass', 'js', 'script', 'images']); |
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
gulp.task('browser-sync', function() { | |
var files = [ | |
'./*.php', | |
'./*.html', | |
'./*.js' | |
]; | |
browserSync.init(files, { | |
// server: { | |
// baseDir: "./", | |
// index: "index.html" |