Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

"Display Header Text" Checkbox Not Displaying in Customizer #464

Closed
LarryVincent opened this issue Sep 14, 2015 · 1 comment
Closed

"Display Header Text" Checkbox Not Displaying in Customizer #464

LarryVincent opened this issue Sep 14, 2015 · 1 comment

Comments

@LarryVincent
Copy link

I can't get the default "Hide Header Text" checkbox to display in Customizer when using FoundationPress. This checkbox usually strips the text version of the blog name and/or description out of the header when the user checks it (screenshot of the typical display from twentyfifteen). I've tried to figure out where it might have been removed, and tried to force it back but haven't had much luck.
screen shot 2015-09-14 at 12 54 12 pm

@linuxbastard
Copy link
Contributor

It's a bit involved but basically you create a function that will add the settings. Please refer to the WP Theme Customization API.

https://codex.wordpress.org/Theme_Customization_API

And here's a small tutorial on adding new settings and controls to the 'title_tagline' section or the 'Site Identity' section of the customizer:

https://getflywheel.com/layout/how-to-add-options-to-the-wordpress-customizer/

I would enclose the site name and tagline inside an if statement that checks if the control for your new setting is ticked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants