Extra class for the wrap div's in custom-header.php
|Reported by:||stgoos||Owned by:|
|Severity:||normal||Keywords:||has-patch needs-testing gsoc|
I'm using custom-header.php to complete the options section for my own themes but for some themes I only need the image section to be visible>
Would it be possible to add an extra class reference to the <div class="wrap"> sections? This would make it possible for me (and others) to not display the irrelevant sections (and thus avoid questions from users about why changes aren't reflected).
My suggestions is to go for something like this:
<div class="wrap custom-header-text"> <div class="wrap custom-header-image"> <div class="wrap custom-header-reset">
And perhaps that:
<div class="wrap custom-header-text"> <?php screen_icon(); ?>
needs to be changed into something like:
<?php screen_icon(); ?> <div class="wrap custom-header-text">
to keep the icon available when you choose to hide the text section.
Change History (5)
- Component changed from General to Administration
- Keywords needs-patch added
- Milestone changed from Unassigned to Future Release