Advertisement
Guest User

http://pl.forums.wordpress.org/topic/custom-fields?replies=9

a guest
Apr 19th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4.  *
  5.  * single.php
  6.  *
  7.  * The single post template. Used when a single post is queried.
  8.  *
  9.  */
  10.  
  11. get_header(); ?>
  12. <div class="layout-wrapper">
  13.     <div class="content-layout">
  14.         <div class="content-layout-row">
  15.             <div class="layout-cell content">
  16.             <?php get_sidebar('top');  ?>
  17.             <span style="font-size: large;"><strong>POSZUKUJEMY PRACOWNIKA NA STANOWISKO:</strong></span>
  18.             <?php
  19.                 if (have_posts()){
  20.                     /* Display navigation to next/previous posts when applicable */
  21.                     if (theme_get_option('theme_top_single_navigation')) {
  22.                         theme_page_navigation(
  23.                             array(
  24.                                 'next_link' => theme_get_previous_post_link('&laquo; %link'),
  25.                                 'prev_link' => theme_get_next_post_link('%link &raquo;')
  26.                             )
  27.                         );
  28.                     }
  29.  
  30.                     while (have_posts())
  31.                     {
  32.                         the_post();
  33.                         get_template_part('content', 'single');
  34.                         /* Display comments */
  35.                         if ( theme_get_option('theme_allow_comments')) {
  36.                             comments_template();
  37.                         }
  38.                     }
  39.  
  40.                     /* Display navigation to next/previous posts when applicable */
  41.                     if (theme_get_option('theme_bottom_single_navigation')) {
  42.                         theme_page_navigation(
  43.                             array(
  44.                                 'next_link' => theme_get_previous_post_link('&laquo; %link'),
  45.                                 'prev_link' => theme_get_next_post_link('%link &raquo;')
  46.                             )
  47.                         );
  48.                     }
  49.  
  50.                 } else {    
  51.  
  52.                     theme_404_content();
  53.  
  54.                 }
  55.             ?>
  56.  
  57.             <?php the_field('Zawód'); ?>
  58.             <div class="cleared"></div>
  59.             ------------------------------------------------------------------------------------------------------------------------------------
  60.             <div class="cleared"></div>
  61.             <strong>Kraj zatrudnienia: </strong>
  62.             <?php the_field('kraj_zatrudnienia'); ?>
  63.             <div class="cleared"></div>
  64.             ------------------------------------------------------------------------------------------------------------------------------------
  65.             <div class="cleared"></div>
  66.             <strong>Opis stanowiska pracy: </strong>
  67.             <?php the_field('opis_stanowiska_pracy'); ?>
  68.             <div class="cleared"></div>
  69.             ------------------------------------------------------------------------------------------------------------------------------------
  70.             <span style="font-size: large;"><strong>Wymagania</strong></span>
  71.             <div class="cleared"></div>
  72.             ------------------------------------------------------------------------------------------------------------------------------------
  73.             <div class="cleared"></div>
  74.             <strong>Wykształcenie: </strong>
  75.             <?php the_field('wyksztalcenie'); ?>
  76.             <div class="cleared"></div>
  77.             ------------------------------------------------------------------------------------------------------------------------------------
  78.             <div class="cleared"></div>
  79.             <strong>Doświadczenie w zawodzie: </strong>
  80.             <?php the_field('doswiadczenie_w_zawodzie'); ?>
  81.             <div class="cleared"></div>
  82.             ------------------------------------------------------------------------------------------------------------------------------------
  83.             <div class="cleared"></div>
  84.             <strong>Wymagana znajomość języka: </strong>
  85.             <?php the_field('Wymagana_znajomosc_jezyka'); ?>
  86.             <div class="cleared"></div>
  87.             ------------------------------------------------------------------------------------------------------------------------------------
  88.             <div class="cleared"></div>
  89.             <strong>Dodatkowe atuty: </strong>
  90.             <?php the_field('dodatkowe_atuty'); ?>
  91.             <div class="cleared"></div>
  92.             ------------------------------------------------------------------------------------------------------------------------------------
  93.             <div class="cleared"></div>
  94.             <strong>CV w języku: </strong>
  95.             <?php the_field('CV_w_języku'); ?>
  96.             <div class="cleared"></div>
  97.             ------------------------------------------------------------------------------------------------------------------------------------
  98.             <span style="font-size: large;"><strong>Wybranym kandydatom oferujemy</strong></span>
  99.             <div class="cleared"></div>
  100.             ------------------------------------------------------------------------------------------------------------------------------------
  101.             <div class="cleared"></div>
  102.             <strong></strong>
  103.             <?php the_field('opis'); ?>
  104.             <div class="cleared"></div>
  105.             ------------------------------------------------------------------------------------------------------------------------------------
  106.             <div class="cleared"></div>
  107.             <strong>Wynagrodzenie:</strong>
  108.             <?php the_field('wynagrodzenie'); ?>
  109.             <div class="cleared"></div>
  110.             ------------------------------------------------------------------------------------------------------------------------------------
  111.             <div class="cleared"></div>
  112.             <strong>Termin rozpoczęcia pracy: </strong>
  113.             <?php the_field('termin_rozpoczecia_pracy'); ?>
  114.             <div class="cleared"></div>
  115.             ------------------------------------------------------------------------------------------------------------------------------------
  116.             <div class="cleared"></div>
  117.             <strong>Okres zatrudnienia: </strong>
  118.             <?php the_field('okres_zatrudniena'); ?>
  119.             <div class="cleared"></div>
  120.             ------------------------------------------------------------------------------------------------------------------------------------
  121.             <div class="cleared"></div>
  122.             <strong>Oferta ważna do: </strong>
  123.             <?php the_field('oferta_wazna_do'); ?>
  124.             <div class="cleared"></div>
  125.             ------------------------------------------------------------------------------------------------------------------------------------
  126.  
  127.             <div class="cleared"></div>
  128.  
  129.             <?php get_sidebar('bottom'); ?>
  130.               <div class="cleared"></div>
  131.             </div>
  132.             <div class="layout-cell sidebar1">
  133.               <?php get_sidebar('default'); ?>
  134.               <div class="cleared"></div>
  135.             </div>
  136.         </div>
  137.     </div>
  138. </div>
  139. <div class="cleared"></div>
  140. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement