FEATURE Adding hasPostTypeNumerotation function to inform about specific post types numerotation supports
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c8276ba10d
commit
6ed5634638
|
|
@ -60,3 +60,16 @@ function get_archive_page_subtitle_html($post_type)
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function hasPostTypeNumerotation($post_type)
|
||||||
|
{
|
||||||
|
switch ($post_type) {
|
||||||
|
case 'analyses-etudes':
|
||||||
|
case 'expositions':
|
||||||
|
case 'outils-pedagogiques':
|
||||||
|
case 'recherches':
|
||||||
|
case 'revues':
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user