parent
8932bebc95
commit
b62f217bbd
18 changed files with 46 additions and 15 deletions
2
404.php
2
404.php
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?>
|
||||
<main>
|
||||
<main id="skip">
|
||||
<div class="card head-danger">
|
||||
<div class="card-header"><i class="fa fa-folder-exclamation-mark" aria-hidden="true"></i> 404 Not Found</div>
|
||||
<div class="card-body">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php kspace_cat_breadcrumb(get_the_archive_title(), 'calendar'); ?>
|
||||
<?php include(TEMPLATEPATH . '/components/preview-list.php'); ?>
|
||||
</main>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php $category = get_category( get_query_var( 'cat' ) );
|
||||
kspace_cat_breadcrumb_with_rss(single_cat_title('', false), 'folder-open', 'la catégorie', get_category_link( $category->cat_ID ) . '/feed' );
|
||||
?>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php $category = get_category( get_query_var( 'cat' ) );
|
||||
kspace_cat_breadcrumb_with_rss(single_cat_title('', false), 'folder-open', 'la catégorie', get_category_link( $category->cat_ID ) . '/feed' );
|
||||
?>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="osd">
|
||||
<div class="container menu toolbar fg-light d-none d-flex-sm">
|
||||
<nav>
|
||||
<nav class="d-flex">
|
||||
<h2 class="sr-only">Menu des pages</h2>
|
||||
<ul>
|
||||
<li>
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
<!-- Début du vrai HTML -->
|
||||
<body>
|
||||
<div class="bg-dark skip small-text">
|
||||
<a href="#skip">Accéder au contenu</a>
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
<?php include(TEMPLATEPATH . '/components/header-content.php'); ?>
|
||||
<div class="container-blog">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?>
|
||||
<main>
|
||||
<main id="skip">
|
||||
<h1 class="page-title">Publications</h1>
|
||||
<?php include(TEMPLATEPATH . '/components/preview-grid.php'); ?>
|
||||
</main>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php /* Template Name: page-about */ ?>
|
||||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
|
||||
|
||||
<article class="article-content container-article" id="post-<?php the_ID(); ?>">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php /* Template Name: page-links */ ?>
|
||||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
|
||||
|
||||
<article class="article-content" id="post-<?php the_ID(); ?>">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php /* Template Name: page-romans */ ?>
|
||||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
|
||||
<?php kspace_cat_breadcrumb('Romans', 'book'); ?>
|
||||
|
||||
|
|
2
page.php
2
page.php
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
|
||||
|
||||
<article class="article-content" id="post-<?php the_ID(); ?>">
|
||||
|
|
|
@ -6,3 +6,18 @@
|
|||
visibility: collapse;
|
||||
font-size:0;
|
||||
}
|
||||
|
||||
.skip {
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
top: auto;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.skip:focus-within {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<h1 class="page-title"><i class="fa fa-fw fa-search" aria-hidden="true"></i><?php _e('', 'sandbox') ?> Recherche pour le terme « <?php echo get_search_query(); ?> »</h1>
|
||||
|
||||
<?php include(TEMPLATEPATH . '/components/preview-list.php'); ?>
|
||||
|
|
|
@ -5,7 +5,7 @@ Template Post Type: post
|
|||
*/
|
||||
|
||||
?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php $haveTitle = false; ?>
|
||||
<?php include(TEMPLATEPATH . '/components/article.php'); ?>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
|
||||
<?php $haveTitle = true; ?>
|
||||
<?php include(TEMPLATEPATH . '/components/article.php'); ?>
|
||||
|
|
13
style.css
13
style.css
|
@ -1549,6 +1549,19 @@ textarea {
|
|||
visibility: collapse;
|
||||
font-size: 0; }
|
||||
|
||||
.skip {
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
top: auto;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden; }
|
||||
|
||||
.skip:focus-within {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto; }
|
||||
|
||||
/* 1.1 - Alignement classes
|
||||
* Handle easily alignement and flexboxes
|
||||
**/
|
||||
|
|
2
tag.php
2
tag.php
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php $tag = get_category( get_query_var( 'tag' ) );
|
||||
kspace_cat_breadcrumb_with_rss(single_cat_title('', false), 'tag', 'RSS du tag', get_tag_link( $tag->cat_ID ) . '/feed' );
|
||||
?>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php get_header(); ?> <!-- ouvrir header,php -->
|
||||
<main>
|
||||
<main id="skip">
|
||||
<?php kspace_cat_breadcrumb(single_cat_title('', false), 'book'); ?>
|
||||
|
||||
<img class="cover" src="<?php
|
||||
|
|
Reference in a new issue