Skip to content

Commit 297d80d

Browse files
committed
learn.jquery.com: remove templating for contributors attributions
1 parent 28fe8bd commit 297d80d

File tree

2 files changed

+0
-44
lines changed

2 files changed

+0
-44
lines changed

themes/learn.jquery.com/content-page.php

-21
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,6 @@
4444
<ul>
4545
<li class="icon-calendar icon-large" title="Last Updated"><span><?php the_modified_time('F j, Y'); ?></span></li>
4646
</ul>
47-
<?php if ( get_post_meta( $post->ID, "contributors" ) ) : ?>
48-
<?php $contributors = json_decode(get_post_meta( $post->ID, "contributors", true)) ?>
49-
<h3>Contributors</h3>
50-
<ul class="contributor-list">
51-
<?php foreach ($contributors as $contrib) { ?>
52-
<li>
53-
<?php if ( isset( $contrib ->source ) ) : ?>
54-
<a href="<?php echo $contrib->source ?>">
55-
<?php endif ?>
56-
<?php if ( isset( $contrib ->email ) ) : ?>
57-
<?php echo get_avatar( $contrib->email, 24) ?>
58-
<?php endif ?>
59-
<?php echo $contrib->name ?>
60-
<?php if ( isset( $contrib ->source ) ) : ?>
61-
</a>
62-
<?php endif ?>
63-
64-
</li>
65-
<?php } ?>
66-
</ul>
67-
<?php endif; ?>
6847
</aside>
6948
<aside class="github-feedback six columns">
7049
<h3>Suggestions, Problems, Feedback?</h3>

themes/learn.jquery.com/style.css

-23
Original file line numberDiff line numberDiff line change
@@ -196,29 +196,6 @@ a {
196196
float: left;
197197
}
198198

199-
.entry-meta aside.meta-details .contributor-list {
200-
list-style-type: none;
201-
margin: 0;
202-
}
203-
#content .entry-meta aside.meta-details .contributor-list li {
204-
font-size: 14px;
205-
line-height: 24px;
206-
margin: 0 0 4px 0;
207-
background: none;
208-
padding-left: 0;
209-
}
210-
211-
.entry-meta aside.meta-details .contributor-list li a {
212-
text-decoration: none;
213-
}
214-
215-
.entry-meta aside.meta-details .contributor-list li a:hover {
216-
text-decoration: underline;
217-
}
218-
.entry-meta aside.meta-details .contributor-list li img {
219-
vertical-align: middle;
220-
margin-right: 4px;
221-
}
222199
.meta .feedback {
223200
float: left;
224201
display: block;

0 commit comments

Comments
 (0)