Permalink
Browse files

initial commit

  • Loading branch information...
tareq1988 committed Jan 22, 2014
0 parents commit e53fd6bff5afd21961d9b20e0e01d5afcce5f4ac
Showing with 22,721 additions and 0 deletions.
  1. +13 −0 404.php
  2. +49 −0 archive.php
  3. +548 −0 assets/css/editor-style.css
  4. +4 −0 assets/css/font-awesome.min.css
  5. +917 −0 assets/css/main.min.css
  6. BIN assets/fonts/FontAwesome.otf
  7. BIN assets/fonts/fontawesome-webfont.eot
  8. +414 −0 assets/fonts/fontawesome-webfont.svg
  9. BIN assets/fonts/fontawesome-webfont.ttf
  10. BIN assets/fonts/fontawesome-webfont.woff
  11. 0 assets/img/.gitignore
  12. +47 −0 assets/js/_main.js
  13. +126 −0 assets/js/plugins/bootstrap/affix.js
  14. +98 −0 assets/js/plugins/bootstrap/alert.js
  15. +115 −0 assets/js/plugins/bootstrap/button.js
  16. +217 −0 assets/js/plugins/bootstrap/carousel.js
  17. +179 −0 assets/js/plugins/bootstrap/collapse.js
  18. +154 −0 assets/js/plugins/bootstrap/dropdown.js
  19. +246 −0 assets/js/plugins/bootstrap/modal.js
  20. +117 −0 assets/js/plugins/bootstrap/popover.js
  21. +158 −0 assets/js/plugins/bootstrap/scrollspy.js
  22. +135 −0 assets/js/plugins/bootstrap/tab.js
  23. +386 −0 assets/js/plugins/bootstrap/tooltip.js
  24. +56 −0 assets/js/plugins/bootstrap/transition.js
  25. +3 −0 assets/js/scripts.js
  26. +1 −0 assets/js/scripts.min.js
  27. +6 −0 assets/js/vendor/jquery-1.10.2.min.js
  28. +4 −0 assets/js/vendor/modernizr-2.7.0.min.js
  29. +385 −0 assets/less/app.less
  30. +67 −0 assets/less/bootstrap/alerts.less
  31. +51 −0 assets/less/bootstrap/badges.less
  32. +49 −0 assets/less/bootstrap/bootstrap.less
  33. +23 −0 assets/less/bootstrap/breadcrumbs.less
  34. +227 −0 assets/less/bootstrap/button-groups.less
  35. +155 −0 assets/less/bootstrap/buttons.less
  36. +232 −0 assets/less/bootstrap/carousel.less
  37. +33 −0 assets/less/bootstrap/close.less
  38. +53 −0 assets/less/bootstrap/code.less
  39. +29 −0 assets/less/bootstrap/component-animations.less
  40. +187 −0 assets/less/bootstrap/dropdowns.less
  41. +375 −0 assets/less/bootstrap/forms.less
  42. +237 −0 assets/less/bootstrap/glyphicons.less
  43. +79 −0 assets/less/bootstrap/grid.less
  44. +136 −0 assets/less/bootstrap/input-groups.less
  45. +46 −0 assets/less/bootstrap/jumbotron.less
  46. +64 −0 assets/less/bootstrap/labels.less
  47. +88 −0 assets/less/bootstrap/list-group.less
  48. +56 −0 assets/less/bootstrap/media.less
  49. +845 −0 assets/less/bootstrap/mixins.less
  50. +129 −0 assets/less/bootstrap/modals.less
  51. +612 −0 assets/less/bootstrap/navbar.less
  52. +242 −0 assets/less/bootstrap/navs.less
  53. +406 −0 assets/less/bootstrap/normalize.less
  54. +55 −0 assets/less/bootstrap/pager.less
  55. +85 −0 assets/less/bootstrap/pagination.less
  56. +182 −0 assets/less/bootstrap/panels.less
  57. +133 −0 assets/less/bootstrap/popovers.less
  58. +105 −0 assets/less/bootstrap/print.less
  59. +80 −0 assets/less/bootstrap/progress-bars.less
  60. +209 −0 assets/less/bootstrap/responsive-utilities.less
  61. +119 −0 assets/less/bootstrap/scaffolding.less
  62. +231 −0 assets/less/bootstrap/tables.less
  63. +247 −0 assets/less/bootstrap/theme.less
  64. +36 −0 assets/less/bootstrap/thumbnails.less
  65. +95 −0 assets/less/bootstrap/tooltip.less
  66. +281 −0 assets/less/bootstrap/type.less
  67. +56 −0 assets/less/bootstrap/utilities.less
  68. +642 −0 assets/less/bootstrap/variables.less
  69. +29 −0 assets/less/bootstrap/wells.less
  70. +38 −0 base.php
  71. +17 −0 functions.php
  72. +13 −0 index.php
  73. BIN lang/ar.mo
  74. +270 −0 lang/ar.po
  75. BIN lang/bg_BG.mo
  76. +338 −0 lang/bg_BG.po
  77. BIN lang/ca.mo
  78. +517 −0 lang/ca.po
  79. BIN lang/da_DK.mo
  80. +305 −0 lang/da_DK.po
  81. BIN lang/de_DE.mo
  82. +271 −0 lang/de_DE.po
  83. BIN lang/el.mo
  84. +319 −0 lang/el.po
  85. BIN lang/es_ES.mo
  86. +270 −0 lang/es_ES.po
  87. BIN lang/fa_IR.mo
  88. +271 −0 lang/fa_IR.po
  89. BIN lang/fi_FI.mo
  90. +367 −0 lang/fi_FI.po
  91. BIN lang/fr_FR.mo
  92. +336 −0 lang/fr_FR.po
  93. BIN lang/hu_HU.mo
  94. +271 −0 lang/hu_HU.po
  95. BIN lang/id_ID.mo
  96. +278 −0 lang/id_ID.po
  97. BIN lang/it_IT.mo
  98. +269 −0 lang/it_IT.po
  99. BIN lang/ko_KR.mo
  100. +282 −0 lang/ko_KR.po
  101. BIN lang/mk_MK.mo
  102. +297 −0 lang/mk_MK.po
  103. BIN lang/ms_MY.mo
  104. +337 −0 lang/ms_MY.po
  105. BIN lang/nb_NO.mo
  106. +517 −0 lang/nb_NO.po
  107. BIN lang/nl_NL.mo
  108. +261 −0 lang/nl_NL.po
  109. BIN lang/nn_NO.mo
  110. +517 −0 lang/nn_NO.po
  111. BIN lang/pl_PL.mo
  112. +283 −0 lang/pl_PL.po
  113. BIN lang/pt_BR.mo
  114. +394 −0 lang/pt_BR.po
  115. BIN lang/ro_RO.mo
  116. +271 −0 lang/ro_RO.po
  117. +244 −0 lang/roots.pot
  118. BIN lang/ru_RU.mo
  119. +288 −0 lang/ru_RU.po
  120. BIN lang/sr_RS.mo
  121. +266 −0 lang/sr_RS.pot
  122. BIN lang/sv_SE.mo
  123. +340 −0 lang/sv_SE.po
  124. BIN lang/tr_TR.mo
  125. +405 −0 lang/tr_TR.po
  126. BIN lang/vi_VN.mo
  127. +516 −0 lang/vi_VN.po
  128. BIN lang/zh_CN.mo
  129. +329 −0 lang/zh_CN.po
  130. BIN lang/zh_TW.mo
  131. +261 −0 lang/zh_TW.po
  132. +261 −0 lib/cleanup.php
  133. +49 −0 lib/comments.php
  134. +81 −0 lib/config.php
  135. +149 −0 lib/custom.php
  136. +26 −0 lib/init.php
  137. +93 −0 lib/nav.php
  138. +50 −0 lib/relative-urls.php
  139. +30 −0 lib/scripts.php
  140. +43 −0 lib/sidebar.php
  141. +40 −0 lib/titles.php
  142. +15 −0 lib/utils.php
  143. +26 −0 lib/widgets.php
  144. +49 −0 lib/wrapper.php
  145. +2 −0 page.php
  146. BIN screenshot.png
  147. +30 −0 search.php
  148. +1 −0 single.php
  149. +140 −0 style.css
  150. +14 −0 templates/comment.php
  151. +80 −0 templates/comments.php
  152. +7 −0 templates/content-page.php
  153. +52 −0 templates/content-single.php
  154. +9 −0 templates/content.php
  155. +2 −0 templates/entry-meta.php
  156. +16 −0 templates/footer.php
  157. +12 −0 templates/head.php
  158. +50 −0 templates/header-top-navbar.php
  159. +14 −0 templates/header.php
  160. +9 −0 templates/loop-category.php
  161. +16 −0 templates/loop-content.php
  162. +3 −0 templates/page-header.php
  163. +9 −0 templates/searchform.php
  164. +1 −0 templates/sidebar.php
13 404.php
@@ -0,0 +1,13 @@
+<?php get_template_part( 'templates/page', 'header' ); ?>
+
+<div class="alert alert-warning">
+ <?php _e( 'Sorry, but the page you were trying to view does not exist.', 'roots' ); ?>
+</div>
+
+<p><?php _e( 'It looks like this was the result of either:', 'roots' ); ?></p>
+<ul>
+ <li><?php _e( 'a mistyped address', 'roots' ); ?></li>
+ <li><?php _e( 'an out-of-date link', 'roots' ); ?></li>
+</ul>
+
+<?php get_search_form(); ?>
@@ -0,0 +1,49 @@
+<?php
+$parent_cat = get_queried_object();
+$categories = get_terms( 'category', array('hide_empty' => false, 'orderby' => 'term_id', 'parent' => $parent_cat->term_id) );
+
+if ( $categories ) {
+ printf( '<h2 class="category-title">%s</h2>', $parent_cat->name );
+
+ echo '<ul class="doc-category clearfix">';
+ foreach ( $categories as $category ) {
+ include 'templates/loop-category.php';
+ }
+ echo '</ul>';
+}
+
+// WP_Query arguments
+$args = array(
+ 'post_type' => 'post',
+ 'category__in' => array( $parent_cat->term_id ),
+ 'posts_per_page' => -1
+);
+
+// The Query
+$doc_query = new WP_Query( $args );
+
+// The Loop
+if ( $doc_query->have_posts() ) {
+
+ printf( '<h2 class="category-title">%s</h2>', __( 'Documents', 'wedevs-docs' ) );
+
+ echo '<ul class="doc-category">';
+ while ($doc_query->have_posts()) {
+ $doc_query->the_post();
+
+ get_template_part( 'templates/loop-content' );
+ }
+ echo '</ul>';
+} else {
+ // no posts found
+}
+
+// Restore original Post Data
+wp_reset_postdata();
+?>
+
+<?php if ( !$categories && !$doc_query->have_posts() ) { ?>
+ <div class="alert alert-warning">
+ <?php _e( 'Nothing found!', 'wedevs-docs' ); ?>
+ </div>
+<?php } ?>
Oops, something went wrong.

0 comments on commit e53fd6b

Please sign in to comment.