Skip to content

Commit 2ca661b

Browse files
committed
Merge pull request #86 from chexee/new-css
Base jQuery Parent Theme: Removes more unnecessary elements and adds more adds more specific descriptions to template DocBlocs
2 parents 7e67f00 + b19502e commit 2ca661b

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

themes/jquery/content-api.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
22
/**
3-
* The default template for displaying content
3+
* The template for displaying individual aspects of the API documentation.
4+
*
5+
* The content displayed by this template is managed in a GitHub repository at:
6+
* https://github.com/jquery/api.jquery.com
47
*/
58
?>
69

themes/jquery/content-page.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?php
22
/**
3-
* The template used for displaying page content in page.php
3+
* The template used for displaying pages
4+
*
5+
* the_content() pulls in data from GitHub repositories
6+
* All content is managed by repositories at: https://github.com/jquery
47
*/
58
?>
69

7-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
8-
<div class="entry-content">
9-
<?php the_content(); ?>
10-
</div><!-- .entry-content -->
11-
</article><!-- #post-<?php the_ID(); ?> -->
10+
<?php the_content(); ?>

themes/jquery/content-single-api.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<?php
22
/**
3-
* The template for displaying content in the single.php template
4-
*/
5-
?>
3+
* The template for displaying a detailed view of individual aspects of the API documentation.
4+
*
5+
* The content displayed by this template is managed in a GitHub repository at:
6+
* https://github.com/jquery/api.jquery.com
7+
**/
8+
?>
69

710
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
811
<header class="entry-header">

themes/jquery/index.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,13 @@
1212

1313
<?php if ( have_posts() ) : ?>
1414

15-
<?php twentyeleven_content_nav( 'nav-above' ); ?>
16-
1715
<?php /* Start the Loop */ ?>
1816
<?php while ( have_posts() ) : the_post(); ?>
1917

2018
<?php get_template_part( 'content' ); ?>
2119

2220
<?php endwhile; ?>
2321

24-
<?php twentyeleven_content_nav( 'nav-below' ); ?>
25-
2622
<?php else : ?>
2723

2824
<article id="post-0" class="post no-results not-found">

themes/jquery/sidebar-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* The Sidebar containing the main widget area.
3+
* The Sidebar containing the main widget area for API sites.
44
*/
55
?>
66
<div id="sidebar" class="widget-area" role="complementary">

0 commit comments

Comments
 (0)