Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't even display an empty h5.top-term if largo_top_term() returns '' #1092

Closed
benlk opened this issue Jan 21, 2016 · 0 comments
Closed

Don't even display an empty h5.top-term if largo_top_term() returns '' #1092

benlk opened this issue Jan 21, 2016 · 0 comments

Comments

@benlk
Copy link
Collaborator

benlk commented Jan 21, 2016

After #1090 for #1082, many empty top terms will still output the following code:

<h5 class="top-tag"></h5>

This is because we typically create the top tag with a variant on the following markup:

<h5 class="top-tag"><?php echo largo_top_term(); ?></h5>

We shouldn't be rendering empty h5.top-tags in themes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants