I am working on creating an option page for my Genesis Child Theme however I have run into a problem. I need to add this
<?php $options = get_option(‘plugin_options’); ?><img src=”<?php echo $options[‘logo’]; ?>” alt=”Logo” />
into (well normally index.php) in order to display the logo however Genesis Child Themes work differently. Where do I add this code so people can upload the logo in the wordpress back office and it appears in the title area?
Try adding this to functions.php:
/** Add custom header support */
add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 960, ‘height’ => 100, ) );
Of course, change the width/height to match your theme. That’ll add an option called Header to the Genesis Menu where you can upload a logo.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.