adding jobs post type
This commit is contained in:
parent
68d84424ba
commit
aed3d50fe5
62
single-jobs.php
Normal file
62
single-jobs.php
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<div class="single-post-container single-post-container--jobs <?php echo $thematiqueColorSlug ? "single-post-container--" . $thematiqueColorSlug : "" ?>">
|
||||
|
||||
<?php /* --------
|
||||
BREADCRUMB
|
||||
---------------*/ ?>
|
||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
||||
<ol>
|
||||
<li>
|
||||
<a href="<?php echo home_url() ?>" title="<?php echo __("Accueil", "homegrade-theme__texte-fonctionnel") ?>">
|
||||
<img src="<?php echo get_template_directory_uri() . "/resources/img/pictogrammes/icon_house_dark.svg" ?>" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo get_the_permalink($relatedPageTemplatePage) ?>">
|
||||
<?php echo __("News", "homegrade-theme__texte-fonctionnel") ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo get_the_permalink(get_the_id()) ?>" aria-current='location'>
|
||||
<?php echo get_the_title(get_the_id()) ?>
|
||||
</a>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
|
||||
<div class="post-news-page-container">
|
||||
<?php /* --------
|
||||
HEADING BOX
|
||||
---------------*/ ?>
|
||||
<?php
|
||||
get_template_part("template-components/news-heading-box", null, array(
|
||||
"title" => get_the_title(),
|
||||
"thumbnail" => get_the_post_thumbnail(get_the_ID(), "full", array('class' => 'news-heading-box__thumbnail')),
|
||||
"published" => get_the_date(),
|
||||
"subtitle" => __("Offre d'emploi", "homegrade-theme__texte-fonctionnel"),
|
||||
|
||||
));
|
||||
?>
|
||||
<article class="entry-content single-news-editor-content">
|
||||
<?php
|
||||
the_content();
|
||||
?>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
Loading…
Reference in New Issue
Block a user