aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-07-27 10:05:23 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-07-27 10:05:23 +0200
commit5bf66662a9bdd62c5bccab15e607cd95cfb8fcab (patch)
tree39a1a4629749056191c05dfd899f931701b7acf3 /srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content
parent5afd237bbd22028b85532b8c0b3fcead49a00764 (diff)
downloadft_server-master.tar.gz
ft_server-master.tar.bz2
ft_server-master.zip
Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my famillyHEADmaster
Diffstat (limited to 'srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content')
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-excerpt.php33
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-none.php53
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-page.php56
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-single.php55
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content.php59
5 files changed, 0 insertions, 256 deletions
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-excerpt.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-excerpt.php
deleted file mode 100644
index a76edb0..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-excerpt.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * Template part for displaying post archives and search results
- *
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-
-?>
-
-<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <?php
- if ( is_sticky() && is_home() && ! is_paged() ) {
- printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'twentynineteen' ) );
- }
- the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
- ?>
- </header><!-- .entry-header -->
-
- <?php twentynineteen_post_thumbnail(); ?>
-
- <div class="entry-content">
- <?php the_excerpt(); ?>
- </div><!-- .entry-content -->
-
- <footer class="entry-footer">
- <?php twentynineteen_entry_footer(); ?>
- </footer><!-- .entry-footer -->
-</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-none.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-none.php
deleted file mode 100644
index e0902d3..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-none.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-/**
- * Template part for displaying a message that posts cannot be found
- *
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-
-?>
-
-<section class="no-results not-found">
- <header class="page-header">
- <h1 class="page-title"><?php _e( 'Nothing Found', 'twentynineteen' ); ?></h1>
- </header><!-- .page-header -->
-
- <div class="page-content">
- <?php
- if ( is_home() && current_user_can( 'publish_posts' ) ) :
-
- printf(
- '<p>' . wp_kses(
- /* translators: 1: Link to WP admin new post page. */
- __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentynineteen' ),
- array(
- 'a' => array(
- 'href' => array(),
- ),
- )
- ) . '</p>',
- esc_url( admin_url( 'post-new.php' ) )
- );
-
- elseif ( is_search() ) :
- ?>
-
- <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentynineteen' ); ?></p>
- <?php
- get_search_form();
-
- else :
- ?>
-
- <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentynineteen' ); ?></p>
- <?php
- get_search_form();
-
- endif;
- ?>
- </div><!-- .page-content -->
-</section><!-- .no-results -->
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-page.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-page.php
deleted file mode 100644
index 9068b68..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-page.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-/**
- * Template part for displaying page content in page.php
- *
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-
-?>
-
-<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
- <header class="entry-header">
- <?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
- </header>
- <?php endif; ?>
-
- <div class="entry-content">
- <?php
- the_content();
-
- wp_link_pages(
- array(
- 'before' => '<div class="page-links">' . __( 'Pages:', 'twentynineteen' ),
- 'after' => '</div>',
- )
- );
- ?>
- </div><!-- .entry-content -->
-
- <?php if ( get_edit_post_link() ) : ?>
- <footer class="entry-footer">
- <?php
- edit_post_link(
- sprintf(
- wp_kses(
- /* translators: %s: Post title. Only visible to screen readers. */
- __( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
- array(
- 'span' => array(
- 'class' => array(),
- ),
- )
- ),
- get_the_title()
- ),
- '<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ),
- '</span>'
- );
- ?>
- </footer><!-- .entry-footer -->
- <?php endif; ?>
-</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-single.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-single.php
deleted file mode 100644
index d85aa2f..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content-single.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/**
- * Template part for displaying posts
- *
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-
-?>
-
-<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
- <header class="entry-header">
- <?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
- </header>
- <?php endif; ?>
-
- <div class="entry-content">
- <?php
- the_content(
- sprintf(
- wp_kses(
- /* translators: %s: Post title. Only visible to screen readers. */
- __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentynineteen' ),
- array(
- 'span' => array(
- 'class' => array(),
- ),
- )
- ),
- get_the_title()
- )
- );
-
- wp_link_pages(
- array(
- 'before' => '<div class="page-links">' . __( 'Pages:', 'twentynineteen' ),
- 'after' => '</div>',
- )
- );
- ?>
- </div><!-- .entry-content -->
-
- <footer class="entry-footer">
- <?php twentynineteen_entry_footer(); ?>
- </footer><!-- .entry-footer -->
-
- <?php if ( ! is_singular( 'attachment' ) ) : ?>
- <?php get_template_part( 'template-parts/post/author', 'bio' ); ?>
- <?php endif; ?>
-
-</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content.php
deleted file mode 100644
index 6f8532d..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/content/content.php
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-/**
- * Template part for displaying posts
- *
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-
-?>
-
-<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <?php
- if ( is_sticky() && is_home() && ! is_paged() ) {
- printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'twentynineteen' ) );
- }
- if ( is_singular() ) :
- the_title( '<h1 class="entry-title">', '</h1>' );
- else :
- the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
- endif;
- ?>
- </header><!-- .entry-header -->
-
- <?php twentynineteen_post_thumbnail(); ?>
-
- <div class="entry-content">
- <?php
- the_content(
- sprintf(
- wp_kses(
- /* translators: %s: Post title. Only visible to screen readers. */
- __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentynineteen' ),
- array(
- 'span' => array(
- 'class' => array(),
- ),
- )
- ),
- get_the_title()
- )
- );
-
- wp_link_pages(
- array(
- 'before' => '<div class="page-links">' . __( 'Pages:', 'twentynineteen' ),
- 'after' => '</div>',
- )
- );
- ?>
- </div><!-- .entry-content -->
-
- <footer class="entry-footer">
- <?php twentynineteen_entry_footer(); ?>
- </footer><!-- .entry-footer -->
-</article><!-- #post-<?php the_ID(); ?> -->