Manipulate Cropping Origin Point (Center, Top, Bottom) etc. Functions.php

array(‘left’,’top’)) array(‘center’,’center’)) array(‘right’,’bottom’))

//Function To Inyect <head> Start
function custom_features(){
    //register_nav_menu('customMenuLocation', 'Custom Nav Menu Location');
    //Will use only footer menus
    register_nav_menu('customFooterLocationOne', 'Custom Footer Menu Location One');
    register_nav_menu('customFooterLocationTwo', 'Custom Footer Menu Location Two');
    add_theme_support('title-tag');
    //Add Featured Image To Blog Pages
    add_theme_support('post-thumbnails');
    //Add custom size images name, width px, height px, Crop? TRUE
    add_image_size('professorLandscape', 400, 260, array('left','top'));
    add_image_size('professorPortrait', 480, 650, true);

}
//Trigger Function custom_features()
add_action('after_setup_theme', 'custom_features');
//Inyect <head> End
Scroll to Top