index.php 19 KB

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