Exemple #1
0
 function __construct()
 {
     $this->JobController = JobController::getSingleton();
     $this->createJobPostType();
     add_action('add_meta_boxes_job', array(&$this, 'addMetaBoxesForJob'));
     add_action('save_post', array(&$this->JobController, 'save'));
     $this->createCompanyTaxonomy();
 }
Exemple #2
0
<?php

use INUtils\Entity\PostEntity;
use Job\Controller\JobController;
/*
  Template Name: job-bank
*/
$pageEntity = new PostEntity(get_the_ID());
$jobs = JobController::getSingleton()->getAll();
get_header();
?>
<div class="container all-pad-gone">
    <?php 
echo do_shortcode('[slideshow group="job-bank"]');
?>
    <?php 
echo getTopMenu();
?>
       
</div> 

<!--start main content here-->

<div class="container all-pad-gone">
    <div class="row">
        <div class="col-md-12 about">   
            <h2><?php 
echo $pageEntity->getTitle();
?>
</h2>
            <p><?php