Skip to content

Consolidate link delimiter functions #59

Description

@splorp

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions