Making WordPress.org

Changeset 8556


Ignore:
Timestamp:
03/30/2019 08:55:09 AM (5 years ago)
Author:
ocean90
Message:

WordPress.org Main Theme: Create footer-wporg.php which only includes the global footer.

Use it in front-page.php to avoid a stray closing div for #content.

Fixes #4349.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub
Files:
1 edited
1 copied

Legend:

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

    r8432 r8556  
    276276
    277277<?php
    278 get_footer();
     278get_footer( 'wporg' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer-wporg.php

    r8335 r8556  
    33 * The template for displaying the footer.
    44 *
    5  * Contains the closing of the #content div and all content after.
     5 * Displays all of the wp.org footer.
    66 *
    77 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
     
    1212namespace WordPressdotorg\Theme;
    1313
    14 ?>
    15 
    16     </div><!-- #content -->
    17 <?php
    1814require WPORGPATH . 'footer.php';
    19 
    20 return;
    21 // Text used within the Global Footer:
    22 __( 'Code is Poetry.', 'wporg' );
    23 __( 'About', 'wporg' );
    24 __( 'An introduction to the WordPress project', 'wporg' );
    25 __( 'Blog', 'wporg' );
    26 __( 'News and Updates', 'wporg' );
    27 __( 'Hosting', 'wporg' );
    28 __( 'Recommended web hosting providers', 'wporg' );
    29 __( 'Donate', 'wporg' );
    30 __( 'Donate to the WordPress Foundation', 'wporg' );
    31 __( 'Support', 'wporg' );
    32 __( 'Forums, documentation, and other resources', 'wporg' );
    33 __( 'Developers', 'wporg' );
    34 __( 'Resources for WordPress developers', 'wporg' );
    35 __( 'Get Involved', 'wporg' );
    36 __( 'Give back to WordPress through code, support, translation and more', 'wporg' );
    37 __( 'Learn', 'wporg' );
    38 __( 'Workshops and training materials', 'wporg' );
    39 __( 'Showcase', 'wporg' );
    40 __( 'Some of the best WordPress sites on the Web', 'wporg' );
    41 __( 'Plugins', 'wporg' );
    42 __( 'Add extra functionality to WordPress', 'wporg' );
    43 __( 'Themes', 'wporg' );
    44 __( 'Make your WordPress pretty', 'wporg' );
    45 __( 'Ideas', 'wporg' );
    46 __( 'Share your ideas for improving WordPress', 'wporg' );
    47 __( 'WordCamp', 'wporg' );
    48 __( 'Find a WordPress event near you', 'wporg' );
    49 __( 'WordPress.TV', 'wporg' );
    50 __( 'Videos, tutorials, and WordCamp sessions', 'wporg' );
    51 __( 'BuddyPress', 'wporg' );
    52 __( 'A set of plugins to transform your WordPress into a social network', 'wporg' );
    53 __( 'bbPress', 'wporg' );
    54 __( 'Fast, slick forums built on WordPress', 'wporg' );
    55 __( 'WordPress.com', 'wporg' );
    56 __( 'Hassle-free WordPress hosting', 'wporg' );
    57 __( 'Matt', 'wporg' );
    58 __( 'Co-founder of WordPress, an example of what WordPress can do', 'wporg' );
    59 __( 'Privacy', 'wporg' );
    60 __( 'WordPress.org Privacy Policy', 'wporg' );
    61 __( 'License / GPLv2', 'wporg' );
    62 __( 'WordPress is open source software', 'wporg' );
    63 __( 'Follow %s on Twitter', 'wporg' );
    64 __( 'Like %s on Facebook', 'wporg' );
Note: See TracChangeset for help on using the changeset viewer.