alleyinteractive / alleyinteractive/alley-scripts

Use post type label in post selector instead of post type slug

Abierto
#151 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Post Selector
Lenguaje dominante
TypeScript
Estrellas
10
Forks
3
Merge medio
4 d 22 h
PR fusionados (30 d)
2

Descripción

Post selector demo with custom post type slug

Post type slugs are not always as clean as "post" or "page" and ideally wouldn't be presented to the user. Instead of using the slug, we should use the `singular_name` post type label. See above screenshot where a post is presented in the custom post type `demo-post-type`.

Bonus points: it would be nice if the post type were on its own line, not in parentheses. Amongst the reasons, post titles may have parens, and that looks confusing. Here's an example of what it might look like, with a border separating them for additional clarity.

redesigned post selector proposal with post types on their own line

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.