Empty Title for Posts #10

Closed
kopepasah opened this Issue Jun 18, 2014 · 2 comments

2 participants

@kopepasah
Owner

When a post has no title, the home (blog), archive and search views, there is no permalink and users have no way of getting to that post.

@kopepasah kopepasah added this to the 1.1.0 milestone Jun 18, 2014
@kopepasah kopepasah added the bug label Jun 18, 2014
@kopepasah kopepasah modified the milestone: 1.0.3, 1.1.0 Jun 18, 2014
@justintadlock

I came across this on WPTavern and thought I'd lend a hand. Here's a filter I run on the_title for this sort of thing: https://github.com/justintadlock/hybrid-core/blob/master/functions/utility.php#L194

Another alternative is to always add a "Permalink" link in the post meta/byline area.

@kopepasah
Owner

Yeah. I was considering either filtering the title or adding a 'Read More' link to the excerpt. Leaning towards filtering the title to maintain the same UI (instead of some posts having buttons and some using the title as the link).

Thanks for the feedback!

@kopepasah kopepasah changed the title from No Title on Archive Pages to Empty Title for Posts Jun 18, 2014
@kopepasah kopepasah added a commit that referenced this issue Jun 19, 2014
@kopepasah Add filter for the title when no title is present.
Issue addressed: #10
44fee8f
@kopepasah kopepasah closed this Jun 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment