Changeset 356038
- Timestamp:
- 10/28/2026 09:17:05 PM (6 hours ago)
- Location:
- 100-bytes/1.1.6
- Files:
-
- 7 edited
- 1 copied
-
. (copied) (copied from 100-bytes/1.1.5 )
-
404.php (modified) (1 diff)
-
footer.php (modified) (2 diffs)
-
functions.php (modified) (2 diffs)
-
header.php (modified) (2 diffs)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
100-bytes/1.1.6/404.php
r294458 r356038 1 1 <?php get_header(); ?> 2 2 <main> 3 <h 2><?php esc_html_e( 'Oops! That page can’t be found.', '100-bytes' ); ?></h2>3 <h1><?php esc_html_e( 'Oops! That page can’t be found.', '100-bytes' ); ?></h1> 4 4 <p><?php esc_html_e( 'It looks like nothing was found at this location.', '100-bytes' ); ?></p> 5 5 <p><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Go to homepage', '100-bytes' ); ?></a></p> -
100-bytes/1.1.6/footer.php
r318181 r356038 1 <footer> 1 2 <p> 2 3 <?php … … 12 13 ?> 13 14 </p> 15 </footer> 14 16 <?php wp_footer(); ?> 15 17 </body> -
100-bytes/1.1.6/functions.php
r318181 r356038 2 2 if ( ! function_exists( 'bytes100_setup' ) ) : 3 3 function bytes100_setup() { 4 load_theme_textdomain( '100-bytes' );5 6 4 add_theme_support( 'automatic-feed-links' ); 7 5 add_theme_support( 'title-tag' ); … … 13 11 14 12 function bytes100_enqueue_styles() { 15 wp_enqueue_style( 16 'bytes100-style', 17 get_stylesheet_uri(), 18 array(), 19 file _exists( get_stylesheet_directory() . '/style.css' ) ? filemtime( get_stylesheet_directory() . '/style.css' ) : false13 wp_enqueue_style( 14 'bytes100-style', 15 get_stylesheet_uri(), 16 array(), 17 filemtime( get_stylesheet_directory() . '/style.css' ) 20 18 ); 21 19 } -
100-bytes/1.1.6/header.php
r318181 r356038 9 9 <?php wp_body_open(); ?> 10 10 11 <header> 11 12 <?php if ( is_front_page() || is_home() ) : ?> 12 13 <h1> … … 22 23 </p> 23 24 <?php endif; ?> 25 </header> -
100-bytes/1.1.6/index.php
r318181 r356038 14 14 <nav aria-label="<?php echo esc_attr__( 'Posts navigation', '100-bytes' ); ?>"> 15 15 <?php 16 if ( get_previous_posts_link() ) { 17 echo get_previous_posts_link( esc_html__( 'Newer posts', '100-bytes' ) );16 if ( get_previous_posts_link() ) { 17 previous_posts_link( esc_html__( 'Newer posts', '100-bytes' ) ); 18 18 } 19 if ( get_previous_posts_link() && get_next_posts_link() ) { 20 echo '<span aria-hidden="true"> | </span>'; 19 if ( get_previous_posts_link() && get_next_posts_link() ) { 20 echo '<span aria-hidden="true"> | </span>'; 21 21 } 22 if ( get_next_posts_link() ) { 23 echo get_next_posts_link( esc_html__( 'Older posts', '100-bytes' ) );22 if ( get_next_posts_link() ) { 23 next_posts_link( esc_html__( 'Older posts', '100-bytes' ) ); 24 24 } 25 25 ?> -
100-bytes/1.1.6/readme.txt
r318181 r356038 3 3 Tags: blog, one-column, full-width-template 4 4 Requires at least: 5.6 5 Tested up to: 6.95 Tested up to: 7.1 6 6 Requires PHP: 5.6 7 Stable tag: 1.1. 57 Stable tag: 1.1.6 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 25 25 == Changelog == 26 27 = 1.1.6 = 28 29 * 2026-10-28 30 * Compatibility: WordPress 5.6 - WordPress 7.1 31 * Semantics/HTML5: added header and footer landmarks. 32 * Semantics/HTML5: use h1 for the 404 page title. 33 * Cleanup: removed the unnecessary load_theme_textdomain() call and the redundant file_exists() check. 34 * Cleanup: output pagination links with previous_posts_link() and next_posts_link(). 35 * Updated Tested up to. 26 36 27 37 = 1.1.5 = -
100-bytes/1.1.6/style.css
r318181 r356038 7 7 Idea: One day this tweet appeared on my Twitter timeline (https://twitter.com/swyx/status/1449472712720601088) and I thought it was interesting to combine it with WordPress. 8 8 Tags: blog, one-column, full-width-template 9 Version: 1.1. 59 Version: 1.1.6 10 10 License: GNU General Public License v2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 12 Text Domain: 100-bytes 13 13 Copyright: 2024 Marc Armengou 14 Tested up to: 6.8 14 Requires at least: 5.6 15 Tested up to: 7.1 15 16 Requires PHP: 5.6 16 17 */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)