Browse Source

Rename to Blank Page

Kjell Reigstad 4 years ago
parent
commit
30523c0184

+ 2 - 2
blankie/footer.php

@@ -6,7 +6,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  *
- * @package Blankie
+ * @package Blank Page
  * @since 1.0
  */
 
@@ -14,7 +14,7 @@
 
 	</div><!-- #content -->
 
-	<footer id="colophon" class="site-footer default-max-width" role="contentinfo" aria-label="<?php esc_attr_e( 'Footer', 'seedlet' ); ?>">
+	<footer id="colophon" class="site-footer default-max-width" role="contentinfo" aria-label="<?php esc_attr_e( 'Footer', 'blank-page' ); ?>">
 
 		<div class="site-info">
 			<?php $blog_info = get_bloginfo( 'name' ); ?>

+ 12 - 12
blankie/functions.php

@@ -1,15 +1,15 @@
 <?php
 /**
- * Blankie functions and definitions
+ * Blank Page functions and definitions
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
  * @package WordPress
- * @subpackage Blankie
+ * @subpackage Blank Page
  * @since 1.0
  */
 
-if ( ! function_exists( 'blankie_setup' ) ) :
+if ( ! function_exists( 'blank_page_setup' ) ) :
 	/**
 	 * Sets up theme defaults and registers support for various WordPress features.
 	 *
@@ -17,7 +17,7 @@ if ( ! function_exists( 'blankie_setup' ) ) :
 	 * runs before the init hook. The init hook is too late for some features, such
 	 * as indicating support for post thumbnails.
 	 */
-	function blankie_setup() {
+	function blank_page_setup() {
 		// Add support for editor styles.
 		add_theme_support( 'editor-styles' );
 
@@ -25,12 +25,12 @@ if ( ! function_exists( 'blankie_setup' ) ) :
 		add_editor_style( 'variables.css' );
 	}
 endif;
-add_action( 'after_setup_theme', 'blankie_setup', 11 );
+add_action( 'after_setup_theme', 'blank_page_setup', 11 );
 
 /**
  * Remove Seedlet theme features.
  */
-function blankie_remove_parent_theme_features() {
+function blank_page_remove_parent_theme_features() {
 
 	// Theme Support
 	remove_theme_support( 'custom-header' );
@@ -42,14 +42,14 @@ function blankie_remove_parent_theme_features() {
 	unregister_nav_menu( 'footer' );
 	unregister_nav_menu( 'social' );
 }
-add_action( 'after_setup_theme', 'blankie_remove_parent_theme_features', 10 );
+add_action( 'after_setup_theme', 'blank_page_remove_parent_theme_features', 10 );
 
-function blankie_dequeue_parent_scripts() {
+function blank_page_dequeue_parent_scripts() {
 	// Naviation assets
 	wp_dequeue_script( 'seedlet-primary-navigation-script' );
 	wp_dequeue_style( 'seedlet-style-navigation' );
 }
-add_action( 'wp_enqueue_scripts', 'blankie_dequeue_parent_scripts', 11 );
+add_action( 'wp_enqueue_scripts', 'blank_page_dequeue_parent_scripts', 11 );
 
 /**
  * Remove Meta Footer Items.
@@ -83,7 +83,7 @@ endif;
 /**
  * Enqueue scripts and styles.
  */
-function blankie_enqueue() {
-	wp_enqueue_style( 'blankie-styles', get_stylesheet_uri() );
+function blank_page_enqueue() {
+	wp_enqueue_style( 'blank-page-styles', get_stylesheet_uri() );
 }
-add_action( 'wp_enqueue_scripts', 'blankie_enqueue', 11 );
+add_action( 'wp_enqueue_scripts', 'blank_page_enqueue', 11 );

+ 2 - 2
blankie/header.php

@@ -6,7 +6,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  *
- * @package Blankie
+ * @package Blank Page
  * @since 1.0
  */
 ?><!doctype html>
@@ -21,5 +21,5 @@
 <body <?php body_class(); ?>>
 <?php wp_body_open(); ?>
 <div id="page" class="site">
-	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'seedlet' ); ?></a>
+	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'blank-page' ); ?></a>
 	<div id="content" class="site-content">

+ 1 - 1
blankie/page.php

@@ -4,7 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
  *
- * @package Blankie
+ * @package Blank Page
  * @since 1.0.0
  */
 

+ 3 - 3
blankie/readme.txt

@@ -1,4 +1,4 @@
-=== Blankie ===
+=== Blank Page ===
 Contributors: Automattic
 Requires at least: 5.0
 Tested up to: 5.6
@@ -19,8 +19,8 @@ Seedlet is a blank starting point for building your site.
 
 == Copyright ==
 
-Blankie WordPress Theme, (C) 2020 Automattic, Inc.
-Blankie is distributed under the terms of the GNU GPL.
+Blank Page WordPress Theme, (C) 2020 Automattic, Inc.
+Blank Page is distributed under the terms of the GNU GPL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by

+ 1 - 1
blankie/single.php

@@ -4,7 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
  *
- * @package Blankie
+ * @package Blank Page
  * @since 1.0.0
  */
 

+ 4 - 4
blankie/style.css

@@ -1,5 +1,5 @@
 /*
-Theme Name: Blankie
+Theme Name: Blank Page
 Theme URI: https://github.com/Automattic/themes/blankie
 Author: Automattic
 Author URI: https://automattic.com/
@@ -11,11 +11,11 @@ Version: 1.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: seedlet
-Text Domain: seedlet-blocks
+Text Domain: blank-page
 Tags: one-column, accessibility-ready, custom-colors, editor-style, featured-images, rtl-language-support, sticky-post, translation-ready
 
-Blankie WordPress Theme, (C) 2021 Automattic, Inc.
-Blankie is distributed under the terms of the GNU GPL.
+Blank Page WordPress Theme, (C) 2021 Automattic, Inc.
+Blank Page is distributed under the terms of the GNU GPL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by

+ 1 - 1
blankie/template-parts/content/content-singular.php

@@ -4,7 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package Blankie
+ * @package Blank Page
  * @since 1.0
  */