• Rozwiązano astic

    (@astic)


    Witam ! Może tu mi ktoś będzie wstanie pomóc. O to problem wstawiłem sobie flash w hederze. i wszystko git tyle że flash wyświetla się tylko na stronie wpisów, na innych stronach film się nie wczytuje, może ktośmi mi pomoże.

    header

    <?php endif; ?>
    
        <?php
    		global $post;
    		$post_id = ( $post ) ? $post->ID : false;
            $header_img = graphene_get_header_image( $post_id );
    		$alt = graphene_get_header_image_alt( $header_img );
    
            /* Check if the page uses SSL and change HTTP to HTTPS if true */
            if ( is_ssl() && stripos( $header_img, 'https' ) === false ) {
                $header_img = str_replace( 'http', 'https', $header_img );
            }
        ?>
        <div id="header">
    
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="268"> <param name="wmode" value="transparent" />
                          <param name="movie" value="images/1.swf">
                          <param name="quality" value="high">
                          <embed wmode="transparent" src="images/1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="268"></embed>
                        </object>
    
            <?php /* Header widget area */
    		if ( $graphene_settings['enable_header_widget'] && is_active_sidebar( 'header-widget-area' ) ) {
    			echo '<div class="header-widget">';
    			dynamic_sidebar( 'header-widget-area' );
    			echo '</div>';
    		}
    		?>
    
            <?php /* The site title and description */
    		if ( ! in_array( get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ), array( 'blank', '' ) ) ) :
    			if ( is_front_page() || is_home() ) {
    				$title_tag = 'h1';
    				$desc_tag = 'h2';
    			} else {
    				$title_tag = 'h2';
    				$desc_tag = 'h3';
    			}
    			?>
    			<?php echo "<$title_tag class=\"header_title push_1 grid_15\">"; ?>
    				<?php if ( ! is_front_page() ) : ?><a href="<?php echo apply_filters( 'graphene_header_link' , home_url() ); ?>" title="<?php esc_attr_e( 'Go back to the front page', 'graphene' ); ?>"><?php endif; ?>
    					<?php bloginfo( 'name' ); ?>
    				<?php if ( ! is_front_page() ) : ?></a><?php endif; ?>
    			<?php echo "</$title_tag>"; ?>
    
                <?php echo "<$desc_tag class=\"header_desc push_1 grid_15\">"; ?>
    				<?php bloginfo( 'description' ); ?>
    			<?php echo "</$desc_tag>"; ?>
            <?php endif; ?>
    
    		<?php do_action( 'graphene_header' ); ?>
        </div>
        <div id="nav">
            <?php /* The navigation menu */ ?>
            <div id="header-menu-wrap" class="clearfix">
    			<?php
                /* Header menu */
                $args = array(
                    'container' => '',
                    'menu_id' => 'header-menu',
                    'menu_class' => graphene_get_menu_class( 'menu clearfix' ),
                    'fallback_cb' => 'graphene_default_menu',
                    'depth' => 5,
                    'theme_location' => 'Header Menu',
                );
    			if ( ! $graphene_settings['disable_menu_desc'] )
    				$args = array_merge( $args, array( 'walker' => new Graphene_Description_Walker() ) );
    
                wp_nav_menu( apply_filters( 'graphene_header_menu_args', $args ) ); ?>
    
                <div class="clear"></div>
    
    			<?php if ( ( $search_box_location = $graphene_settings['search_box_location'] ) && $search_box_location == 'nav_bar' ) : ?>
                    <div id="top_search" class="grid_4">
                        <?php get_search_form(); ?>
                        <?php do_action( 'graphene_nav_search' ); ?>
                    </div>
                <?php endif; ?>
    
                <?php do_action( 'graphene_header_menu' ); ?>
    
            </div>
    
            <?php
            /* Secondary menu */
            $args = array(
                'container' => 'div',
    			'container_id' => 'secondary-menu-wrap',
    			'container_class' => 'clearfix',
                'menu_id' => 'secondary-menu',
                'menu_class' => 'menu clearfix',
                'fallback_cb' => 'none',
                'depth' => 5,
                'theme_location' => 'secondary-menu',
            );
            wp_nav_menu( apply_filters( 'graphene_secondary_menu_args', $args ) );
            ?>
    
            <div class="menu-bottom-shadow"> </div>
    
            <?php do_action( 'graphene_top_menu' ); ?>
    
        </div>
    
        <?php do_action( 'graphene_before_content' ); ?>
    
        <div id="content" class="clearfix hfeed">
            <?php do_action( 'graphene_before_content-main' ); ?>
    
            <?php
    
                /* Sidebar2 on the left side? */
                if ( in_array( graphene_column_mode(), array( 'three_col_right', 'three_col_center', 'two_col_right' ) ) ){
                    get_sidebar( 'two' );
                }
    
    			/* Sidebar1 on the left side? */
                if ( in_array( graphene_column_mode(), array( 'three_col_right' ) ) ){
                    get_sidebar();
                }
    
            ?>
    
            <div id="content-main" <?php graphene_grid( 'clearfix', 16, 11, 8 ); ?>>
            <?php do_action( 'graphene_top_content' ); ?>

Temat ‘problem z flash-em’ jest zamknięty na nowe odpowiedzi.