Making WordPress.org

Changeset 984


Ignore:
Timestamp:
11/12/2014 10:14:16 PM (9 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org: Update bbpress.org codex sidebar to bring it inline with buddypress's. Props netweb. Fixes #639.

Location:
sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/sidebar.php

    r442 r984  
    5454    </div>
    5555
     56    <div class="user-widget">
     57        <ul>
     58            <?php if ( is_user_logged_in() ) : ?>
     59                <li><a href="<?php bloginfo( 'url' ); ?>/wp-admin/post-new.php?post_type=page">Create New Page</a></li>
     60                <li><?php edit_post_link( __( 'Edit This Page', 'bborg' ) ); ?></li>
     61            <?php endif; ?>
     62            <?php if ( ! is_user_logged_in() ) : ?>
     63                <li><a href="//wordpress.org/support/register.php">Register</a></li>
     64                <li><a href="//wordpress.org/support/bb-login.php">Lost Password</a></li>
     65                <li><a href="<?php bloginfo( 'url' ); ?>/login/">Log In</a></li>
     66            <?php endif; ?>
     67        </ul>
     68    </div>
    5669</div>
  • sites/trunk/buddypress.org/public_html/wp-content/themes/codex-bbpress-org/style.css

    r982 r984  
    178178}
    179179
     180.user-widget {
     181    margin: 20px 0;
     182    -ms-box-sizing: border-box;
     183    -moz-box-sizing: border-box;
     184    -webkit-box-sizing: border-box;
     185    box-sizing: border-box;
     186    padding: 5px 10px;
     187    background: #fff;
     188    border: 1px solid rgba(50, 140, 0, 0.30000000000000004);
     189    -webkit-border-radius: 3px;
     190    -moz-border-radius: 3px;
     191    border-radius: 3px;
     192}
     193.user-widget a {
     194    color: #328C00;
     195}
     196.user-widget ul {
     197    padding: 0;
     198    margin: 0;
     199}
     200.user-widget li {
     201    list-style: none;
     202    border-top: 1px solid rgba(50, 140, 0, 0.30000000000000004);
     203    padding: 7px 0;
     204}
     205.user-widget li:first-child {
     206    border-top: 0;
     207}
     208
    180209.search-widget {
    181210    margin: 20px 0;
Note: See TracChangeset for help on using the changeset viewer.