Skip to content

Base jQuery Parent Theme: Removes more unnecessary elements and adds more adds more specific descriptions to template DocBlocs #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion themes/jquery/content-api.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php
/**
* The default template for displaying content
* The template for displaying individual aspects of the API documentation.
*
* The content displayed by this template is managed in a GitHub repository at:
* https://github.com/jquery/api.jquery.com
*/
?>

Expand Down
11 changes: 5 additions & 6 deletions themes/jquery/content-page.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
/**
* The template used for displaying page content in page.php
* The template used for displaying pages
*
* the_content() pulls in data from GitHub repositories
* All content is managed by repositories at: https://github.com/jquery
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">
<?php the_content(); ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->
<?php the_content(); ?>
9 changes: 6 additions & 3 deletions themes/jquery/content-single-api.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php
/**
* The template for displaying content in the single.php template
*/
?>
* The template for displaying a detailed view of individual aspects of the API documentation.
*
* The content displayed by this template is managed in a GitHub repository at:
* https://github.com/jquery/api.jquery.com
**/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
Expand Down
4 changes: 0 additions & 4 deletions themes/jquery/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@

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

<?php twentyeleven_content_nav( 'nav-above' ); ?>

<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>

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

<?php endwhile; ?>

<?php twentyeleven_content_nav( 'nav-below' ); ?>

<?php else : ?>

<article id="post-0" class="post no-results not-found">
Expand Down
2 changes: 1 addition & 1 deletion themes/jquery/sidebar-api.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* The Sidebar containing the main widget area.
* The Sidebar containing the main widget area for API sites.
*/
?>
<div id="sidebar" class="widget-area" role="complementary">
Expand Down