if (!defined('ABSPATH')) { die; } ?> <div class="wrap"> <h2>Profile Settings</h2> <form method="post" action="options.php"> <?php settings_fields('jc-cpt-profile'); ?> <table class="form-table"> <tr valign="top"> <th scope="row"> Primary Page Banner </th> <td> <?php rbm_do_field_image('jc_cpt_profile_banner', false, get_option('_rbm_jc_cpt_profile_banner'), array('preview_size' => 'page-header')); ?> </td> </tr> </table> <?php submit_button(); ?> </form> </div>
function _mb_appearance() { rbm_do_field_colorpicker('archive_color', 'Grid Color'); rbm_do_field_image('archive_image', 'Grid Image', false, array('description' => 'It is recommended you create a custom image for this, but if this is left blank the Featured Image will be used instead')); rbm_do_field_text('archive_icon', 'Grid Icon', false, array('description' => 'Use an icon from here <a href="http://fortawesome.github.io/Font-Awesome/icons/">http://fortawesome.github.io/Font-Awesome/icons/</a>')); }
// Don't load directly if (!defined('ABSPATH')) { die; } ?> <div class="wrap"> <h2>Student Profile Settings</h2> <form method="post" action="options.php"> <?php settings_fields('jc-event-settings'); ?> <table class="form-table"> <tr valign="top"> <th scope="row"> Event Pages Banner </th> <td> <?php rbm_do_field_image('jc_event_banner_image', false, get_option('_rbm_jc_event_banner_image'), array('preview_size' => 'page-header')); ?> </td> </tr> </table> <?php submit_button(); ?> </form> </div>
?> <table class="form-table"> <tr valign="top"> <th scope="row"> Spotlight Pages Banner </th> <td> <?php rbm_do_field_image('jc_spotlight_banner_image', false, get_option('_rbm_jc_spotlight_banner_image'), array('preview_size' => 'page-header')); ?> </td> </tr> <tr valign="top"> <th scope="row"> Spotlight Default Image </th> <td> <?php rbm_do_field_image('jc_spotlight_default_spotlight', false, get_option('_rbm_jc_spotlight_default_spotlight'), array('preview_size' => 'full')); ?> </td> </tr> </table> <?php submit_button(); ?> </form> </div>
function _mb_popup() { rbm_do_field_image('popup_image'); }