Making WordPress.org

Changeset 10951


Ignore:
Timestamp:
05/05/2021 05:38:07 PM (3 years ago)
Author:
ryelle
Message:

Main Theme: Add 40% of the Web page template.

A page to celebrate 40% of the web and the milestones that got us here.

Props ballio2000, pablohoneyhoney, crunnells, jaswrks, cavalierlife

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php

    r10650 r10951  
    116116        wp_enqueue_script( 'jquery-modal', get_theme_file_uri( '/js/jquery.modal.min.js' ), [ 'jquery' ], '0.9.2', true );
    117117        wp_enqueue_script( 'wporg-page-download', get_theme_file_uri( '/js/page-download.js' ), [ 'jquery', 'jquery-modal' ], '20201118', true );
     118    } elseif ( is_page( '40-percent-of-web' ) ) {
     119        wp_enqueue_style( 'page-40-percent', get_theme_file_uri( '/css/page-40-percent-style.css' ), [], '1' );
    118120    }
    119121
Note: See TracChangeset for help on using the changeset viewer.