File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Template Name: Code of Conduct Sidebar Template
4
+ * Description: A Page Template that adds a sidebar to pages
5
+ */
6
+
7
+ get_header (); ?>
8
+
9
+ <div id="primary" class="twelve columns">
10
+ <div id="content" role="main">
11
+
12
+ <?php the_post (); ?>
13
+ <?php if ( !count ( get_post_meta ( $ post ->ID , "hide_title " ) ) ) : ?>
14
+ <h1 class="entry-title"><?php the_title (); ?> </h1>
15
+ <hr>
16
+ <?php endif ; ?>
17
+
18
+ <?php get_template_part ( 'content ' , 'page ' ); ?>
19
+
20
+ <?php comments_template ( '' , true ); ?>
21
+
22
+ </div><!-- #content -->
23
+
24
+ <div id="sidebar" class="sidebar-right" role="complementary">
25
+ <aside class="widget">
26
+ <h3>jQuery Foundation Code of Conduct</h3>
27
+ <ul>
28
+ <li><a href="https://jquery.org/conduct/">Code of Conduct</a></li>
29
+ <li><a href="https://jquery.org/conduct/committee/">Committee</a></li>
30
+ <li><a href="https://jquery.org/conduct/faq/">Frequently Asked Questions</a></li>
31
+ <li><a href="https://jquery.org/conduct/reporting/">Reporting Guide</a></li>
32
+ <li><a href="https://jquery.org/conduct/enforcement-manual/">Enforcement Manual</a></li>
33
+ <li><a href="https://jquery.org/conduct/changes/">Changes</a></li>
34
+ </ul>
35
+ </aside>
36
+
37
+ <h2>License</h2>
38
+ <p>
39
+ All content on this page is licensed under a
40
+ <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution </a> license.
41
+ </p>
42
+ <p>
43
+ <a href="http://creativecommons.org/licenses/by/3.0/">
44
+ <img src="//i.creativecommons.org/l/by/3.0/88x31.png" height="31" width="88" alt="CC-by">
45
+ </a>
46
+ </p>
47
+ </div>
48
+ </div><!-- #primary -->
49
+
50
+ <?php get_footer (); ?>
Original file line number Diff line number Diff line change 93
93
<li><a href="https://jquery.org/join/">Join</a></li>
94
94
<li><a href="https://jquery.org/members/">Members</a></li>
95
95
<li><a href="https://jquery.org/team/">Team</a></li>
96
+ <li><a href="https://jquery.org/conduct/">Conduct</a></li>
96
97
<li><a href="http://brand.jquery.org/">Brand Guide</a></li>
97
98
<li><a href="https://jquery.org/donate/">Donate</a></li>
98
99
</ul>
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ function menu_header_jquery_org() {
94
94
'https://jquery.org/members/ ' => 'Members ' ,
95
95
'https://jquery.org/support/ ' => 'Support ' ,
96
96
'https://jquery.org/team/ ' => 'Team ' ,
97
+ 'https://jquery.org/conduct/ ' => 'Conduct ' ,
97
98
'http://meetings.jquery.org/ ' => 'Meetings ' ,
98
99
'https://jquery.org/history/ ' => 'History ' ,
99
100
'http://brand.jquery.org/ ' => 'Brand Guide ' ,
You can’t perform that action at this time.
0 commit comments