Making WordPress.org


Ignore:
Timestamp:
07/03/2018 01:54:51 AM (8 years ago)
Author:
obenland
Message:

Main: Add two more page templates for download

Also makes History page translatable.

See #3673.

File:
1 edited

Legend:

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

    r7350 r7362  
    3333        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    3434            <header class="entry-header">
    35                 <h1 class="entry-title col-8"><?php the_title(); ?></h1>
     35                <?php the_title( '<h1 class="entry-title col-8">', '</h1>' ); ?>
    3636            </header><!-- .entry-header -->
    3737
    3838            <div class="entry-content row">
    3939                <section class="col-8">
    40                     <p>We&#8217;ve been working on a new book about the history of WordPress drawing on dozens of interviews with the original folks involved and extensive research. It&#8217;s not ready yet, but for the tenth anniversary of WordPress we&#8217;d like to make a chapter available, <em>On forking WordPress, forks in general, early WordPress, and the community</em>, which you can download below in the following formats:</p>
     40                    <p><?php echo wp_kses_post( __( 'We&#8217;ve been working on a new book about the history of WordPress drawing on dozens of interviews with the original folks involved and extensive research. It&#8217;s not ready yet, but for the tenth anniversary of WordPress we&#8217;d like to make a chapter available, <em>On forking WordPress, forks in general, early WordPress, and the community</em>, which you can download below in the following formats:', 'wporg' ) ); ?></p>
    4141
    4242                    <ul>
    43                         <li><a href="chapter3.epub">Chapter 3 - EPUB</a></li>
    44                         <li><a href="chapter3.mobi">Chapter 3 - MOBI</a></li>
    45                         <li><a href="chapter3.pdf">Chapter 3 - PDF</a></li>
     43                        <li>
     44                            <a href="chapter3.epub">
     45                                <?php
     46                                /* translators: file format */
     47                                printf( __( 'Chapter 3 &endash; %s', 'wporg' ), 'EPUB' );
     48                                ?>
     49                            </a>
     50                        </li>
     51                        <li>
     52                            <a href="chapter3.mobi">
     53                                <?php
     54                                /* translators: file format */
     55                                printf( __( 'Chapter 3 &endash; %s', 'wporg' ), 'MOBI' );
     56                                ?>
     57                            </a>
     58                        </li>
     59                        <li>
     60                            <a href="chapter3.pdf">
     61                                <?php
     62                                /* translators: file format */
     63                                printf( __( 'Chapter 3 &endash; %s', 'wporg' ), 'PDF' );
     64                                ?>
     65                            </a>
     66                        </li>
    4667                    </ul>
    4768                </section>
    4869            </div><!-- .entry-content -->
    49 
    5070        </article><!-- #post-## -->
    5171
Note: See TracChangeset for help on using the changeset viewer.