Making WordPress.org


Ignore:
Timestamp:
05/20/2016 05:16:55 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Paint roller work is done, let's bring out the brushes.

Props mapk, hugobaeta.
See #1719.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
Files:
2 edited

Legend:

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

    • Property svn:ignore set to
      node_modules
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/page.php

    r3009 r3193  
    11<?php
     2/**
     3 * The template for displaying all pages.
     4 *
     5 * This is the template that displays all pages by default.
     6 * Please note that this is the WordPress construct of pages
     7 * and that other 'pages' on your WordPress site may use a
     8 * different template.
     9 *
     10 * @link https://codex.wordpress.org/Template_Hierarchy
     11 *
     12 * @package WordPressdotorg\Plugin_Directory\Theme
     13 */
     14
    215namespace WordPressdotorg\Plugin_Directory\Theme;
    316
    4 get_header();
    5 ?>
     17get_header(); ?>
    618
    7 <?php the_post(); ?>
     19    <main id="main" class="site-main" role="main">
    820
    9 <?php get_template_part( 'filter-bar' ); ?>
     21        <?php
     22        while ( have_posts() ) : the_post();
    1023
    11 <div class="wrapper">
    12     <div class="col-12" itemscope itemtype="http://schema.org/SoftwareApplication">
    13         <h2><?php the_title(); ?></h2>
    14         <?php the_content(); ?>
    15     </div>
    16 </div>
     24            get_template_part( 'template-parts/content', 'page' );
     25        endwhile; // End of the loop.
     26        ?>
    1727
    18 <br class="clear" />
     28    </main><!-- #main -->
     29
    1930<?php
    2031get_footer();
Note: See TracChangeset for help on using the changeset viewer.