Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: Performance increased by caching css generated by settings. Added Twitter Feed widget. Added new template tags to reduce repeated code. Updated Posts page layout. Responsive styling updated. New touch enabled sliding menu in responsive view. Updated Options Framework to latest version. New layout for options page. Removed unneeded meta description and keyword tags. Minor styling updates. Updated bbPress theme support to 2.2. Code cleanup to follow WordPress coding standards.
- Loading branch information
1 parent
23803e1
commit bbc0937
Showing
87 changed files
with
4,161 additions
and
4,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,36 @@ | ||
<?php | ||
|
||
/** | ||
* bbPress - Forum Archive | ||
* | ||
* @package bbPress | ||
* @subpackage Theme | ||
*/ | ||
|
||
get_header(); | ||
if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) { | ||
tech_show_sidebar( "l" ); | ||
} | ||
?> | ||
|
||
<?php get_header(); | ||
if (of_get_option('forum_sidebar','0') == "1" ) { tech_show_sidebar("l");} | ||
?> | ||
<div id="content" class="<?php if (of_get_option('forum_sidebar','0') == "1" ) { echo "narrow"; }else {echo "wide";}?>column"> | ||
|
||
<?php do_action( 'bbp_template_notices' ); ?> | ||
|
||
<div id="forum-front" class="bbp-forum-front"> | ||
<h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1> | ||
<div class="entry-content"> | ||
|
||
<?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?> | ||
|
||
</div> | ||
</div><!-- #forum-front --> | ||
</div><!-- #content --> | ||
|
||
<?php | ||
if (of_get_option('forum_sidebar','0') == "1" ) { tech_show_sidebar("r"); } | ||
get_footer(); | ||
?> | ||
<div id="content" class="<?php if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) { | ||
echo "narrow"; | ||
} else { | ||
echo "wide"; | ||
} ?>column"> | ||
<?php do_action( 'bbp_before_main_content' ); ?> | ||
|
||
<?php do_action( 'bbp_template_notices' ); ?> | ||
|
||
<div id="forum-front" class="bbp-forum-front"> | ||
<h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1> | ||
<div class="entry-content"> | ||
|
||
<?php bbp_get_template_part( 'content', 'archive-forum' ); ?> | ||
|
||
</div> | ||
</div><!-- #forum-front --> | ||
|
||
<?php do_action( 'bbp_after_main_content' ); ?> | ||
</div><!-- #content --> | ||
<?php if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) { | ||
tech_show_sidebar( "r" ); | ||
} ?> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,38 @@ | ||
<?php | ||
|
||
/** | ||
* bbPress - Topic Archive | ||
* | ||
* @package bbPress | ||
* @subpackage Theme | ||
*/ | ||
|
||
get_header(); | ||
if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) { | ||
tech_show_sidebar( "l" ); | ||
} | ||
?> | ||
<div id="content" class="<?php if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) { | ||
echo "narrow"; | ||
} else { | ||
echo "wide"; | ||
} ?>column"> | ||
|
||
<?php get_header(); | ||
if (of_get_option('forum_sidebar','0') == "1" ) { tech_show_sidebar("l");} | ||
?> | ||
<div id="content" class="<?php if (of_get_option('forum_sidebar','0') == "1" ) { echo "narrow"; }else {echo "wide";}?>column"> | ||
<?php do_action( 'bbp_before_main_content' ); ?> | ||
|
||
<?php do_action( 'bbp_template_notices' ); ?> | ||
<?php do_action( 'bbp_template_notices' ); ?> | ||
|
||
<div id="topic-front" class="bbp-topics-front"> | ||
<h1 class="entry-title"><?php bbp_topic_archive_title(); ?></h1> | ||
<div class="entry-content"> | ||
<div id="topic-front" class="bbp-topics-front"> | ||
<h1 class="entry-title"><?php bbp_topic_archive_title(); ?></h1> | ||
<div class="entry-content"> | ||
|
||
<?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?> | ||
<?php bbp_get_template_part( 'content', 'archive-topic' ); ?> | ||
|
||
</div> | ||
</div><!-- #topics-front --> | ||
</div> | ||
</div><!-- #topics-front --> | ||
|
||
</div><!-- #content --> | ||
<?php do_action( 'bbp_after_main_content' ); ?> | ||
</div><!-- #content --> | ||
|
||
<?php | ||
if (of_get_option('forum_sidebar','0') == "1" ) { tech_show_sidebar("r"); } | ||
get_footer(); | ||
?> | ||
<?php if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) { | ||
tech_show_sidebar( "r" ); | ||
} ?> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.