Changeset 14291
- Timestamp:
- 12/16/2024 08:23:32 PM (3 months ago)
- Location:
- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/footer.php
r10304 r14291 3 3 <hr class="hidden" /> 4 4 5 <?php if ( is_singular( 'page' ) ) :?>5 <?php get_template_part( 'footer', 'edits' ); ?> 6 6 7 <div class="footer-meta-wrap"> 8 <div class="footer-meta"> 9 <div class="col-half"> 10 <h3 class="title">Article Contributors</h3> 11 12 <?php 13 14 global $codex_contributors; 15 16 if ( count( $codex_contributors ) ) : ?> 17 18 <div class="contributors"> 19 20 <?php 21 $codex_contributors = array_slice( $codex_contributors, 0, 3, true ); 22 foreach ( (array) $codex_contributors as $contributor_id => $count ) : 23 $userdata = get_userdata( $contributor_id ); 24 if ( ! $userdata ) { 25 continue; 26 } 27 ?> 28 29 <div class="contributor"> 30 <a href="#"> 31 <div class="contributor-avatar float-left"> 32 <?php echo get_avatar( $contributor_id, 48 ); ?> 33 <div class="revision-count"><?php echo esc_html( $count ); ?></div> 34 <div class="contributor-name"><span><?php echo esc_html( $userdata->display_name ); ?></span></div> 35 </div> 36 </a> 37 </div> 38 39 <?php endforeach; ?> 40 41 </div> 42 43 <?php endif; ?> 44 45 <p class="date">Updated <strong><?php echo human_time_diff( get_the_modified_time( 'U', get_queried_object_id() ) ); ?></strong> ago / Published <strong><?php echo human_time_diff( get_the_time( 'U', get_queried_object_id() ) ); ?></strong> ago</p> 46 </div> 47 48 <div class="col-half"> 49 <h3 class="title">Want to help?</h3> 50 <p>The bbPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="https://codex.bbpress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p> 51 </div> 52 </div> 53 </div> 54 55 <?php endif; ?> 56 57 <div id="footer"> 7 <div id="footer"><div id="footer-inner"> 58 8 <div class="links"> 59 9 <p> 60 See also: 61 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a> • 62 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a> • 63 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a> • 64 <a href="https://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a> • 10 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bbporg'); ?></a> 11 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bbporg'); ?></a> 12 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bbporg'); ?></a> 13 <a href="https://ma.tt"><?php _e( 'Matt', 'bbporg' ); ?></a> 65 14 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bbporg' ); ?>"><?php _e( 'Blog RSS', 'bbporg' ); ?></a> 66 15 </p> … … 68 17 <div class="details"> 69 18 <p> 70 <a href="https://twitter.com/bbpress" class="twitter"><?php _e( 'Follow bbPress on Twitter', 'bbporg'); ?></a> • 71 <a href="https://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a> • 72 <a href="https://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a> • 73 <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a> • 19 <a href="https://bbpress.org/about/gpl/"><?php _e('GPL', 'bbporg'); ?></a> 20 <a href="https://bbpress.org/contact/"><?php _e('Contact Us', 'bbporg'); ?></a> 21 <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a> 74 22 <a href="https://bbpress.org/terms/"><?php _e('Terms of Service', 'bbporg'); ?></a> 23 <a href="https://x.com/bbpress"><?php _e( 'X', 'bbporg'); ?></a> 75 24 </p> 76 25 </div> 77 </div> 26 </div></div> 78 27 <?php wp_footer(); ?> 79 28 </body> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/front-page.php
r10308 r14291 7 7 <div class="post"> 8 8 9 <h 3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3>9 <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2> 10 10 11 11 <?php the_content(); ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/header-nav.php
r7154 r14291 5 5 <li><a href="https://bbpress.org/plugins/">Plugins</a></li> 6 6 <li><a href="https://bbpress.org/themes/">Themes</a></li> 7 <li class="current" class="current"><a href="https://codex.bbpress.org/">Documentation</a></li>7 <li class="current"><a href="https://codex.bbpress.org/">Documentation</a></li> 8 8 <li><a href="https://bbpress.org/blog/">Blog</a></li> 9 9 <li><a href="https://bbpress.org/forums/">Support</a></li> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/index.php
r10308 r14291 1 1 <?php get_header(); ?> 2 2 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 3 <h 3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>3 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> 4 4 <cite><?php 5 5 /* translators: 1: post date, 2: post author */ … … 11 11 <div class="single-post" id="post-<?php the_ID(); ?>"><?php the_excerpt(); ?></div> 12 12 <?php endwhile; ?> 13 13 14 14 <?php else : ?> 15 15 <p><em><?php _e( 'Sorry, no posts matched your criteria.' ); ?></em></p> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/page.php
r10303 r14291 1 1 <?php get_header(); ?> 2 2 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 3 <h 3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3>3 <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2> 4 4 <div style="margin-bottom: 20px;"><?php echo codex_get_breadcrumb(); ?></div> 5 5 <?php if ( get_the_content() ) : … … 24 24 25 25 $args = array( 'order' => 'ASC', ); 26 $revisions = wp_get_post_revisions( get_queried_object_id(), $args ); 26 $revisions = wp_get_post_revisions( get_queried_object_id(), $args ); 27 27 $post_authors = array( $post->post_author => 1 ); 28 28 foreach( (array)$revisions as $revision ) { … … 42 42 $codex_contributors = array_reverse( $post_authors, true ); 43 43 ?> 44 44 45 45 <?php locate_template( array( 'sidebar.php' ), true ); ?> 46 46 -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/sidebar.php
r10329 r14291 21 21 $children = wp_list_pages('title_li=&echo=0&child_of=' . $post->post_parent ); 22 22 $rel = '<ul>' . $children . '</ul>'; 23 echo '<div class="related-content-widget widget listified"><h 3 class="widgettitle">Similar</h3>' . $rel . '</div>';23 echo '<div class="related-content-widget widget listified"><h2 class="widgettitle">Similar</h2>' . $rel . '</div>'; 24 24 $show_related = false; 25 25 } else { … … 27 27 if ( !empty( $children ) ) { 28 28 $rel = '<ul>' . $children . '</ul>'; 29 echo '<div class="related-content-widget widget listified"><h 3 class="widgettitle">Subpages</h3>' . $rel . '</div>';29 echo '<div class="related-content-widget widget listified"><h2 class="widgettitle">Subpages</h2>' . $rel . '</div>'; 30 30 $show_related = false; 31 31 } … … 43 43 } 44 44 $rel = '<ul>' . $rel . '</ul>'; 45 echo '<div class="related-content-widget widget listified"><h 3 class="widgettitle">Related</h3>' . $rel . '</div>';45 echo '<div class="related-content-widget widget listified"><h2 class="widgettitle">Related</h2>' . $rel . '</div>'; 46 46 } 47 47 } ?> -
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/style.css
r7157 r14291 13 13 --------------------------------------------------------------------*/ 14 14 15 body.home-page.home #main {16 margin-top: 120px;17 }18 19 15 #subnav { 20 16 background: transparent; … … 57 53 width: 50%; 58 54 } 59 .footer-meta-wrap .footer-meta h 3.title {55 .footer-meta-wrap .footer-meta h2.title { 60 56 font-size: 16px; 61 57 font-weight: 400;
Note: See TracChangeset
for help on using the changeset viewer.