NHSLeadership / nightingale-wp

Other
1 stars 0 forks source link

Create post-titles-only template #78

Closed Android63 closed 6 years ago

Android63 commented 6 years ago

For websites such as the LDP Hub, we need a template for listing posts without showing any of their content (excerpts or otherwise), but just the title. See https://github.com/NHSLeadership/nhsl-wp-ldphub/issues/7 for details.

Android63 commented 6 years ago

Following discussion with @cehwitham, the approach we've agreed is to create a customizer drop-down where users can choose to display full posts, excerpts, or titles only - and then have a 3-way switch in home.php (which is based on index.php) to select the appropriate template-part (e.g. content-posts-full, content-posts-excerpts, or content-posts-titles).

Android63 commented 6 years ago

Merged into https://github.com/NHSLeadership/nightingale-wp/issues/38