aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header
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/header
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/header')
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/entry-header.php46
-rw-r--r--srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/site-branding.php60
2 files changed, 0 insertions, 106 deletions
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/entry-header.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/entry-header.php
deleted file mode 100644
index 16f84ea..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/entry-header.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-/**
- * Displays the post header
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-
-$discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
-
-<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
-
-<?php if ( ! is_page() ) : ?>
-<div class="entry-meta">
- <?php twentynineteen_posted_by(); ?>
- <?php twentynineteen_posted_on(); ?>
- <span class="comment-count">
- <?php
- if ( ! empty( $discussion ) ) {
- twentynineteen_discussion_avatars_list( $discussion->authors );
- }
- ?>
- <?php twentynineteen_comment_count(); ?>
- </span>
- <?php
- // Edit post link.
- 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>'
- );
- ?>
-</div><!-- .entry-meta -->
-<?php endif; ?>
diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/site-branding.php b/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/site-branding.php
deleted file mode 100644
index 03bc53b..0000000
--- a/srcs/wordpress/wp-content/themes/twentynineteen/template-parts/header/site-branding.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-/**
- * Displays header site branding
- *
- * @package WordPress
- * @subpackage Twenty_Nineteen
- * @since 1.0.0
- */
-?>
-<div class="site-branding">
-
- <?php if ( has_custom_logo() ) : ?>
- <div class="site-logo"><?php the_custom_logo(); ?></div>
- <?php endif; ?>
- <?php $blog_info = get_bloginfo( 'name' ); ?>
- <?php if ( ! empty( $blog_info ) ) : ?>
- <?php if ( is_front_page() && is_home() ) : ?>
- <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
- <?php else : ?>
- <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
- <?php endif; ?>
- <?php endif; ?>
-
- <?php
- $description = get_bloginfo( 'description', 'display' );
- if ( $description || is_customize_preview() ) :
- ?>
- <p class="site-description">
- <?php echo $description; ?>
- </p>
- <?php endif; ?>
- <?php if ( has_nav_menu( 'menu-1' ) ) : ?>
- <nav id="site-navigation" class="main-navigation" aria-label="<?php esc_attr_e( 'Top Menu', 'twentynineteen' ); ?>">
- <?php
- wp_nav_menu(
- array(
- 'theme_location' => 'menu-1',
- 'menu_class' => 'main-menu',
- 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
- )
- );
- ?>
- </nav><!-- #site-navigation -->
- <?php endif; ?>
- <?php if ( has_nav_menu( 'social' ) ) : ?>
- <nav class="social-navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'twentynineteen' ); ?>">
- <?php
- wp_nav_menu(
- array(
- 'theme_location' => 'social',
- 'menu_class' => 'social-links-menu',
- 'link_before' => '<span class="screen-reader-text">',
- 'link_after' => '</span>' . twentynineteen_get_icon_svg( 'link' ),
- 'depth' => 1,
- )
- );
- ?>
- </nav><!-- .social-navigation -->
- <?php endif; ?>
-</div><!-- .site-branding -->