Help with Header Image
-
Hi Stefan,
I’m note sure how to integrate picture::create() into a complicated setup such as the one my theme uses. In header.php, this is what I found:
<?php $header_img = '<img src="' . $header_img . '" alt="' . $alt . '" width="' . HEADER_IMAGE_WIDTH . '" height="' . HEADER_IMAGE_HEIGHT . '" class="header-img" />'; if ( ! is_front_page() && $graphene_settings['link_header_img'] ) { $header_img_tag = '<a href="' . apply_filters( 'graphene_header_link' , home_url() ) . '" id="header_img_link" title="' . esc_attr__( 'Go back to the front page', 'graphene' ) . '">'; $header_img_tag .= $header_img; $header_img_tag .= '</a>'; $header_img = $header_img_tag; } echo $header_img; ?>
I have no clue where to start. I checked out the plugin’s Github documentation to see if there are any more examples of how to use picture:create(), but I haven’t really tried anything out because it seems too complicated for my skill level.
Thanks so much for any advice you can provide!
- The topic ‘Help with Header Image’ is closed to new replies.