index.php 19 KB

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