function postuler($strContent) { //Only show at a single post / page the extended (if configurated) view $p = get_the_ID(); if ('projet' == get_post_type()) { return $strContent . contacter() . button_postuler($p); } else { if (is_home()) { return $strContent . contacter(); //return evltruncate($strContent, 500, ' <a href="'.get_permalink().'">...</a>').contacter(); } else { return $strContent; } } }
function postuler($strContent) { //Only show at a single post / page the extended (if configurated) view if (is_single()) { $rtour = ""; return button_postuler() . $strContent . contacter(); } else { if (is_home()) { return $strContent . contacter(); //return evltruncate($strContent, 500, ' <a href="'.get_permalink().'">...</a>').contacter(); } else { return $strContent; } } }