Created
July 22, 2016 12:20
-
-
Save alanpilloud/38eb00a177d7abc19984bb15c80ba4e5 to your computer and use it in GitHub Desktop.
Cleaning Smartcrawl metabox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Cleaning Smartcrawl metabox | |
*/ | |
add_action('admin_head', function() { | |
echo ' | |
<style> | |
#wds-wds-meta-box .widefat tr{display:none} | |
#wds-wds-meta-box .widefat tr:nth-child(1), | |
#wds-wds-meta-box .widefat tr:nth-child(2), | |
#wds-wds-meta-box .widefat tr:nth-child(3), | |
#wds-wds-meta-box .widefat tr:nth-child(5) {display:table-row} | |
#wds-wds-meta-box .widefat tr:nth-child(5) .wds_subtable tr:nth-child(3) {display:none} | |
</style>'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment