index.php 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  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' => -1
  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' => -1
  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><br/>
  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><br/>
  121. <a href="<?php echo get_post_type_archive_link( 'mitarbeiter' ); echo '#post-'; echo get_the_ID(); ?>"><i class="fa fa-link" aria-hidden="true"></i></a>
  122. <!--
  123. <a class="facebook" href="#"><i class="fa fa-facebook"></i></a>
  124. <a class="twitter" href="#"><i class="fa fa-twitter"></i></a>
  125. <a class="google-plus" href="#"><i class="fa fa-instagram"></i></a>
  126. -->
  127. </div>
  128. </div>
  129. </figcaption>
  130. </figure>
  131. <div class="info">
  132. <h2>
  133. <?php the_title(); ?>
  134. </h2>
  135. <p>
  136. <?php echo get_post_meta($posts->post->ID, 'mitarbeiter_position', true); ?>
  137. </p>
  138. </div>
  139. </div>
  140. </div>
  141. <!-- Team Item Ends -->
  142. <?php if ($counter && $counter % 4 == 0): ?>
  143. </div>
  144. <div class="row">
  145. <?php endif;
  146. $counter++;
  147. } // while ( $posts -> have_posts() )
  148. wp_reset_postdata();
  149. ?>
  150. </div>
  151. </div>
  152. </div>
  153. </section>
  154. <!-- Services Section Start -->
  155. <!-- Services Section Start -->
  156. <!-- Services Section Start -->
  157. <section id="baugruppen">
  158. <div class="container">
  159. <div class="row">
  160. <div class="col-md-12">
  161. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Unsere Baugrupen</h2>
  162. </div>
  163. <!-- <div class="sub-title">
  164. <span>Unsere Baugrupen</span>
  165. </div> -->
  166. </div>
  167. <ul class="row portfolio list-unstyled justify-content-center" id="grid">
  168. <!-- ********************************************** -->
  169. <?php
  170. $args = array(
  171. 'post_type' => 'baugruppen',
  172. 'post_status' => 'publish',
  173. 'posts_per_page' => -1
  174. );
  175. $posts = new WP_Query($args);
  176. $counter = 2;
  177. while ($posts -> have_posts()) {
  178. $posts->the_post();
  179. if ( $counter % 2 == 0 ){
  180. $divmargin = "margin-top: 30px;";
  181. } else {
  182. $divmargin = "margin-bottom: 30px;";
  183. }
  184. ?>
  185. <li class="col-md-3 col-sm-6 project">
  186. <figure>
  187. <div class="hovereffect round-pic" style="<?php echo $divmargin ?>">
  188. <img src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="<?php the_title(); ?>">
  189. <div class="overlay">
  190. <div class="iocns">
  191. <a class="left-link" href="<?php echo get_post_meta($posts->post->ID, 'baugruppe_link', true); ?>"><i class="fa fa-link"></i></a>
  192. </div>
  193. </div>
  194. </div>
  195. </figure>
  196. </li>
  197. <?php if ($counter && $counter % 4 == 0): ?>
  198. </ul>
  199. <ul class="row portfolio list-unstyled justify-content-center" id="grid">
  200. <?php endif;
  201. if ( $counter % 8 == 0 ){
  202. $counter++;
  203. }
  204. $counter++;
  205. } // while ( $posts -> have_posts() )
  206. wp_reset_postdata();
  207. ?>
  208. <!-- ****************************************************** -->
  209. </ul>
  210. </div>
  211. </section>
  212. <!-- Clients Section Start -->
  213. <div id="clients" class="section-padding background-gray">
  214. <div class="container">
  215. <div class="row">
  216. <div class="col-md-12">
  217. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Unsere Kunden</h2>
  218. </div>
  219. </div>
  220. <ul class="row portfolio list-unstyled" id="grid">
  221. <?php
  222. $args = array(
  223. 'post_type' => 'clients',
  224. 'post_status' => 'publish',
  225. 'posts_per_page' => -1
  226. );
  227. $posts = new WP_Query($args);
  228. $counter = 1;
  229. while ($posts -> have_posts()) {
  230. $posts->the_post();
  231. ?>
  232. <li class="col-md-2 col-sm-6 project">
  233. <figure>
  234. <div class="hovereffect round-pic">
  235. <img src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="<?php the_title(); ?>">
  236. <div class="overlay">
  237. <div class="iocns">
  238. <a class="left-link" href="<?php echo get_post_meta($posts->post->ID, 'client_link', true); ?>"><i class="fa fa-link"></i></a>
  239. </div>
  240. </div>
  241. </div>
  242. </figure>
  243. </li>
  244. <?php if ($counter && $counter % 6 == 0): ?>
  245. </ul>
  246. <ul class="row portfolio list-unstyled justify-content-center" id="grid-clients">
  247. <?php endif;
  248. $counter++;
  249. } // while ( $posts -> have_posts() )
  250. wp_reset_postdata();
  251. ?>
  252. </ul>
  253. </div>
  254. </div>
  255. <!-- Clients Section End -->
  256. <!-- facts Section Start -->
  257. <!-- <div id="counter">
  258. <div class="container">
  259. <div class="row count-to-sec">
  260. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  261. <span class="icon"><i class="fa fa-download"> </i></span>
  262. <h3 class="timer count-value" data-to="561" data-speed="1000">561</h3>
  263. <hr class="width25-divider">
  264. <small class="count-title">Downloads</small>
  265. </div>
  266. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  267. <span class="icon"><i class="fa fa-user"> </i></span>
  268. <h3 class="timer count-value" data-to="950" data-speed="1000">950</h3>
  269. <hr class="width25-divider">
  270. <small class="count-title">Developers</small>
  271. </div>
  272. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  273. <span class="icon"><i class="fa fa-desktop"> </i></span>
  274. <h3 class="timer count-value" data-to="978" data-speed="1000">978</h3>
  275. <hr class="width25-divider">
  276. <small class="count-title">Lines of code written</small>
  277. </div>
  278. <div class="col-lg-3 col-md-6 col-xs-12 count-one">
  279. <span class="icon"><i class="fa fa-coffee"> </i></span>
  280. <h3 class="timer count-value" data-to="1700" data-speed="1000">1700</h3>
  281. <hr class="width25-divider">
  282. <small class="count-title">Cups of coffee consumed</small>
  283. </div>
  284. </div>
  285. </div>
  286. </div> -->
  287. <!-- facts Section End -->
  288. <!-- Single testimonial Start -->
  289. <div id="testimonials" class="single-testimonial-area">
  290. <div class="container">
  291. <div class="row">
  292. <div class="col-md-12">
  293. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Was andere über uns sagen</h2>
  294. </div>
  295. </div>
  296. <div id="single-testimonial-item" class="owl-carousel">
  297. <?php
  298. $args = array(
  299. 'post_type' => 'testimonials',
  300. 'post_status' => 'publish',
  301. 'posts_per_page' => 100
  302. );
  303. $posts = new WP_Query($args);
  304. while ($posts -> have_posts()) {
  305. $posts->the_post();
  306. ?>
  307. <!-- Single testimonial Item -->
  308. <div class="item">
  309. <div class="row justify-content-md-center">
  310. <div class="col-lg-8 col-md-12 col-xs-12 col-md-auto">
  311. <div class="testimonial-inner text-md-center">
  312. <blockquote>
  313. <?php echo get_post_meta($posts->post->ID, 'testimonial_text', true); ?>
  314. </blockquote>
  315. <div class="testimonial-images">
  316. <img class="img-circle text-md-center" src="<?php echo get_the_post_thumbnail_url($posts->post->ID, 'general_thumb' ); ?>" alt="">
  317. </div>
  318. <div class="testimonial-footer">
  319. <i class="fa fa-user"></i>
  320. <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>
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. </div>
  326. <?php
  327. } // while ( $posts -> have_posts() )
  328. wp_reset_postdata();
  329. ?>
  330. </div>
  331. </div>
  332. </div>
  333. <!-- end -->
  334. <!-- Contact Form Section Start -->
  335. <!-- <section id="contact" class="contact-form section-padding">
  336. <div class="container">
  337. <div class="row">
  338. <div class="col-md-12">
  339. <h2 class="section-title wow fadeInDown animated" data-wow-delay="0.3s">Contact Us</h2>
  340. </div>
  341. </div>
  342. <div class="row">
  343. <div class="col-lg-8 col-md-6 col-xs-12">
  344. <h3 class="title-head text-left">Get in touch</h3>
  345. <form class="contact-form" data-toggle="validator">
  346. <div class="row">
  347. <div class="col-lg-4 col-md-12 col-xs-12">
  348. <div class="form-group">
  349. <i class="contact-icon fa fa-user"></i>
  350. <input type="text" class="form-control" id="name" placeholder="Full Name" required data-error="Please enter your name">
  351. <div class="help-block with-errors"></div>
  352. </div>
  353. </div>
  354. <div class="col-lg-4 col-md-12 col-xs-12">
  355. <div class="form-group">
  356. <i class="contact-icon fa fa-envelope-o"></i>
  357. <input type="email" class="form-control" id="email" placeholder="Email" required data-error="Please enter your email">
  358. <div class="help-block with-errors"></div>
  359. </div>
  360. </div>
  361. <div class="col-lg-4 col-md-12 col-xs-12">
  362. <div class="form-group">
  363. <i class="contact-icon fa fa-pencil-square-o"></i>
  364. <input type="text" class="form-control" id="subject" placeholder="Subject" required data-error="Please enter your Subject">
  365. <div class="help-block with-errors"></div>
  366. </div>
  367. </div>
  368. <div class="col-lg-12 col-md-12 col-xs-12">
  369. <textarea class="form-control" id="message" rows="4" placeholder="Message" required data-error="Please enter your message"></textarea>
  370. <div class="help-block with-errors"></div>
  371. <button type="submit" id="form-submit" class="btn btn-common btn-form-submit">Send Message</button>
  372. <div id="msgSubmit" class="h3 text-center hidden"></div>
  373. <div class="clearfix"></div>
  374. </div>
  375. </div>
  376. </form>
  377. </div>
  378. <div class="col-lg-4 col-md-6 col-xs-12">
  379. <h4 class="contact-info-title text-left">Contact Information</h4>
  380. <div class="contact-info">
  381. <address>
  382. <i class="lni-map-marker icons cyan-color contact-info-icon"></i>
  383. Level 13, 2 Elizabeth St, Melbourne,
  384. </address>
  385. <div class="tel-info">
  386. <a href="tel:1800452308"><i class="lni-mobile icons cyan-color contact-info-icon"></i>1800 452 308</a>
  387. <a href="tel:+61(8)82343555"><i class="lni-phone icons cyan-color contact-info-icon"></i>+61 (8) 8234 3555</a>
  388. </div>
  389. <a href="mailto:hello@spiritapp.com"><i class="lni-envelope icons cyan-color contact-info-icon"></i>admin@uideck.com</a>
  390. <a href="#"><i class="lni-tab icons cyan-color contact-info-icon"></i>www.uideck.com</a>
  391. <ul class="social-links">
  392. <li>
  393. <a href="#" class="fa fa-facebook"></a>
  394. </li>
  395. <li>
  396. <a href="#" class="fa fa-twitter"></a>
  397. </li>
  398. <li>
  399. <a href="#" class="fa fa-instagram"></a>
  400. </li>
  401. <li>
  402. <a href="#" class="fa fa-linkedin"></a>
  403. </li>
  404. </ul>
  405. </div>
  406. </div>
  407. </div>
  408. </div>
  409. </section>
  410. -->
  411. <!-- Contact Form Section End -->
  412. <?php get_footer(); ?>