Commit 67f05727 authored by nono's avatar nono 💻
Browse files

Mise à jour du thème Wordpress à partir de la version présente sur le serveur

parent 58c4a125
Pipeline #2819 canceled with stage
......@@ -13,11 +13,11 @@ get_header(); ?>
<section id="primary" class="content-area <?php apprenti_layout_class( 'content' ); ?>">
<main id="main" class="site-main" role="main">
<header class="entry-header entry-header-single">
<?php the_title( '<h1 id="titlerp" class="title-champs">', '</h1>' ); ?>
<?php the_title( '<h1 id="titlerp" class="title-champs" style="float:left;">', ' </h1>' ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?><?php esc_html_e('press', 'apprenti')?>"><img class="rs" src="https://www.laquadrature.net/wp-content/uploads/sites/8/2019/02/rss.svg" alt=""/></a>
</header><!-- .entry-header -->
<?php if ( have_posts() ) : $i=0; ?>
<div id="post-wrapper" class="post-wrapper post-wrapper-archive">
<div id="post-wrapper" class="post-wrapper post-wrapper-archive" style="clear:both;">
<?php /* Start the Loop */ ?>
<?php //query_posts('cat=-61'); while ( have_posts() ) : the_post(); ?>
<?php// while ( have_posts() ) : the_post(); ?>
......
This diff is collapsed.
function afficheplus(obj){
var idplus = obj.id;
var idelementplus = 'element' + idplus;
var elementplus = document.getElementById(idelementplus);
/*****************************************************/
/** on cache tous les element-plus pour n'afficher **/
/** que celui dont le plus correspondant est cliqué **/
/** où 4 correspond au nombre de element-pluss **/
/*****************************************************/
for(var i = 1; i <= 4; i++){
if(document.getElementById('elementplus' + i) && document.getElementById('elementplus' + i) != elementplus){
document.getElementById('elementplus' + i).style.display = "none";
}
}
if(elementplus){
//alert(elementplus.style.display);
if(elementplus.style.display == "block"){
elementplus.style.display = "block";
}
else{
elementplus.style.display = "block";
}
}
}
\ No newline at end of file
......@@ -129,14 +129,14 @@ function apprenti_scripts() {
*/
// Enquire
wp_enqueue_script( 'enquire', get_template_directory_uri() . '/js/enquire.js', array( 'jquery' ), '2.1.2', true );
//wp_enqueue_script( 'enquire', get_template_directory_uri() . '/js/enquire.js', array( 'jquery' ), '2.1.2', true );
// Fitvids
wp_enqueue_script( 'fitvids', get_template_directory_uri() . '/js/fitvids.js', array( 'jquery' ), '1.1', true );
//wp_enqueue_script( 'fitvids', get_template_directory_uri() . '/js/fitvids.js', array( 'jquery' ), '1.1', true );
// Superfish Menu
wp_enqueue_script( 'hover-intent', get_template_directory_uri() . '/js/hover-intent.js', array( 'jquery' ), 'r7', true );
wp_enqueue_script( 'superfish', get_template_directory_uri() . '/js/superfish.js', array( 'jquery' ), '1.7.5', true );
//wp_enqueue_script( 'hover-intent', get_template_directory_uri() . '/js/hover-intent.js', array( 'jquery' ), 'r7', true );
//wp_enqueue_script( 'superfish', get_template_directory_uri() . '/js/superfish.js', array( 'jquery' ), '1.7.5', true );
// Comment Reply
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
......@@ -149,19 +149,19 @@ function apprenti_scripts() {
}
// Custom Script
wp_enqueue_script( 'apprenti-custom', get_template_directory_uri() . '/js/custom-min.js', array( 'jquery' ), '1.0', true );
//wp_enqueue_script( 'apprenti-custom', get_template_directory_uri() . '/js/custom-min.js', array( 'jquery' ), '1.0', true );
/**
* Enqueue CSS files
*/
// Bootstrap Custom
wp_enqueue_style( 'apprenti-bootstrap-custom', get_template_directory_uri() . '/css/bootstrap-custom.css' );
//wp_enqueue_style( 'apprenti-bootstrap-custom', get_template_directory_uri() . '/css/bootstrap-custom.css' );
// Font Awesome 5
// For Reviewers / Developers: Unique Handle `font-awesome-5` is required to avoid the overwrite conflicts with Font Awesome 4 library.
// Font Awesome 5 library is rewritten and is different from Font Awesome 4 library.
wp_enqueue_style( 'font-awesome-5', get_template_directory_uri() . '/css/fontawesome-all.css' );
//wp_enqueue_style( 'font-awesome-5', get_template_directory_uri() . '/css/fontawesome-all.css' );
// Fonts
wp_enqueue_style( 'apprenti-fonts', apprenti_fonts_url(), array(), null );
......@@ -172,6 +172,42 @@ function apprenti_scripts() {
}
add_action( 'wp_enqueue_scripts', 'apprenti_scripts' );
/*
* Do some configuration for TinyMCE
*/
function change_options_tiny_mce( $settings ) {
// On ajoute le balises manquantes ici, avec la syntaxe
// de cette page: https://wpengineer.com/1963/customize-wordpress-wysiwyg-editor/
$ext = 'iframe[style|src|width|height|frameborder|sandbox|allowfullscreen]';
if ( isset( $settings['extended_valid_elements'] ) ) {
$settings['extended_valid_elements'] .= ',' . $ext;
} else {
$settings['extended_valid_elements'] = $ext;
}
// maybe; set tiny paramter verify_html
//$settings['verify_html'] = false;
return $settings;
}
add_filter('tiny_mce_before_init', 'change_options_tiny_mce');
/**
* Enable unfiltered_html capability for Editors.
* code from: https://kellenmace.com/add-unfiltered_html-capability-to-admins-or-editors-in-wordpress-multisite/
*
* @param array $caps The user's capabilities.
* @param string $cap Capability name.
* @param int $user_id The user ID.
* @return array $caps The user's capabilities, with 'unfiltered_html' potentially added.
*/
function km_add_unfiltered_html_capability_to_editors( $caps, $cap, $user_id ) {
if ( 'unfiltered_html' === $cap && user_can( $user_id, 'editor' ) ) {
$caps = array( 'unfiltered_html' );
}
return $caps;
}
add_filter( 'map_meta_cap', 'km_add_unfiltered_html_capability_to_editors', 1, 3 );
/**
* Custom functions that act independently of the theme templates.
*/
......@@ -223,7 +259,6 @@ remove_filter('get_the_excerpt', 'wp_trim_excerpt');
add_filter('get_the_excerpt', 'wp_trim_all_excerpt');
if (! function_exists( 'exclure_pages_recherche' ) ):
/*
** Exclut les pages de la recherche Wordpress
......@@ -271,4 +306,11 @@ function main_query ( $query1 ) {
$query1->set( 'offset', '1' );
}
}
add_action( 'pre_get_posts', 'main_query' );
\ No newline at end of file
add_action( 'pre_get_posts', 'main_query' );
// REMOVE WP EMOJI
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );
\ No newline at end of file
<?php
/**
* Wisteria functions and definitions
*
* @package Wisteria
*/
if ( ! function_exists( 'wisteria_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which
* runs before the init hook. The init hook is too late for some features, such
* as indicating support for post thumbnails.
*/
function wisteria_setup() {
/*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory.
* If you're building a theme based on Wisteria, use a find and replace
* to change 'wisteria' to the name of your theme in all the template files
*/
load_theme_textdomain( 'wisteria', get_template_directory() . '/languages' );
// Add default posts and comments RSS feed links to head.
add_theme_support( 'automatic-feed-links' );
/*
* Let WordPress manage the document title.
* By adding theme support, we declare that this theme does not use a
* hard-coded <title> tag in the document head, and expect WordPress to
* provide it for us.
*/
add_theme_support( 'title-tag' );
/*
* Enable support for custom logo.
*
* @link https://codex.wordpress.org/Theme_Logo
*/
add_theme_support( 'custom-logo', array(
'height' => 400,
'width' => 580,
'flex-height' => true,
'flex-width' => true,
'header-text' => array( 'site-title', 'site-description' ),
) );
/*
* Enable support for Post Thumbnails on posts and pages.
*
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
*/
add_theme_support( 'post-thumbnails' );
// Theme Image Sizes
add_image_size( 'wisteria-featured2', 640, 360, true ); // Retina Image (2x)
add_image_size( 'wisteria-featured-normal', 330, 288, true ); // Normal Image (1x)
// This theme uses wp_nav_menu() in four locations.
register_nav_menus( array (
'header-menu' => esc_html__( 'Header Menu', 'wisteria' ),
) );
// This theme styles the visual editor to resemble the theme style.
add_editor_style( array ( 'css/editor-style.css', wisteria_fonts_url() ) );
/*
* Switch default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support( 'html5', array (
'comment-form', 'comment-list', 'gallery', 'caption'
) );
// Setup the WordPress core custom background feature.
add_theme_support( 'custom-background', apply_filters( 'wisteria_custom_background_args', array (
'default-color' => 'f8f8f8',
'default-image' => '',
) ) );
// Add theme support for selective refresh for widgets.
add_theme_support( 'customize-selective-refresh-widgets' );
}
endif; // wisteria_setup
add_action( 'after_setup_theme', 'wisteria_setup' );
/**
* Set the content width in pixels, based on the theme's design and stylesheet.
*
* Priority 0 to make it available to lower priority callbacks.
*
* @global int $content_width
*/
function wisteria_content_width() {
$GLOBALS['content_width'] = apply_filters( 'wisteria_content_width', 758 );
}
add_action( 'after_setup_theme', 'wisteria_content_width', 0 );
/**
* Register widget area.
*
* @link http://codex.wordpress.org/Function_Reference/register_sidebar
*/
function wisteria_widgets_init() {
// Widget Areas
register_sidebar( array(
'name' => esc_html__( 'Main Sidebar', 'wisteria' ),
'id' => 'sidebar-1',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'wisteria_widgets_init' );
/**
* Enqueue scripts and styles.
*/
function wisteria_scripts() {
/**
* Enqueue JS files
*/
// Enquire
wp_enqueue_script( 'enquire', get_template_directory_uri() . '/js/enquire.js', array( 'jquery' ), '2.1.2', true );
// Fitvids
wp_enqueue_script( 'fitvids', get_template_directory_uri() . '/js/fitvids.js', array( 'jquery' ), '1.1', true );
// Superfish Menu
wp_enqueue_script( 'hover-intent', get_template_directory_uri() . '/js/hover-intent.js', array( 'jquery' ), 'r7', true );
wp_enqueue_script( 'superfish', get_template_directory_uri() . '/js/superfish.js', array( 'jquery' ), '1.7.5', true );
// Comment Reply
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
// Keyboard image navigation support
if ( is_singular() && wp_attachment_is_image() ) {
wp_enqueue_script( 'wisteria-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20140127', true );
}
// Custom Script
wp_enqueue_script( 'wisteria-custom', get_template_directory_uri() . '/js/custom-min.js', array( 'jquery' ), '1.0', true );
/**
* Enqueue CSS files
*/
// Bootstrap Custom
wp_enqueue_style( 'wisteria-bootstrap-custom', get_template_directory_uri() . '/css/bootstrap-custom.css' );
// Font Awesome 5
// For Reviewers / Developers: Unique Handle `font-awesome-5` is required to avoid the overwrite conflicts with Font Awesome 4 library.
// Font Awesome 5 library is rewritten and is different from Font Awesome 4 library.
wp_enqueue_style( 'font-awesome-5', get_template_directory_uri() . '/css/fontawesome-all.css' );
// Fonts
wp_enqueue_style( 'wisteria-fonts', wisteria_fonts_url(), array(), null );
// Theme Stylesheet
wp_enqueue_style( 'wisteria-style', get_stylesheet_uri() );
}
add_action( 'wp_enqueue_scripts', 'wisteria_scripts' );
/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/extras.php';
/**
* Custom template tags for this theme.
*/
require get_template_directory() . '/inc/template-tags.php';
/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/deprecated.php';
/**
* Implement the Custom Header feature.
*/
require get_template_directory() . '/inc/custom-header.php';
/**
* Customizer additions.
*/
require get_template_directory() . '/inc/customizer.php';
function wp_trim_all_excerpt($text) { // Creates an excerpt if needed; and shortens the manual excerpt as well
global $post;
if ( '' == $text ) {
$text = get_the_content('');
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
}
$text = strip_shortcodes( $text ); // optional
$text = strip_tags($text);
$excerpt_length = apply_filters('excerpt_length', 300);
$excerpt_more = apply_filters('excerpt_more', ' ' . '[...]');
$words = explode(' ', $text, $excerpt_length + 1);
if (count($words)> $excerpt_length) {
array_pop($words);
$text = implode(' ', $words);
$text = $text . $excerpt_more;
} else {
$text = implode(' ', $words);
}
return $text;
}
remove_filter('get_the_excerpt', 'wp_trim_excerpt');
add_filter('get_the_excerpt', 'wp_trim_all_excerpt');
if (! function_exists( 'exclure_pages_recherche' ) ):
/*
** Exclut les pages de la recherche Wordpress
** Retourne seulement les articles
*/
function exclure_pages_recherche($query) {
if ($query->is_search) {
$query->set('post_type', 'post');
}
return $query;
}
add_filter('pre_get_posts','exclure_pages_recherche');
endif;
// search filter
function my_search_filter( $query )
{
if ( $query->is_search )
{
$query->set( 'category__not_in',array(61) );
}
return $query;
}
add_filter('pre_get_posts','my_search_filter');
function insecable($content="") {
$content = preg_replace('# ([?!:;»])#u', '&nbsp;\1', $content);
$content = preg_replace('#« #', '«&nbsp;', $content);
// Titres
$content = preg_replace( '#<h(\d)>(.*)</#U' , '<h\1 id="\2">\2</' , $content );
return $content;
}
add_filter('the_content','insecable');
add_filter('the_title','insecable');
......@@ -14,7 +14,6 @@
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1132.8 149" style="enable-background:new 0 0 1132.8 149;" xml:space="preserve">
<style type="text/css">
.st0{fill:#020203;}
</style>
<g>
<path class="st0" d="M143,113.9c-7.3,12.7-17.8,23.3-30.3,30.6H143V113.9"/>
<path class="st0" d="M143,30.7V0.1h-30.3C125.3,7.4,135.7,18,143,30.7"/>
<path class="st0" d="M0.1,30.8C7.4,18,17.9,7.4,30.5,0H0.1V30.8z"/>
<path class="st0" d="M30.4,144.5c-12.6-7.4-23.1-18-30.4-30.7v30.7H30.4z"/>
<path class="st0" d="M83.9,107.1H31.2V95.7h19.2L52.1,72c0.3-4.1,0.4-7.6,0.4-10.6c0-7.2-0.9-11.6-2.6-13.2c-1.8-1.6-4-2.3-6.5-2.3
c-5.3,0-8.4,3.1-9.4,9.4h-3c1.8-14.4,7.9-21.6,18.3-21.6c4.8,0,8.8,1.4,11.8,4.2c2.9,2.8,4.3,7,4.3,12.5c0,3.6-0.5,11.3-1.7,23
l-2.3,22.5H79c1.2-18.9,2.6-32.7,4.2-41.4c1.6-8.7,3.4-14.3,5.3-16.9c1.9-2.5,4.6-3.8,7.9-3.8c2.5,0,4.7,0.7,6.5,2.1
c1.7,1.4,2.5,3.2,2.5,5.5c0,2.2-1.5,5.1-4.4,8.9c-4.3,5.5-7.6,11.3-9.7,17.2c-2.1,6-3.8,15.4-4.9,28.4H92c4.5,0,8-1,10.4-2.9
s4.6-4.5,6.7-8.1h3c-1.6,5.6-3.7,10.1-6.2,13.7c-2.5,3.6-5.1,5.9-7.8,7C95.5,106.6,90.8,107.1,83.9,107.1 M71.6,139.7
c36.8,0,66.7-30.2,66.7-67.4S108.4,4.8,71.6,4.8S4.8,35.1,4.8,72.3S34.7,139.7,71.6,139.7"/>
</g>
<g>
<path d="M224.4,143h-45.8V83.2h15.6v46.6h30.2V143z"/>
<path d="M256.8,136.3l-1.9,4.9c-3.3,2.1-7.2,3.1-11.4,3.1c-7.6,0-14.8-4.8-14.8-13.7c0-9.9,9.4-15.9,25-15.9h2.9v-0.7
c0-1,0-1.9-0.2-3.4c-0.3-2.3-2.2-4.4-5.5-4.4c-3.6,0-5.7,2.3-6,6.3l-14.7,0.1c0.1-10.8,9.7-17,21.4-17c14.6,0,19.7,6.5,20.4,14.9
c0.2,2.3,0.3,5,0.3,7.9v13c0,3.5,0.2,6.6,0.9,11.7h-15.2L256.8,136.3z M256.6,126.5v-3c-7-0.5-12,1.3-12,5.9c0,2.8,2.2,4.3,5.3,4.3
C253,133.7,256.6,131.3,256.6,126.5z"/>
<path d="M359.6,137.3l-7.5,9.9c-5.5-3.4-8.2-4.3-12.3-4.3c-2.4,0-3.9,0.3-6.3,0.8c-1.9,0.4-3.9,0.6-6.2,0.6
c-18.6,0-30.6-12-30.6-31.1c0-19.2,12-31.2,30.6-31.2s30.6,12,30.6,31.2c0,7.3-2.5,14.1-7.6,18.9
C353.6,133,356.4,134.6,359.6,137.3z M327.4,132.8c9,0,14.6-7,14.6-19.7c0-12.7-5.6-19.8-14.6-19.8c-9,0-14.6,7-14.6,19.8
C312.7,125.8,318.4,132.8,327.4,132.8z"/>
<path d="M411.4,143h-15.6v-7.8l-4.2,6.3c-2.9,1.7-6.2,2.7-10.4,2.7c-9.5,0-15.3-5.4-16.4-11.7c-0.3-2.3-0.4-5-0.4-8.8v-27h15.6
v23.6c0,1.5,0.1,4,0.3,6.3c0.5,4.4,2.6,7,7.5,7s7.9-4.6,7.9-10.7V96.8h15.6V143z"/>
<path d="M446.9,136.3l-1.9,4.9c-3.3,2.1-7.2,3.1-11.4,3.1c-7.6,0-14.8-4.8-14.8-13.7c0-9.9,9.4-15.9,25-15.9h2.9v-0.7
c0-1,0-1.9-0.2-3.4c-0.3-2.3-2.2-4.4-5.5-4.4c-3.6,0-5.7,2.3-6,6.3l-14.7,0.1c0.1-10.8,9.7-17,21.4-17c14.6,0,19.7,6.5,20.4,14.9
c0.2,2.3,0.3,5,0.3,7.9v13c0,3.5,0.2,6.6,0.9,11.7h-15.2L446.9,136.3z M446.7,126.5v-3c-7-0.5-12,1.3-12,5.9c0,2.8,2.2,4.3,5.3,4.3
C443.1,133.7,446.7,131.3,446.7,126.5z"/>
<path d="M520.3,143h-15.6v-6.8l-3.5,5.1c-2.6,1.9-7.1,2.9-11.8,2.9c-12.6,0-20.4-9.6-20.4-23.3c0-16.5,10.1-25.4,21.9-25.4
c3.8,0,8.3,0.9,10.7,2.3l3,4.9V79.3h15.6V143z M504.7,120.5v-2c0-9.3-4.8-12.4-9.4-12.4c-6.1,0-10.2,4.6-10.2,14
c0,8.7,4.3,13.5,9.8,13.5C500.5,133.7,504.7,130.2,504.7,120.5z"/>
<path d="M561.1,95.8v12.7c-11.7-0.8-15.9,3.6-15.9,17.5v17h-15.6V96.8h15.6v9.4l3.3-6.5c2.5-2.8,6.2-4.1,9.1-4.1
C559.1,95.5,560,95.6,561.1,95.8z"/>
<path d="M592.1,136.3l-1.9,4.9c-3.3,2.1-7.2,3.1-11.4,3.1c-7.6,0-14.8-4.8-14.8-13.7c0-9.9,9.4-15.9,25-15.9h2.9v-0.7
c0-1,0-1.9-0.2-3.4c-0.3-2.3-2.2-4.4-5.5-4.4c-3.6,0-5.7,2.3-6,6.3l-14.7,0.1c0.1-10.8,9.7-17,21.4-17c14.6,0,19.7,6.5,20.4,14.9
c0.2,2.3,0.3,5,0.3,7.9v13c0,3.5,0.2,6.6,0.9,11.7h-15.2L592.1,136.3z M591.9,126.5v-3c-7-0.5-12,1.3-12,5.9c0,2.8,2.2,4.3,5.3,4.3
S591.9,131.3,591.9,126.5z"/>
<path d="M661,114.4h-15.1c-0.7-6.1-3.7-8.3-7.6-8.3c-5.2,0-8.1,4.4-8.1,13.3c0,9.9,2.9,14.2,8.2,14.2c3.6,0,6.5-2.6,7.4-7.6h15.3
c-1.7,12-11,18.2-23.6,18.2c-13.3,0-23.3-8.6-23.3-23.8c0-15.9,10.7-24.9,24.3-24.9S660.5,104,661,114.4z"/>
<path d="M683,126.4c0,2.2,0,3.1,0.2,4.2c0.3,1.8,1,2.4,5.1,2.3v10.6c-2.9,0.3-5.6,0.4-9.1,0.4c-7.2,0-11.3-2.9-11.6-9
c-0.2-2.4-0.2-4.8-0.2-8.2V79.3H683V126.4z"/>
<path d="M740.2,143h-15.6v-7.8l-4.2,6.3c-2.9,1.7-6.2,2.7-10.4,2.7c-9.5,0-15.3-5.4-16.4-11.7c-0.3-2.3-0.4-5-0.4-8.8v-27h15.6
v23.6c0,1.5,0.1,4,0.3,6.3c0.5,4.4,2.6,7,7.5,7s7.9-4.6,7.9-10.7V96.8h15.6V143z"/>
<path d="M781.1,95.8v12.7c-11.7-0.8-15.9,3.6-15.9,17.5v17h-15.6V96.8h15.6v9.4l3.3-6.5c2.5-2.8,6.2-4.1,9.1-4.1
C779,95.5,780,95.6,781.1,95.8z"/>
<path d="M831,123.8h-32.2c0.8,7.7,4.2,9.9,8.6,9.9c4.4,0,7.1-2.3,7.7-5.8h15.3c-2.7,10.5-11.4,16.4-23.2,16.4
c-13.3,0-23.8-7.9-23.8-24.2c0-13.5,9.3-24.5,24.7-24.5s23.2,11.8,23.2,23.7C831.3,120.7,831.2,122.2,831,123.8z M799.3,114.3H815
c-0.9-5.5-3.6-8.1-7.7-8.1C803.2,106.1,800.4,108.5,799.3,114.3z"/>
<path d="M901.9,143h-15.6v-6.8l-3.5,5.1c-2.6,1.9-7.1,2.9-11.8,2.9c-12.6,0-20.4-9.6-20.4-23.3c0-16.5,10.1-25.4,21.9-25.4
c3.8,0,8.3,0.9,10.7,2.3l3,4.9V79.3h15.6V143z M886.3,120.5v-2c0-9.3-4.8-12.4-9.4-12.4c-6.1,0-10.2,4.6-10.2,14
c0,8.7,4.3,13.5,9.8,13.5C882.1,133.7,886.3,130.2,886.3,120.5z"/>
<path d="M957.4,143h-15.6v-7.8l-4.2,6.3c-2.9,1.7-6.2,2.7-10.4,2.7c-9.5,0-15.3-5.4-16.4-11.7c-0.3-2.3-0.4-5-0.4-8.8v-27H926v23.6
c0,1.5,0.1,4,0.3,6.3c0.5,4.4,2.6,7,7.5,7s7.9-4.6,7.9-10.7V96.8h15.6V143z"/>
<path d="M1021,143l-21.7-39.5c0.5,6.1,0.5,11.3,0.5,14.8V143h-15.6V83.2h19.4l22.7,41.2c-0.4-6.1-0.5-12.2-0.5-15.7V83.2h15.6V143
H1021z"/>
<path d="M1095.8,123.8h-32.2c0.8,7.7,4.2,9.9,8.6,9.9c4.4,0,7.1-2.3,7.7-5.8h15.3c-2.7,10.5-11.4,16.4-23.2,16.4
c-13.3,0-23.8-7.9-23.8-24.2c0-13.5,9.3-24.5,24.7-24.5s23.2,11.8,23.2,23.7C1096.1,120.7,1096,122.2,1095.8,123.8z M1064.1,114.3
h15.7c-0.9-5.5-3.6-8.1-7.7-8.1C1068,106.1,1065.1,108.5,1064.1,114.3z"/>
<path d="M1121.5,123.9c0,1.6,0,3.3,0.1,4.5c0.3,4.7,1.8,5.7,9.2,5.4v9.7c-3,0.5-5.9,0.8-9.2,0.8c-11.5,0-15-3.6-15.5-10.7
c-0.2-2.7-0.2-4.9-0.2-7.5v-19.3h-7.4v-9.7h7.4v-12h15.6v12h10.2v9.7h-10.2V123.9z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1132.8 149" style="enable-background:new 0 0 1132.8 149;" xml:space="preserve">
<style type="text/css">
.st0{fill:#020203;}
</style>
<g>
<path class="st0" d="M226,144.5h-48V81.8h16.3v48.9H226V144.5z"/>
<path class="st0" d="M260,137.4l-2,5.1c-3.5,2.2-7.5,3.3-12,3.3c-8,0-15.5-5-15.5-14.3c0-10.4,9.8-16.7,26.2-16.7h3.1V114
c0-1,0-2-0.2-3.5c-0.3-2.5-2.3-4.6-5.8-4.6c-3.8,0-6,2.5-6.3,6.6l-15.4,0.1c0.1-11.3,10.2-17.8,22.4-17.8
c15.3,0,20.6,6.8,21.3,15.6c0.2,2.5,0.3,5.3,0.3,8.3v13.6c0,3.6,0.2,6.9,0.9,12.3h-16L260,137.4z M259.8,127.2V124
c-7.4-0.5-12.6,1.4-12.6,6.2c0,2.9,2.3,4.5,5.5,4.5C256,134.7,259.8,132.2,259.8,127.2z"/>
<path class="st0" d="M367.8,138.5l-7.8,10.4c-5.8-3.5-8.6-4.5-12.9-4.5c-2.5,0-4.1,0.3-6.6,0.8c-2,0.5-4.1,0.6-6.4,0.6
c-19.5,0-32.1-12.5-32.1-32.6c0-20.2,12.5-32.7,32.1-32.7c19.5,0,32.1,12.5,32.1,32.7c0,7.6-2.6,14.8-8,19.8
C361.4,134,364.4,135.7,367.8,138.5z M334,133.8c9.4,0,15.3-7.4,15.3-20.6c0-13.3-5.9-20.7-15.3-20.7c-9.4,0-15.3,7.4-15.3,20.7
C318.7,126.4,324.6,133.8,334,133.8z"/>
<path class="st0" d="M422.1,144.5h-16.3v-8.2l-4.4,6.6c-3,1.8-6.4,2.8-10.9,2.8c-10,0-16.1-5.6-17.2-12.3c-0.4-2.5-0.5-5.3-0.5-9.2
V96h16.3v24.7c0,1.5,0.1,4.2,0.4,6.6c0.5,4.6,2.7,7.4,7.9,7.4s8.3-4.8,8.3-11.3V96h16.3V144.5z"/>
<path class="st0" d="M459.2,137.4l-2,5.1c-3.5,2.2-7.5,3.3-12,3.3c-8,0-15.5-5-15.5-14.3c0-10.4,9.8-16.7,26.2-16.7h3.1V114
c0-1,0-2-0.2-3.5c-0.3-2.5-2.3-4.6-5.8-4.6c-3.8,0-6,2.5-6.3,6.6l-15.4,0.1c0.1-11.3,10.2-17.8,22.4-17.8
c15.3,0,20.6,6.8,21.3,15.6c0.2,2.5,0.3,5.3,0.3,8.3v13.6c0,3.6,0.2,6.9,0.9,12.3h-16L459.2,137.4z M459.1,127.2V124
c-7.4-0.5-12.6,1.4-12.6,6.2c0,2.9,2.3,4.5,5.5,4.5C455.2,134.7,459.1,132.2,459.1,127.2z"/>
<path class="st0" d="M536.1,144.5h-16.3v-7.1l-3.6,5.4c-2.7,2-7.4,3-12.3,3c-13.2,0-21.3-10.1-21.3-24.4c0-17.3,10.5-26.6,23-26.6
c4,0,8.7,0.9,11.2,2.4l3.2,5.2V77.8h16.3V144.5z M519.8,120.9v-2.1c0-9.7-5-13-9.9-13c-6.4,0-10.7,4.8-10.7,14.7
c0,9.1,4.5,14.2,10.3,14.2C515.4,134.7,519.8,131.1,519.8,120.9z"/>
<path class="st0" d="M579,95v13.3c-12.3-0.8-16.7,3.7-16.7,18.3v17.8H546V96h16.3v9.8l3.5-6.8c2.6-2.9,6.4-4.3,9.5-4.3
C576.8,94.7,577.8,94.8,579,95z"/>
<path class="st0" d="M611.4,137.4l-2,5.1c-3.5,2.2-7.5,3.3-12,3.3c-8,0-15.5-5-15.5-14.3c0-10.4,9.8-16.7,26.2-16.7h3.1V114
c0-1,0-2-0.2-3.5c-0.3-2.5-2.3-4.6-5.8-4.6c-3.8,0-6,2.5-6.3,6.6l-15.4,0.1c0.1-11.3,10.2-17.8,22.4-17.8
c15.3,0,20.6,6.8,21.3,15.6c0.2,2.5,0.3,5.3,0.3,8.3v13.6c0,3.6,0.2,6.9,0.9,12.3h-16L611.4,137.4z M611.2,127.2V124
c-7.4-0.5-12.6,1.4-12.6,6.2c0,2.9,2.3,4.5,5.5,4.5C607.4,134.7,611.2,132.2,611.2,127.2z"/>
<path class="st0" d="M657,124.4c0,1.6,0,3.5,0.1,4.7c0.4,4.9,1.9,6,9.6,5.6V145c-3.2,0.5-6.2,0.8-9.6,0.8
c-12.1,0-15.7-3.7-16.3-11.2c-0.2-2.8-0.2-5.1-0.2-7.8v-20.2H633V96.4h7.7V83.8H657v12.5h10.7v10.2H657V124.4z"/>
<path class="st0" d="M722,144.5h-16.3v-8.2l-4.4,6.6c-3,1.8-6.4,2.8-10.9,2.8c-10,0-16.1-5.6-17.2-12.3c-0.4-2.5-0.5-5.3-0.5-9.2
V96h16.3v24.7c0,1.5,0.1,4.2,0.4,6.6c0.5,4.6,2.7,7.4,7.9,7.4s8.3-4.8,8.3-11.3V96H722V144.5z"/>
<path class="st0" d="M764.9,95v13.3c-12.3-0.8-16.7,3.7-16.7,18.3v17.8h-16.3V96h16.3v9.8l3.5-6.8c2.6-2.9,6.4-4.3,9.5-4.3
C762.7,94.7,763.7,94.8,764.9,95z"/>
<path class="st0" d="M817.2,124.3h-33.8c0.8,8.1,4.4,10.4,9,10.4s7.4-2.4,8.1-6.1h16.1c-2.8,11-11.9,17.2-24.3,17.2
c-13.9,0-25-8.3-25-25.3c0-14.2,9.7-25.7,25.9-25.7s24.3,12.3,24.3,24.9C817.5,121.1,817.4,122.7,817.2,124.3z M784,114.4h16.4
c-0.9-5.7-3.7-8.5-8.1-8.5C788.1,105.8,785.1,108.4,784,114.4z"/>
<path class="st0" d="M891.5,144.5h-16.3v-7.1l-3.6,5.4c-2.7,2-7.4,3-12.3,3c-13.2,0-21.3-10.1-21.3-24.4c0-17.3,10.5-26.6,23-26.6
c4,0,8.7,0.9,11.2,2.4l3.2,5.2V77.8h16.3V144.5z M875.1,120.9v-2.1c0-9.7-5-13-9.9-13c-6.4,0-10.7,4.8-10.7,14.7
c0,9.1,4.5,14.2,10.3,14.2C870.8,134.7,875.1,131.1,875.1,120.9z"/>
<path class="st0" d="M949.6,144.5h-16.3v-8.2l-4.4,6.6c-3,1.8-6.4,2.8-10.9,2.8c-10,0-16.1-5.6-17.2-12.3c-0.4-2.5-0.5-5.3-0.5-9.2
V96h16.3v24.7c0,1.5,0.1,4.2,0.4,6.6c0.5,4.6,2.7,7.4,7.9,7.4s8.3-4.8,8.3-11.3V96h16.3V144.5z"/>
<path class="st0" d="M1016.3,144.5l-22.8-41.4c0.5,6.4,0.5,11.9,0.5,15.5v25.9h-16.3V81.8h20.3l23.8,43.2
c-0.5-6.4-0.5-12.8-0.5-16.4V81.8h16.3v62.7H1016.3z"/>
<path class="st0" d="M1094.7,124.3h-33.8c0.8,8.1,4.4,10.4,9,10.4c4.6,0,7.4-2.4,8.1-6.1h16.1c-2.8,11-11.9,17.2-24.3,17.2
c-13.9,0-25-8.3-25-25.3c0-14.2,9.7-25.7,25.9-25.7s24.3,12.3,24.3,24.9C1095,121.1,1094.9,122.7,1094.7,124.3z M1061.5,114.4h16.4
c-0.9-5.7-3.7-8.5-8.1-8.5C1065.6,105.8,1062.6,108.4,1061.5,114.4z"/>
<path class="st0" d="M1121.7,124.4c0,1.6,0,3.5,0.1,4.7c0.4,4.9,1.9,6,9.6,5.6V145c-3.2,0.5-6.2,0.8-9.6,0.8
c-12.1,0-15.7-3.7-16.3-11.2c-0.2-2.8-0.2-5.1-0.2-7.8v-20.2h-7.7V96.4h7.7V83.8h16.3v12.5h10.7v10.2h-10.7V124.4z"/>
</g>
<g>
<path class="st0" d="M0,30.6C7.3,17.9,17.8,7.3,30.3,0H0V30.6"/>
<path class="st0" d="M0,113.8v30.6h30.3C17.7,137.1,7.3,126.5,0,113.8"/>
<path class="st0" d="M142.9,113.7c-7.3,12.8-17.8,23.4-30.4,30.8h30.4V113.7z"/>
<path class="st0" d="M112.6,0c12.6,7.4,23.1,18,30.4,30.7V0H112.6z"/>
<path class="st0" d="M59.1,37.4h52.7v11.4H92.6l-1.7,23.7c-0.3,4.1-0.4,7.6-0.4,10.6c0,7.2,0.9,11.6,2.6,13.2
c1.8,1.6,4,2.3,6.5,2.3c5.3,0,8.4-3.1,9.4-9.4h3c-1.8,14.4-7.9,21.6-18.3,21.6c-4.8,0-8.8-1.4-11.8-4.2c-2.9-2.8-4.3-7-4.3-12.5
c0-3.6,0.5-11.3,1.7-23l2.3-22.5H64c-1.2,18.9-2.6,32.7-4.2,41.4c-1.6,8.7-3.4,14.3-5.3,16.9c-1.9,2.5-4.6,3.8-7.9,3.8
c-2.5,0-4.7-0.7-6.5-2.1c-1.7-1.4-2.5-3.2-2.5-5.5c0-2.2,1.5-5.1,4.4-8.9c4.3-5.5,7.6-11.3,9.7-17.2c2.1-6,3.8-15.4,4.9-28.4H51
c-4.5,0-8,1-10.4,2.9c-2.4,1.9-4.6,4.5-6.7,8.1h-3c1.6-5.6,3.7-10.1,6.2-13.7c2.5-3.6,5.1-5.9,7.8-7C47.5,37.9,52.2,37.4,59.1,37.4
M71.4,4.8C34.6,4.8,4.7,35,4.7,72.2c0,37.2,29.9,67.5,66.7,67.5s66.8-30.3,66.8-67.5C138.2,35,108.3,4.8,71.4,4.8 M0,30.6"/>
</g>
</svg>
......@@ -26,7 +26,7 @@
* @return void
*/
function apprenti_post_thumbnail( $size = 'apprenti-featured' ) {
_deprecated_function( __FUNCTION__, '1.1.3', 'apprenti_featured_image()' );
// _deprecated_function( __FUNCTION__, '1.1.3', 'apprenti_featured_image()' );
apprenti_featured_image();
}
......@@ -15,43 +15,16 @@ get_header(); ?>
<div class="container">
<div class="row">
<section id="primary" class="content-area <?php apprenti_layout_class( 'content' ); ?>">
<main id="main" class="site-main" role="main">
<section id="primary" class="content-area <?php apprenti_layout_class( 'content' ); ?>">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : $i=0; ?>
<?php insecable();?>
<div id="post-wrapper" class="post-wrapper post-wrapper-archive">
<?php /* Start the Loop */ ?>
<?php //query_posts('cat=-61'); while ( have_posts() ) : the_post(); ?>
<?php// while ( have_posts() ) : the_post(); ?>
<a class="link-article" href="https://www.laquadrature.net/2019/02/18/reglement-terroriste/">
<article class="desktop" id="post-13494" class="post-13494 post type-post status-publish format-standard has-post-thumbnail hentry category-censure">
<div class="post-content-wrapper post-content-wrapper-archive">
<div class="entry-image-wrapper entry-image-wrapper-archive"><div class="post-thumbnail" style="background-image:url('https://www.laquadrature.net/wp-content/uploads/sites/8/2018/12/Sans-titre-1.png');background-color: #cccccc;"></div></div> <div class="entry-data-wrapper entry-data-wrapper-archive">
<div class="entry-header-wrapper entry-header-wrapper-archive">
<div class="entry-meta entry-meta-header-before">
<!--apprenti_post_first_category();> </div><!-- .entry-meta -->
<header class="entry-header">
<h1 class="entry-title">Règlement terroriste</h1> </header><!-- .entry-header -->
<div class="entry-meta entry-meta-header-after">
<span class="entry-date"><i>Action</i></span> </div><!-- .entry-meta -->
</div><!-- .entry-header-wrapper -->
<div class="entry-summary">
<p>Appelons les députés européens jusqu&rsquo;au 21 mars, pour leur demander leur de refuser : la censure policière sans juge ; la justice déléguée aux GAFAM.</p>
</div><!-- .entry-summary -->
</div><!-- .entry-data-wrapper -->