After downsizing an image, but before saving it, could you sharpen it using either the imageconvolution() function, or if you use Imagick, one of its sharpening functions (adaptiveSharpenImage() or unsharpMaskImage())?
The default themes rely solely on dropdown menus (=accessibility nightmare). One of the first things I did was add customizable menus. Even before I figured out “The Loop” haha.
register_nav_menus(array(
‘mainmenu’ => ‘Main menu’,
‘submenu1’ => ‘Submenu 1’
‘submenu2’ => ‘Submenu 2’
‘submenu3’ => ‘Submenu 3’
));
<?php wp_nav_menu(array(‘theme_location’ => ‘submenu1’)); ?>
Issue: if the submenu is in eg. page-services.php, it obviously disappears as soon as I click on a category/page link.
I browsed the codex and came up with this:
<?php
if(in_category(array(‘3′, ’19’))) {
wp_nav_menu(array(‘theme_location’ => ‘submenu1’));
}
elseif …
?>
Issue: they can’t add main categories (though there’s probably no need to). I also have to figure out how to show only the introduction on main category page. It’s a multi-lingual site…