Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Set up all functions to be overloadable #1116

@jrfnl

Description

@jrfnl

At this moment, only the _s_posted_on() and _s_entry_footer() functions in template-tags.php and _s_setup() in functions.php are set up to allow for overloading by a potential child theme.

While _s is intended to be a base theme and not a parent theme, this does not negate the possibility that a derivative theme based on _s would become a parent-theme for other child-themes.

To that end, I'd like to suggest making all methods within _s overloadable by a child-theme, i.e. wrapping all functions within a if ( ! function_exists( 'function_name' ) ) {} wrapper.

Opinions ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions