Make WordPress Themes

Changeset 356039


Ignore:
Timestamp:
10/28/2026 09:31:15 PM (12 hours ago)
Author:
themedropbox
Message:

New version of 200 Bytes - 1.1.2

Location:
200-bytes/1.1.2
Files:
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • 200-bytes/1.1.2/404.php

    r318194 r356039  
    11<?php get_header(); ?>
    22<main>
    3     <h2><?php esc_html_e( 'Oops! That page can’t be found.', '200-bytes' ); ?></h2>
     3    <h1><?php esc_html_e( 'Oops! That page can’t be found.', '200-bytes' ); ?></h1>
    44    <p><?php esc_html_e( 'It looks like nothing was found at this location.', '200-bytes' ); ?></p>
    55    <p><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Go to homepage', '200-bytes' ); ?></a></p>
  • 200-bytes/1.1.2/footer.php

    r318194 r356039  
     1<footer>
    12<p>
    23<?php
    … …  
    1213?>
    1314</p>
     15</footer>
    1416<?php wp_footer(); ?>
    1517</body>
  • 200-bytes/1.1.2/functions.php

    r318194 r356039  
    22if ( ! function_exists( 'bytes200_setup' ) ) :
    33function bytes200_setup() {
    4     load_theme_textdomain( '200-bytes' );
    5 
    64    add_theme_support( 'automatic-feed-links' );
    75    add_theme_support( 'title-tag' );
    … …  
    1311
    1412function bytes200_enqueue_styles() {
    15     wp_enqueue_style( 
    16         'bytes200-style', 
    17         get_stylesheet_uri(), 
    18         array(), 
    19         file_exists( get_stylesheet_directory() . '/style.css' ) ? filemtime( get_stylesheet_directory() . '/style.css' ) : false
     13    wp_enqueue_style(
     14        'bytes200-style',
     15        get_stylesheet_uri(),
     16        array(),
     17        filemtime( get_stylesheet_directory() . '/style.css' )
    2018    );
    2119}
  • 200-bytes/1.1.2/header.php

    r318194 r356039  
    99<?php wp_body_open(); ?>
    1010
     11<header>
    1112<?php if ( is_front_page() || is_home() ) : ?>
    1213  <h1>
    … …  
    2223  </p>
    2324<?php endif; ?>
     25</header>
  • 200-bytes/1.1.2/index.php

    r318194 r356039  
    1414        <nav aria-label="<?php echo esc_attr__( 'Posts navigation', '200-bytes' ); ?>">
    1515            <?php
    16             if ( get_previous_posts_link() ) { 
    17                 echo get_previous_posts_link( esc_html__( 'Newer posts', '200-bytes' ) );
     16            if ( get_previous_posts_link() ) {
     17                previous_posts_link( esc_html__( 'Newer posts', '200-bytes' ) );
    1818            }
    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>';
    2121            }
    22             if ( get_next_posts_link() ) { 
    23                 echo get_next_posts_link( esc_html__( 'Older posts', '200-bytes' ) );
     22            if ( get_next_posts_link() ) {
     23                next_posts_link( esc_html__( 'Older posts', '200-bytes' ) );
    2424            }
    2525            ?>
  • 200-bytes/1.1.2/readme.txt

    r318194 r356039  
    33Tags: blog, one-column, full-width-template
    44Requires at least: 5.6
    5 Tested up to: 6.9
     5Tested up to: 7.1
    66Requires PHP: 5.6
    7 Stable tag: 1.1.1
     7Stable tag: 1.1.2
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2020
    2121== Copyright ==
    22 200 Bytes, Copyright 2023-2026 Marc Armengou
     22200 Bytes, Copyright 2024 Marc Armengou
    2323200 Bytes is distributed under the terms of the GNU GPL
    2424
    2525== Changelog ==
    2626
     27= 1.1.2 =
     28* 2026-10-28
     29* Compatibility: WordPress 5.6 - WordPress 7.1
     30* Semantics/HTML5: added header and footer landmarks.
     31* Semantics/HTML5: use h1 for the 404 page title.
     32* Cleanup: removed the unnecessary load_theme_textdomain() call and the redundant file_exists() check.
     33* Cleanup: output pagination links with previous_posts_link() and next_posts_link().
     34* Updated Tested up to.
     35
    2736= 1.1.1 =
    2837* 2026-03-17
    2938* Security: Full implementation of "Late Escaping". All dynamic data is escaped at the exact point of rendering.
    30 * Accessibility: Added mandatory "Skip to content" link for keyboard navigation.
    3139* Accessibility: Implemented ARIA labels for post navigation and pagination.
    3240* Semantics: Migrated structure from generic divs to HTML5 semantic elements (<main>, <article>, <nav>).
    3341* Performance: Implemented filemtime() cache-busting for stylesheet enqueuing.
    34 * Architecture: Refactored functions.php with strict typing (PHP 8.2+) and modern array syntax.
    3542* Cleanup: Removed obsolete XFN profile link and modernized header logic.
    3643
    3744= 1.1.0 =
    38 * 2024-13-01
     45* 2024-01-13
    3946* Compatibility: WordPress 5.6 - WordPress 6.4.2
    4047* Compatibility: PHP 5.6 - PHP 8.3
  • 200-bytes/1.1.2/style.css

    r318194 r356039  
    77Idea: Inspired by this: https://dev.to/swyx/100-bytes-of-css-to-look-great-everywhere-19pd
    88Tags: blog, one-column, full-width-template
    9 Version: 1.1.1
     9Version: 1.1.2
    1010License: GNU General Public License v2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1212Text Domain: 200-bytes
    1313Copyright: 2024 Marc Armengou
    14 Tested up to: 6.9
     14Requires at least: 5.6
     15Tested up to: 7.1
    1516Requires PHP: 5.6
    1617*/
Note: See TracChangeset for help on using the changeset viewer.