index.php 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. <?php get_header(); ?>
  2. <!-- About Section Start -->
  3. <div id="about" class="section-padding">
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-lg-3 col-md-6 col-xs-12">
  7. <div class="about block text-center">
  8. <img src="<?php echo get_template_directory_uri(); ?>/img/about/img1.png" alt="">
  9. <h5><a href="#">About Title</a></h5>
  10. <p>Quisque sit amet libero purus. Nulla a dignissim quam. In hac habitasse platea dictumst.</p>
  11. </div>
  12. </div>
  13. <div class="col-lg-3 col-md-6 col-xs-12">
  14. <div class="about block text-center">
  15. <img src="<?php echo get_template_directory_uri(); ?>/img/about/img2.png" alt="">
  16. <h5><a href="#">About Title</a></h5>
  17. <p>Quisque sit amet libero purus. Nulla a dignissim quam. In hac habitasse platea dictumst.</p>
  18. </div>
  19. </div>
  20. <div class="col-lg-3 col-md-6 col-xs-12">
  21. <div class="about block text-center">
  22. <img src="<?php echo get_template_directory_uri(); ?>/img/about/img3.png" alt="">
  23. <h5><a href="#">About Title</a></h5>
  24. <p>Quisque sit amet libero purus. Nulla a dignissim quam. In hac habitasse platea dictumst.</p>
  25. </div>
  26. </div>
  27. <div class="col-lg-3 col-md-6 col-xs-12">
  28. <div class="about block text-center">
  29. <img src="<?php echo get_template_directory_uri(); ?>/img/about/img4.png" alt="">
  30. <h5><a href="#">About Title</a></h5>
  31. <p>Quisque sit amet libero purus. Nulla a dignissim quam. In hac habitasse platea dictumst.</p>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. <!-- About Section End -->
  38. <!-- Portfolio Section -->
  39. <section id="portfolio" class="section-padding">
  40. <!-- Container Starts -->
  41. <div class="container">
  42. <div class="row">
  43. <div class="col-md-12">
  44. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Ausgewählte Projekte</h2>
  45. </div>
  46. </div>
  47. <ul class="row portfolio list-unstyled" id="grid">
  48. <?php
  49. $args = array(
  50. 'post_type' => 'projekte',
  51. 'post_status' => 'publish',
  52. 'posts_per_page' => 10
  53. );
  54. $posts = new WP_Query($args);
  55. $counter = 1;
  56. while ($posts -> have_posts()) {
  57. $posts->the_post(); ?>
  58. <!-- project -->
  59. <li class="col-md-3 col-sm-6 project">
  60. <figure>
  61. <div class="hovereffect">
  62. <img src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'projekt_thumb'); ?>" alt="<?php the_title(); ?>">
  63. <div class="overlay">
  64. <div class="icons-link">
  65. <a class="left-link" href="<?php echo get_post_meta($posts->post->ID, 'projekt_link', true); ?>"><i class="fa fa-link"></i></a>
  66. <!--
  67. <a class="right-link" href="#"><i class="fa fa-heart"></i></a>
  68. -->
  69. </div>
  70. </div>
  71. </div>
  72. </figure>
  73. <div class="portfolio block">
  74. <h5><?php the_title(); ?></h5>
  75. <p class="project-description"><?php echo get_post_meta($posts->post->ID, 'projekt_beschreibung', true); ?></p>
  76. </div>
  77. </li>
  78. <!-- project -->
  79. <?php
  80. } // while ( $posts -> have_posts() )
  81. wp_reset_postdata();
  82. // wp_reset_query();
  83. ?>
  84. </ul>
  85. </div>
  86. <!-- Container Ends -->
  87. </section>
  88. <!-- Portfolio Section Ends -->
  89. <!-- Team Section Start -->
  90. <section id="team-section" class="section-padding">
  91. <div id="team" class="team-members-tow section-padding background-gray">
  92. <div class="container">
  93. <div class="row">
  94. <div class="col-md-12">
  95. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Das Team</h2>
  96. </div>
  97. </div>
  98. <div class="row">
  99. <?php
  100. $args = array(
  101. 'post_type' => 'mitarbeiter',
  102. 'post_status' => 'publish',
  103. 'posts_per_page' => 10
  104. );
  105. $posts = new WP_Query($args);
  106. $counter = 1;
  107. while ($posts -> have_posts()) {
  108. $posts->the_post(); ?>
  109. <!-- Team Item Starts -->
  110. <div class="col-lg-3 col-md-6 col-xs-12">
  111. <div class="team-item">
  112. <figure class="team-profile">
  113. <img src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="<?php the_title(); ?>">
  114. <figcaption class="our-team">
  115. <div class="details">
  116. <p class="content-white"><?php echo get_post_meta($posts->post->ID, 'mitarbeiter_beschreibung', true); ?></p>
  117. <hr class="small-divider border-white">
  118. <div class="social">
  119. <a href="mailto:<?php echo get_post_meta($posts->post->ID, 'mitarbeiter_email', true); ?>"><i class="fa fa-envelope" aria-hidden="true"></i></a>
  120. <a href="tel:<?php echo get_post_meta($posts->post->ID, 'mitarbeiter_tel', true); ?>"><?php echo get_post_meta($posts->post->ID, 'mitarbeiter_tel', true); ?></a>
  121. <!--
  122. <a class="facebook" href="#"><i class="fa fa-facebook"></i></a>
  123. <a class="twitter" href="#"><i class="fa fa-twitter"></i></a>
  124. <a class="google-plus" href="#"><i class="fa fa-instagram"></i></a>
  125. -->
  126. </div>
  127. </div>
  128. </figcaption>
  129. </figure>
  130. <div class="info">
  131. <h2>
  132. <?php the_title(); ?>
  133. </h2>
  134. <p>
  135. <?php echo get_post_meta($posts->post->ID, 'mitarbeiter_position', true); ?>
  136. </p>
  137. </div>
  138. </div>
  139. </div>
  140. <!-- Team Item Ends -->
  141. <?php if ($counter && $counter % 4 == 0): ?>
  142. </div>
  143. <div class="row">
  144. <?php endif;
  145. $counter++;
  146. } // while ( $posts -> have_posts() )
  147. wp_reset_postdata();
  148. ?>
  149. </div>
  150. </div>
  151. </div>
  152. </section>
  153. <!-- Services Section Start -->
  154. <!-- Services Section Start -->
  155. <!-- Services Section Start -->
  156. <section id="baugruppen">
  157. <div class="container">
  158. <div class="row">
  159. <div class="col-md-12">
  160. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Unsere Baugrupen</h2>
  161. </div>
  162. <!-- <div class="sub-title">
  163. <span>Unsere Baugrupen</span>
  164. </div> -->
  165. </div>
  166. <ul class="row portfolio list-unstyled justify-content-center" id="grid">
  167. <!-- ********************************************** -->
  168. <?php
  169. $args = array(
  170. 'post_type' => 'baugruppen',
  171. 'post_status' => 'publish',
  172. 'posts_per_page' => 10
  173. );
  174. $posts = new WP_Query($args);
  175. $counter = 2;
  176. while ($posts -> have_posts()) {
  177. $posts->the_post();
  178. if ( $counter % 2 == 0 ){
  179. $divmargin = "margin-top: 30px;";
  180. } else {
  181. $divmargin = "margin-bottom: 30px;";
  182. }
  183. ?>
  184. <li class="col-md-3 col-sm-6 project">
  185. <figure>
  186. <div class="hovereffect round-pic" style="<?php echo $divmargin ?>">
  187. <img src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="<?php the_title(); ?>">
  188. <div class="overlay">
  189. <div class="iocns">
  190. <a class="left-link" href="<?php echo get_post_meta($posts->post->ID, 'baugruppe_link', true); ?>"><i class="fa fa-link"></i></a>
  191. </div>
  192. </div>
  193. </div>
  194. </figure>
  195. </li>
  196. <?php if ($counter && $counter % 4 == 0): ?>
  197. </ul>
  198. <ul class="row portfolio list-unstyled justify-content-center" id="grid">
  199. <?php endif;
  200. if ( $counter % 8 == 0 ){
  201. $counter++;
  202. }
  203. $counter++;
  204. } // while ( $posts -> have_posts() )
  205. wp_reset_postdata();
  206. ?>
  207. <!-- ****************************************************** -->
  208. </ul>
  209. </div>
  210. </section>
  211. <!-- Clients Section Start -->
  212. <div id="clients" class="section-padding background-gray">
  213. <div class="container">
  214. <div class="row">
  215. <div class="col-md-12">
  216. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Unsere Kunden</h2>
  217. </div>
  218. </div>
  219. <ul class="row portfolio list-unstyled" id="grid">
  220. <?php
  221. $args = array(
  222. 'post_type' => 'clients',
  223. 'post_status' => 'publish',
  224. 'posts_per_page' => 100
  225. );
  226. $posts = new WP_Query($args);
  227. $counter = 1;
  228. while ($posts -> have_posts()) {
  229. $posts->the_post();
  230. ?>
  231. <li class="col-md-2 col-sm-6 project">
  232. <figure>
  233. <div class="hovereffect round-pic">
  234. <img src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="<?php the_title(); ?>">
  235. <div class="overlay">
  236. <div class="iocns">
  237. <a class="left-link" href="<?php echo get_post_meta($posts->post->ID, 'client_link', true); ?>"><i class="fa fa-link"></i></a>
  238. </div>
  239. </div>
  240. </div>
  241. </figure>
  242. </li>
  243. <?php if ($counter && $counter % 6 == 0): ?>
  244. </ul>
  245. <ul class="row portfolio list-unstyled justify-content-center" id="grid-clients">
  246. <?php endif;
  247. $counter++;
  248. } // while ( $posts -> have_posts() )
  249. wp_reset_postdata();
  250. ?>
  251. </ul>
  252. </div>
  253. </div>
  254. <!-- Clients Section End -->
  255. <!-- facts Section Start -->
  256. <!-- <div id="counter">
  257. <div class="container">
  258. <div class="row count-to-sec">
  259. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  260. <span class="icon"><i class="fa fa-download"> </i></span>
  261. <h3 class="timer count-value" data-to="561" data-speed="1000">561</h3>
  262. <hr class="width25-divider">
  263. <small class="count-title">Downloads</small>
  264. </div>
  265. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  266. <span class="icon"><i class="fa fa-user"> </i></span>
  267. <h3 class="timer count-value" data-to="950" data-speed="1000">950</h3>
  268. <hr class="width25-divider">
  269. <small class="count-title">Developers</small>
  270. </div>
  271. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  272. <span class="icon"><i class="fa fa-desktop"> </i></span>
  273. <h3 class="timer count-value" data-to="978" data-speed="1000">978</h3>
  274. <hr class="width25-divider">
  275. <small class="count-title">Lines of code written</small>
  276. </div>
  277. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  278. <span class="icon"><i class="fa fa-coffee"> </i></span>
  279. <h3 class="timer count-value" data-to="1700" data-speed="1000">1700</h3>
  280. <hr class="width25-divider">
  281. <small class="count-title">Cups of coffee consumed</small>
  282. </div>
  283. </div>
  284. </div>
  285. </div> -->
  286. <!-- facts Section End -->
  287. <!-- Single testimonial Start -->
  288. <div id="testimonials" class="single-testimonial-area">
  289. <div class="container">
  290. <div class="row">
  291. <div class="col-md-12">
  292. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Was andere über uns sagen</h2>
  293. </div>
  294. </div>
  295. <div id="single-testimonial-item" class="owl-carousel">
  296. <?php
  297. $args = array(
  298. 'post_type' => 'testimonials',
  299. 'post_status' => 'publish',
  300. 'posts_per_page' => 100
  301. );
  302. $posts = new WP_Query($args);
  303. while ($posts -> have_posts()) {
  304. $posts->the_post();
  305. ?>
  306. <!-- Single testimonial Item -->
  307. <div class="item">
  308. <div class="row justify-content-md-center">
  309. <div class="col-lg-8 col-md-12 col-xs-12 col-md-auto">
  310. <div class="testimonial-inner text-md-center">
  311. <blockquote>
  312. <?php echo get_post_meta($posts->post->ID, 'testimonial_text', true); ?>
  313. </blockquote>
  314. <div class="testimonial-images">
  315. <img class="img-circle text-md-center" src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="">
  316. </div>
  317. <div class="testimonial-footer">
  318. <i class="fa fa-user"></i>
  319. <a href="<?php echo get_post_meta($posts->post->ID, 'testimonial_link', true); ?>"> <?php echo get_post_meta($posts->post->ID, 'testimonial_autor', true); ?></a>
  320. </div>
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. <?php
  326. } // while ( $posts -> have_posts() )
  327. wp_reset_postdata();
  328. ?>
  329. </div>
  330. </div>
  331. </div>
  332. <!-- end -->
  333. <!-- Contact Form Section Start -->
  334. <!-- <section id="contact" class="contact-form section-padding">
  335. <div class="container">
  336. <div class="row">
  337. <div class="col-md-12">
  338. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Contact Us</h2>
  339. </div>
  340. </div>
  341. <div class="row">
  342. <div class="col-lg-8 col-md-6 col-xs-12">
  343. <h3 class="title-head text-left">Get in touch</h3>
  344. <form class="contact-form" data-toggle="validator">
  345. <div class="row">
  346. <div class="col-lg-4 col-md-12 col-xs-12">
  347. <div class="form-group">
  348. <i class="contact-icon fa fa-user"></i>
  349. <input type="text" class="form-control" id="name" placeholder="Full Name" required data-error="Please enter your name">
  350. <div class="help-block with-errors"></div>
  351. </div>
  352. </div>
  353. <div class="col-lg-4 col-md-12 col-xs-12">
  354. <div class="form-group">
  355. <i class="contact-icon fa fa-envelope-o"></i>
  356. <input type="email" class="form-control" id="email" placeholder="Email" required data-error="Please enter your email">
  357. <div class="help-block with-errors"></div>
  358. </div>
  359. </div>
  360. <div class="col-lg-4 col-md-12 col-xs-12">
  361. <div class="form-group">
  362. <i class="contact-icon fa fa-pencil-square-o"></i>
  363. <input type="text" class="form-control" id="subject" placeholder="Subject" required data-error="Please enter your Subject">
  364. <div class="help-block with-errors"></div>
  365. </div>
  366. </div>
  367. <div class="col-lg-12 col-md-12 col-xs-12">
  368. <textarea class="form-control" id="message" rows="4" placeholder="Message" required data-error="Please enter your message"></textarea>
  369. <div class="help-block with-errors"></div>
  370. <button type="submit" id="form-submit" class="btn btn-common btn-form-submit">Send Message</button>
  371. <div id="msgSubmit" class="h3 text-center hidden"></div>
  372. <div class="clearfix"></div>
  373. </div>
  374. </div>
  375. </form>
  376. </div>
  377. <div class="col-lg-4 col-md-6 col-xs-12">
  378. <h4 class="contact-info-title text-left">Contact Information</h4>
  379. <div class="contact-info">
  380. <address>
  381. <i class="lni-map-marker icons cyan-color contact-info-icon"></i>
  382. Level 13, 2 Elizabeth St, Melbourne,
  383. </address>
  384. <div class="tel-info">
  385. <a href="tel:1800452308"><i class="lni-mobile icons cyan-color contact-info-icon"></i>1800 452 308</a>
  386. <a href="tel:+61(8)82343555"><i class="lni-phone icons cyan-color contact-info-icon"></i>+61 (8) 8234 3555</a>
  387. </div>
  388. <a href="mailto:hello@spiritapp.com"><i class="lni-envelope icons cyan-color contact-info-icon"></i>admin@uideck.com</a>
  389. <a href="#"><i class="lni-tab icons cyan-color contact-info-icon"></i>www.uideck.com</a>
  390. <ul class="social-links">
  391. <li>
  392. <a href="#" class="fa fa-facebook"></a>
  393. </li>
  394. <li>
  395. <a href="#" class="fa fa-twitter"></a>
  396. </li>
  397. <li>
  398. <a href="#" class="fa fa-instagram"></a>
  399. </li>
  400. <li>
  401. <a href="#" class="fa fa-linkedin"></a>
  402. </li>
  403. </ul>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. </section>
  409. -->
  410. <!-- Contact Form Section End -->
  411. <?php get_footer(); ?>