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 filters to footer #708

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Conversation

crftwrk
Copy link
Member

@crftwrk crftwrk commented Feb 27, 2024

/*
 * Footer classes
 */
function footer_class() {
  return "bg-dark text-white pt-5 pb-3";
}
add_filter('bootscore/footer_class', 'footer_class', 10, 2);
/*
 * Footer info
 */
function footer_info_class() {
  return "bg-dark text-white border-top border-secondary py-2 small";
}
add_filter('bootscore/footer_info_class', 'footer_info_class', 10, 2);
/*
 * Change to-top button classes
 */
function footer_to_top_button_class() {
  return "btn btn-sm btn-outline-secondary rounded-pill shadow-lg";
}
add_filter('bootscore/to_top_button_class', 'footer_to_top_button_class', 10, 2);

@crftwrk crftwrk mentioned this pull request Feb 27, 2024
@crftwrk crftwrk merged commit 1cf979a into v6.0.0-beta1 Feb 27, 2024
@crftwrk crftwrk deleted the Refactor-footer-and-add-more-filters branch February 27, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant