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

Add filter to conditionally insert the UCF Header placeholder div in header.php #119

Open
cjg89 opened this issue Nov 10, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cjg89
Copy link
Member

cjg89 commented Nov 10, 2021

Description

https://github.com/UCF/UCF-WordPress-Theme/blob/master/header.php#L8

Add a filter to allow child themes to conditionally enable/disable the placeholder div for the UCF Header from being displayed in the header template.

Why it's Important

Child themes may need to have the option of disabling the UCF Header in certain templates entirely. Currently the only way to accomplish this is to completely override the header.php template in the child theme due to this placeholder div being inserted here.

Alternatives

n/a

Possible Implementation

See above

Additional context

n/a

@cjg89 cjg89 added the enhancement New feature or request label Nov 10, 2021
@cjg89 cjg89 added this to the backlog milestone Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants