File tree 4 files changed +16
-2
lines changed
4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -120,3 +120,11 @@ function jq_page_links_for_category( $category ) {
120
120
return $ ret ;
121
121
}
122
122
123
+ function jq_get_github_url () {
124
+ global $ post ;
125
+ $ source_path = get_post_meta ( $ post ->ID , "source_path " );
126
+ $ github_prefix = 'https://github.com/jquery/ ' . get_stylesheet () . '/tree/master/ ' . $ source_path [0 ];
127
+ return $ github_prefix ;
128
+ }
129
+
130
+ ?>
Original file line number Diff line number Diff line change 18
18
<?php comments_template ( '' , true ); ?>
19
19
20
20
21
- <?php get_footer (); ?>
21
+ <?php get_footer (); ?>
Original file line number Diff line number Diff line change 11
11
<?php get_template_part ( 'content ' , 'page ' ); ?>
12
12
13
13
<?php comments_template ( '' , true ); ?>
14
-
14
+ <h2>Suggestions, Problems, Feedback</h2>
15
+ <a class="btn" href="<?php echo jq_get_github_url (); ?> "><i class="icon-github"></i> Open an Issue or Submit a Pull Request on GitHub</a>
16
+
15
17
</div>
16
18
<!-- /inner -->
17
19
Original file line number Diff line number Diff line change @@ -59,3 +59,7 @@ Template: jquery
59
59
letter-spacing : 0 ;
60
60
margin : 4px 0 0 0 ;
61
61
}
62
+
63
+ # body .inner .icon-github {
64
+ color : # 30b9f8 ;
65
+ }
You can’t perform that action at this time.
0 commit comments