Ondersteuning » Algemeen WordPress » Roterende header (F8 Lite 4.2.1)

  • Hallo,

    Ik wil graag een roterende header maken in het thema F8 Lite 4.2.1. Ik heb al verschillende tips gelezen, maar als leek ben ik nog niet veel verder gekomen. Ik hoop dat iemand mij kan helpen!

    Is het ook mogelijk om de header iets minder groot te maken (qua hoogte)? Ik heb hieronder de .php van de header geplakt.

    Alvast bedankt!!!

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>

    <head profile=”http://gmpg.org/xfn/11″&gt;

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>
    <!– Styles –>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_url’); ?>” />
    <link rel=”stylesheet” href=”<?php bloginfo(’template_directory’); ?>/css/print.css” type=”text/css” media=”print” />
    <!–[if IE]><link rel=”stylesheet” href=”<?php bloginfo(’template_directory’); ?>/css/ie.css” type=”text/css” media=”screen, projection” /><![endif]–>
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_head();
    $options = get_option(‘f8_theme_options’);
    ?>
    </head>

    <body <?php body_class(); ?>>
    <div class=”container”>
    <div class=”container-inner”>

    <!– Begin rss –>
    <div id=”inside-subscribe”>
    ” class=”feed”>posts ” class=”feed”>comments
    </div>
    <div class=”clear”></div>

    <!– Begin Masthead –>
    <div id=”masthead” class=”clearfix”>
    <h4 class=”left”>/” title=”Home”><?php bloginfo(‘name’); ?> <span class=”description”><?php bloginfo(‘description’); ?></span><span class=”contact”><?php if ( $options[‘phone’] != ” ) { ?><?php echo $options[‘phone’]; ?>
    <?php } if ( $options[‘email’] != ” ) { ?>“><?php echo $options[‘email’]; ?><?php } ?></span></h4>
    </div>

    <?php
    $slideshow = $options[‘selectinput’];
    // Only show this is the Single Header Image is selected or if no option is set
    if ( $slideshow == 1 || !$slideshow ) {
    // Check if this is a post or page, if it has a thumbnail, and if it’s a big one
    if ( is_singular() &&
    has_post_thumbnail( $post->ID ) &&
    ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( ‘950’, ‘425’ ) ) ) &&
    $image[1] >= HEADER_IMAGE_WIDTH ) :
    // Houston, we have a new header image!
    echo get_the_post_thumbnail( $post->ID, ‘950×425’ );
    else : ?>
    <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”<?php bloginfo(‘name’); ?>” class=”headerimg” />
    <?php endif;
    } // End only show if Single Header Image is selected
    ?>

    <?php
    if ( is_home() && $paged < 1 ) {
    get_template_part( ‘slideshow’ );
    }
    ?>

    <!– Begin Navigation –>
    <?php f8_theme_nav(); ?>

  • Het onderwerp ‘Roterende header (F8 Lite 4.2.1)’ is gesloten voor nieuwe reacties.