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

Consolidate link delimiter functions #59

Open
splorp opened this issue Feb 14, 2014 · 0 comments
Open

Consolidate link delimiter functions #59

splorp opened this issue Feb 14, 2014 · 0 comments

Comments

@splorp
Copy link
Owner

splorp commented Feb 14, 2014

We currently use several separate functions to insert delimiters between posts, pages, archives, and images. These could be consolidated into a single, simplified function that uses a case switch and is able to pass through a custom delimiter glyph or entity.

The affected functions are:

delim_post_link()
delim_posts_link()
delim_comment_link()
delim_image_link()

The new function should be named using the tersus_ prefix and use a function_exists wrapper similar to other pluggable theme functions.

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

1 participant