index.php 20 KB

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