Opened 16 years ago
Closed 10 years ago
#9931 closed enhancement (wontfix)
Extra class for the wrap div's in custom-header.php
Reported by: | stgoos | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | has-patch needs-testing gsoc |
Focuses: | administration | Cc: |
Description
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.
Cheers :)
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Adapted the suggestions to current code.