WordPress.org

Support

Support » How-To and Troubleshooting » adding code to my site image header

adding code to my site image header

Viewing 1 replies (of 1 total)
  • sorry, is this right,

    <div id=”branding” role=”banner”>’ . “\n”);

    $per_page_code = weaver_get_per_page_value(‘page-header-insert-code’); /* or on a per page basis! */
    if (!empty($per_page_code)) {
    echo(do_shortcode($per_page_code));
    } elseif (weaver_getopt(‘ttw_header_insert’)) { /* header insert defined? */
    if (weaver_getopt(‘ttw_header_frontpage_only’)) {
    if (is_front_page()) {
    echo (do_shortcode(weaver_getopt(‘ttw_header_insert’)));
    }
    } else {
    echo (do_shortcode(weaver_getopt(‘ttw_header_insert’)));
    }
    }

    /* The Dynamic Headers shows headers on a per page basis – will also optionally add site link */
    if (function_exists(‘show_media_header’)) show_media_header(); /* **Dynamic Headers** built-in support for plugin */

    do_action(‘wvrx_extended_header_insert’); /* add any extension header insert */
    do_action(‘wvrx_super_header_insert’); /* future extension */

    /* ======== HEADER IMAGE ======== */

    if (!weaver_is_checked_page_opt(‘ttw-hide-header-image’)) {
    if (HEADER_IMAGE_HEIGHT > 0 && !(weaver_getopt(‘ttw_header_frontpage_only’) && is_front_page() )) {
    if (weaver_getopt(‘ttw_link_site_image’)) {
    ?>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>

Viewing 1 replies (of 1 total)
  • The topic ‘adding code to my site image header’ is closed to new replies.
Skip to toolbar