Making WordPress.org


Ignore:
Timestamp:
06/29/2014 08:41:47 AM (10 years ago)
Author:
coffee2code
Message:

Code Reference: add ability for users to submit code examples (via comments). See #180

Viewable by all, but temporarily only submittable by members of the site.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php

    r687 r724  
    8282            <h2><?php _e( 'Learn More', 'wporg' ); ?></h2>
    8383        </section>
     84        */ ?>
     85
     86        <?php if ( have_comments() || ( comments_open() && is_user_member_of_blog() ) ) : ?>
    8487        <hr/>
    8588        <section class="examples">
    8689            <h2><?php _e( 'Examples', 'wporg' ); ?></h2>
     90            <?php get_template_part( 'code-example' ); ?>
    8791        </section>
    88         */ ?>
     92        <?php endif; ?>
     93
    8994    <?php endif; ?>
    9095
Note: See TracChangeset for help on using the changeset viewer.