index.php 19 KB

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