index.php 20 KB

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