diff --git a/single-jobs.php b/single-jobs.php index 3409319..39fcbb8 100644 --- a/single-jobs.php +++ b/single-jobs.php @@ -1,5 +1,10 @@ '_wp_page_template', + 'meta_value' => "template-archive-jobs.php" +); +$relatedPageTemplatePage = get_pages($args) ? get_pages($args)[0] : null; ?> @@ -18,7 +23,7 @@ get_header();
  • - +
  • @@ -35,9 +40,9 @@ get_header(); HEADING BOX ---------------*/ ?> get_the_title(), - "thumbnail" => get_the_post_thumbnail(get_the_ID(), "full", array('class' => 'news-heading-box__thumbnail')), + "thumbnail" => get_the_post_thumbnail(get_the_ID(), "full", array('class' => 'heading-box--jobs__thumbnail')), "published" => get_the_date(), "subtitle" => __("Offre d'emploi", "homegrade-theme__texte-fonctionnel"), diff --git a/single-post.php b/single-post.php index ae3e3c8..5291082 100644 --- a/single-post.php +++ b/single-post.php @@ -40,10 +40,10 @@ $relatedPageTemplatePage = get_pages($args) ? get_pages($args)[0] : null; HEADING BOX ---------------*/ ?> get_the_terms(get_the_ID(), 'news_type'), "title" => get_the_title(), - "thumbnail" => get_the_post_thumbnail(get_the_ID(), "full", array('class' => 'news-heading-box__thumbnail')), + "thumbnail" => get_the_post_thumbnail(get_the_ID(), "full", array('class' => 'heading-box--news__thumbnail')), "published" => get_the_date() ));