diff --git a/README.md b/README.md index ce212c7..df20c64 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,21 @@ ![Theme Logo](screenshot.png?raw=true) -Finally a free and open source knowledgebase theme made specifically for WordPress. +Finally a free and open source knowledge base theme made specifically for WordPress. Uses twitter bootstrap for rendering UI components and some other open source elements for rendering niceness. -We are going to release first stable version 1.1.0. Check the release channel. +Released version 1.1.0. Download the release and upload it as a WordPress Theme. ## Acknowledgement Before we dive into the cool features of this theme, let's take a minute here to acknowledge all the tools that were used during the development of this theme. -* [*Underscore Starter Theme*](http://underscores.me/): The basic theme framework. -* [*Twitter Bootstrap 3.0*](http://getbootstrap.com/): Nothing would've been possible without this. -* [*Icomoon Icons*](http://icomoon.io/): Along with Glyphicons, we've included icomoon for more icons. -* [*Sticky-kit*](https://github.com/leafo/sticky-kit): A little forked version of it to provide the affix widget. -* [*wp-bootstrap-navwalker*](https://github.com/twittem/wp-bootstrap-navwalker): A little forked version to generate the top nav. +* [Underscore Starter Theme](http://underscores.me/): The basic theme framework. +* [Twitter Bootstrap 3.0](http://getbootstrap.com/): Nothing would've been possible without this. +* [Icomoon Icons](http://icomoon.io/): Along with Glyphicons, we've included icomoon for more icons. +* [Sticky-kit](https://github.com/leafo/sticky-kit): A little forked version of it to provide the affix widget. +* [wp-bootstrap-navwalker](https://github.com/twittem/wp-bootstrap-navwalker): A little forked version to generate the top nav. +* [Google Webfonts](http://www.google.com/fonts/): Particularly, Oswald & Roboto Fonts are used. ## Features * Awesome bootstrap 3.0 UI all over the theme. @@ -32,8 +33,16 @@ all the tools that were used during the development of this theme. * In built compatibility with a number of other plugins. (See recommended plugins). * A nice and small footer to show off. * Bootstrap navigation menu with custom-header image as logo. +* Custom 404 page! [Check it](http://ipanelthemes.com/kb/i-am-a-smart-404-page/). +* Integrated SEO support with BreadCrumbs (Rich Snippets) and third-party plugin integrations. * and so on... +## Documentation +Comprehensive documentation on how to use this theme is available [at this link](http://ipanelthemes.com/kb/products/wp-knowledge-base-theme/). + +## Live Preview +Check our own [Knowledge Base](http://ipanelthemes.com/kb/). + ## Core Components converted to bootstrap UI * Home Page * Category Pages @@ -61,9 +70,4 @@ This will always be the cutting edge development version of the theme. Pull requ * [Category and Post Ordering](http://ipanelthemes.com/kb/category-post-ordering/) : Reorder Knowledge Bases and articles. * [Syntax Highlighter Evolved](http://ipanelthemes.com/kb/syntax-highlighting/) : Put source codes on your post. * [WP-PageNavi](http://ipanelthemes.com/kb/pagination-using-wp-pagenavi/) : Convert Next/Previous links on archive pages to paginations. - -## Documentation -Comprehensive documentation on how to use this theme is available [at this link](http://ipanelthemes.com/kb/products/wp-knowledge-base-theme/). - -## Live Preview -Check our own [Knowledge Base](http://ipanelthemes.com/kb/). +* [WordPress SEO](http://ipanelthemes.com/kb/search-engine-optimization/) : Complete compatibility with WordPress SEO by Yoast. diff --git a/category-templates/category-child.php b/category-templates/category-child.php index 5d1dda8..7c3e7ff 100644 --- a/category-templates/category-child.php +++ b/category-templates/category-child.php @@ -23,7 +23,7 @@
-
+
-
+

query_vars['paged'], $wp_query->max_num_pages ); ?>

+
-
+
-
+

+
+ +

+ <?php echo esc_attr( $cat->name ); ?> +

+ +
+ +

+ +

+ +
+
array( - 'facebook' => __( 'Facebook', 'ipt_kb' ), - 'twitter' => __( 'Twitter', 'ipt_kb' ), - 'gplus' => __( 'Google Plus', 'ipt_kb' ), - 'youtube' => __( 'Youtube', 'ipt_kb' ), - 'vimeo' => __( 'Vimeo', 'ipt_kb' ), - 'pinterest' => __( 'Pinterest', 'ipt_kb' ), - 'envato' => __( 'Follow on envato marketplaces', 'ipt_kb' ), + 'facebook' => __( 'Like us on Facebook', 'ipt_kb' ), + 'twitter' => __( 'Follow us on Twitter', 'ipt_kb' ), + 'gplus' => __( 'Circle us on Google Plus', 'ipt_kb' ), + 'youtube' => __( 'Subscribe to our Youtube Channel', 'ipt_kb' ), + 'vimeo' => __( 'Subscribe to our Vimeo Channel', 'ipt_kb' ), + 'pinterest' => __( 'Follow us on Pinterest', 'ipt_kb' ), + 'envato' => __( 'Follow us on envato marketplaces', 'ipt_kb' ), ), 'social_classes' => array( 'facebook' => 'ipt-facebook', diff --git a/inc/template-tags.php b/inc/template-tags.php index 0d48386..2fccefc 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -56,8 +56,8 @@ function ipt_kb_content_nav( $nav_id ) { // Don't print empty markup on single pages if there's nowhere to navigate. if ( is_single() ) { - $previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( false, '', true ); - $next = get_adjacent_post( false, '', false ); + $previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( true, '', true ); + $next = get_adjacent_post( true, '', false ); if ( ! $next && ! $previous ) return; @@ -77,8 +77,8 @@ function ipt_kb_content_nav( $nav_id ) {
  • - %link', '' . _x( '', 'Previous post link', 'ipt_kb' ) . ' %title' ); ?> - %link', '%title ' . _x( '', 'Next post link', 'ipt_kb' ) . '' ); ?> + %link', '' . _x( '', 'Previous post link', 'ipt_kb' ) . ' %title', true ); ?> + %link', '%title ' . _x( '', 'Next post link', 'ipt_kb' ) . '', true ); ?> max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?> diff --git a/js/ipt-kb.js b/js/ipt-kb.js index f68671b..d5061ba 100644 --- a/js/ipt-kb.js +++ b/js/ipt-kb.js @@ -140,9 +140,11 @@ jQuery(document).ready(function($) { if ( cookie_str !== '' ) { cookie_str += ' expires=' + exp_date.toUTCString() + '; path=/'; document.cookie = cookie_str; - - // Also set the recalc and adjust_height - adjust_height(); } + + // Also set the recalc and adjust_height + // This might even be necessary for other components + // Say a collapsible inside the entry-content + adjust_height(); }); }); diff --git a/languages/en_US.po b/languages/en_US.po index d99b63e..7df58f5 100644 --- a/languages/en_US.po +++ b/languages/en_US.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: WP Knowledge Base Theme\n" -"POT-Creation-Date: 2013-10-09 00:55+0530\n" -"PO-Revision-Date: 2013-10-09 00:55+0530\n" +"POT-Creation-Date: 2013-10-09 18:57+0530\n" +"PO-Revision-Date: 2013-10-09 18:57+0530\n" "Last-Translator: Swashata Ghosh \n" "Language-Team: ipanelthemes.com \n" "Language: en_US\n" @@ -114,8 +114,8 @@ msgid "

    Pages:

    " msgstr "" #: ../content-page.php:23 ../content-single.php:60 ../content.php:71 -#: ../image.php:32 ../image.php:64 ../inc/template-tags.php:77 -#: ../inc/template-tags.php:118 +#: ../image.php:32 ../image.php:64 ../inc/template-tags.php:119 +#: ../inc/template-tags.php:160 msgid "Edit" msgstr "" @@ -216,20 +216,21 @@ msgstr "" msgid "Toggle navigation" msgstr "" -#: ../home.php:41 ../home.php:53 ../category-templates/category-parent.php:73 +#: ../home.php:41 ../home.php:53 ../home.php:72 +#: ../category-templates/category-parent.php:87 #: ../inc/class-ipt-kb-affix-widget.php:126 msgid "Get support" msgstr "" -#: ../home.php:57 ../home.php:99 ../category-templates/category-parent.php:77 +#: ../home.php:57 ../home.php:115 ../category-templates/category-parent.php:91 msgid "Browse all" msgstr "" -#: ../home.php:115 +#: ../home.php:131 msgid "Recent articles" msgstr "" -#: ../home.php:143 +#: ../home.php:159 msgid "Popular articles" msgstr "" @@ -242,11 +243,15 @@ msgid "" msgstr "" #: ../image.php:37 -msgid " Previous" +msgid "" +" Previous" msgstr "" #: ../image.php:38 -msgid "Next " +msgid "" +"Next " msgstr "" #: ../image.php:58 @@ -291,18 +296,21 @@ msgid "Search Knowledgebase for %s…" msgstr "" #: ../category-templates/category-child.php:39 +#: ../category-templates/category-child.php:66 msgid "Support" msgstr "" #: ../category-templates/category-parent.php:17 +#: ../category-templates/category-parent.php:37 msgid "Get Support" msgstr "" -#: ../category-templates/category-parent.php:62 +#: ../category-templates/category-parent.php:76 +#: ../category-templates/category-parent.php:109 msgid "Browse" msgstr "" -#: ../category-templates/category-parent.php:67 +#: ../category-templates/category-parent.php:81 #, php-format msgid "%1$s / %2$s" msgstr "" @@ -380,31 +388,31 @@ msgid "Stay Connected" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:41 -msgid "Facebook" +msgid "Like us on Facebook" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:42 -msgid "Twitter" +msgid "Follow us on Twitter" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:43 -msgid "Google Plus" +msgid "Circle us on Google Plus" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:44 -msgid "Youtube" +msgid "Subscribe to our Youtube Channel" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:45 -msgid "Vimeo" +msgid "Subscribe to our Vimeo Channel" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:46 -msgid "Pinterest" +msgid "Follow us on Pinterest" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:47 -msgid "Follow on envato marketplaces" +msgid "Follow us on envato marketplaces" msgstr "" #: ../inc/class-ipt-kb-social-widget.php:61 @@ -428,7 +436,7 @@ msgstr "" msgid "Cheatin’ uh?" msgstr "" -#: ../inc/ipt-kb-like-article.php:22 ../inc/template-tags.php:255 +#: ../inc/ipt-kb-like-article.php:22 ../inc/template-tags.php:297 msgid "You like it already" msgstr "" @@ -436,147 +444,159 @@ msgstr "" msgid "Thank you." msgstr "" +#: ../inc/template-tags.php:33 +msgid "« First" +msgstr "" + #: ../inc/template-tags.php:35 +msgid "Last »" +msgstr "" + +#: ../inc/template-tags.php:77 msgid "Post navigation" msgstr "" -#: ../inc/template-tags.php:38 +#: ../inc/template-tags.php:80 msgctxt "Previous post link" -msgid "←" +msgid "" msgstr "" -#: ../inc/template-tags.php:39 +#: ../inc/template-tags.php:81 msgctxt "Next post link" -msgid "→" +msgid "" msgstr "" -#: ../inc/template-tags.php:44 -msgid " Older posts" +#: ../inc/template-tags.php:86 +msgid "" +" Older posts" msgstr "" -#: ../inc/template-tags.php:48 -msgid "Newer posts " +#: ../inc/template-tags.php:90 +msgid "" +"Newer posts " msgstr "" -#: ../inc/template-tags.php:77 +#: ../inc/template-tags.php:119 msgid "Pingback:" msgstr "" -#: ../inc/template-tags.php:87 +#: ../inc/template-tags.php:129 #, php-format msgid "%s says:" msgstr "" -#: ../inc/template-tags.php:90 +#: ../inc/template-tags.php:132 msgid "Your comment is awaiting moderation." msgstr "" -#: ../inc/template-tags.php:108 +#: ../inc/template-tags.php:150 msgid "  Reply" msgstr "" -#: ../inc/template-tags.php:115 +#: ../inc/template-tags.php:157 #, php-format msgctxt "1: date, 2: time" msgid "%1$s at %2$s" msgstr "" -#: ../inc/template-tags.php:196 +#: ../inc/template-tags.php:238 #, php-format msgid "" " " "Posted on %1$s by %2$s" msgstr "" -#: ../inc/template-tags.php:252 +#: ../inc/template-tags.php:294 msgid "This article was helpful" msgstr "" -#: ../inc/template-tags.php:259 ../inc/template-tags.php:269 +#: ../inc/template-tags.php:301 ../inc/template-tags.php:311 #, php-format msgid "%d person found this article useful" msgid_plural "%d people found this article useful" msgstr[0] "" msgstr[1] "" -#: ../inc/template-tags.php:260 ../inc/template-tags.php:265 +#: ../inc/template-tags.php:302 ../inc/template-tags.php:307 msgid "Please wait" msgstr "" -#: ../inc/template-tags.php:283 ../inc/template-tags.php:287 +#: ../inc/template-tags.php:325 ../inc/template-tags.php:329 msgid "Home" msgstr "" -#: ../inc/template-tags.php:403 +#: ../inc/template-tags.php:445 msgid "Search result" msgstr "" -#: ../inc/template-tags.php:407 +#: ../inc/template-tags.php:449 msgid "Error 404 - Not found" msgstr "" -#: ../inc/template-tags.php:411 +#: ../inc/template-tags.php:453 msgid "Archive" msgstr "" -#: ../inc/template-tags.php:443 +#: ../inc/template-tags.php:485 msgid "Name" msgstr "" -#: ../inc/template-tags.php:445 +#: ../inc/template-tags.php:487 msgid "Email" msgstr "" -#: ../inc/template-tags.php:447 +#: ../inc/template-tags.php:489 msgid "Website" msgstr "" -#: ../inc/template-tags.php:451 +#: ../inc/template-tags.php:493 #, php-format msgid "Required fields are marked %s" msgstr "" -#: ../inc/template-tags.php:454 +#: ../inc/template-tags.php:496 msgctxt "noun" msgid "Comment" msgstr "" -#: ../inc/template-tags.php:455 +#: ../inc/template-tags.php:497 #, php-format msgid "You must be logged in to post a comment." msgstr "" -#: ../inc/template-tags.php:456 +#: ../inc/template-tags.php:498 #, php-format msgid "" "Logged in as %2$s. Log out?" msgstr "" -#: ../inc/template-tags.php:457 +#: ../inc/template-tags.php:499 msgid "Your email address will not be published." msgstr "" -#: ../inc/template-tags.php:458 +#: ../inc/template-tags.php:500 #, php-format msgid "" "You may use these HTML tags " "and attributes: %s" msgstr "" -#: ../inc/template-tags.php:461 +#: ../inc/template-tags.php:503 msgid "Leave a Reply" msgstr "" -#: ../inc/template-tags.php:462 +#: ../inc/template-tags.php:504 #, php-format msgid "Leave a Reply to %s" msgstr "" -#: ../inc/template-tags.php:463 +#: ../inc/template-tags.php:505 msgid "Cancel reply" msgstr "" -#: ../inc/template-tags.php:464 +#: ../inc/template-tags.php:506 msgid "Post Comment" msgstr "" diff --git a/readme.txt b/readme.txt index d2eca66..83b9ec7 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: swashata, iPanelThemes Tags: two-columns, flexible-width, custom-header, custom-menu, featured-images, gray, light Requires at least: 3.5 Tested up to: 3.7 -Stable tag: 1.0.0 +Stable tag: 1.1.0 A responsive bootstrap based theme for maintaining multi product knowledge base on your WordPress site. diff --git a/style.css b/style.css index ae1341c..81f5339 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: http://ipanelthemes.com/kb/products/wp-knowledge-base-theme/ Author: swashata Author URI: http://ipanelthemes.com Description: A responsive bootstrap based theme for maintaining multi product knowledge base on your WordPress site. -Version: 1.0.0 +Version: 1.1.0 License: GNU General Public License License URI: license.txt Text Domain: ipt_kb @@ -450,6 +450,7 @@ a:hover img { -moz-box-shadow: 0 0 4px #eee; box-shadow: 0 0 4px #eee; border-radius: 4px; + border: 1px solid #ddd; } img[class*="wp-image-"] { border-radius: 4px; @@ -484,6 +485,7 @@ img[class*="wp-image-"] { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; + border: none; } .wp-caption-text { text-align: center; @@ -498,10 +500,9 @@ img[class*="wp-image-"] { .gallery-caption { } .site-main .gallery a img { - border: none; + border: 1px solid #ddd !important; height: auto; max-width: 90%; - border: medium none !important; -webkit-box-shadow: 0 0 4px #eee; -moz-box-shadow: 0 0 4px #eee; box-shadow: 0 0 4px #eee; @@ -864,6 +865,10 @@ body .tab-content { border-top: medium none; border-radius: 0 4px 4px 4px; } +body .popover-title button.pull-right { + font-size: 12px; + margin: -2px 0 0 10px; +} /* =Post Content Styles ----------------------------------------------- */ @@ -911,6 +916,14 @@ body code { .syntaxhighlighter code { white-space: nowrap; } +body .syntaxhighlighter table, +body .syntaxhighlighter table tbody, +body .syntaxhighlighter table tr, +body .syntaxhighlighter table td, +body .syntaxhighlighter table code, +body .syntaxhighlighter table div { + font-size: 12px !important; +} /* =Wee little wpstats icon ------------------------------------------------- */