Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • Matzze
    Participant

    @matzze

    Ah, thank you, yes this works for me!


    Matzze
    Participant

    @matzze

    My header (part)

    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--[if lt IE 7]>
       <link rel="stylesheet" type="text/css" href="<?php echo  get_stylesheet_directory_uri(); ?>/style/ie-old.css" />
     <![endif]-->
    <!--[if IE 7]>
       <link rel="stylesheet" type="text/css" href="<?php echo  get_stylesheet_directory_uri(); ?>/style/ie7.css" />
     <![endif]-->
    <!--[if IE 8]>
       <link rel="stylesheet" type="text/css" href="<?php echo  get_stylesheet_directory_uri(); ?>/style/ie8.css" />
     <![endif]-->
    <link href='http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy:400,400italic' rel='stylesheet' type='text/css'>
    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'kammer' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'kammer' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <?php wp_enqueue_style('base', '/wp-content/themes/kammer/css/kammer.css'); ?>
    <?php wp_enqueue_style('scrollbar', '/wp-content/themes/kammer/css/jquery.mCustomScrollbar.css'); ?>
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php
    wp_enqueue_style('fancycss', '/wp-content/themes/kammer/css/jquery.fancybox.css');
    wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', null, null);
    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-ui', '/wp-content/themes/kammer/js/jquery-ui-1.9.2.custom.min.js', array('jquery'), null);
    wp_enqueue_script('kammer-ui', '/wp-content/themes/kammer/js/kammer-ui.js', array('jquery'), null, true);
    wp_enqueue_script('fancybox', '/wp-content/themes/kammer/js/jquery.fancybox.pack.js', array('jquery'), null, true);
    wp_enqueue_script('mousewheel', '/wp-content/themes/kammer/js/jquery.mousewheel-3.0.4.pack.js', array('jquery'), null, true);
    wp_enqueue_script('scrollbar', '/wp-content/themes/kammer/js/jquery.mCustomScrollbar.min.js', array('jquery'), null, true);
    wp_enqueue_script('validation', 'http://ajax.aspnetcdn.com/ajax/jquery.validate/1.10.0/jquery.validate.min.js', array('jquery'), null, true);
    ?>
    <!-- start wp_head -->
    <?php wp_head(); ?>
    <!-- end wp_head -->

    and my page.php:

    <?php locate_template( array( 'core/header.php' ), true ) ?>
    <div id="niceframe-page" class="section neutral niceframe">
    	<div class="panel three-fifth second">
    		<div id="mainbox-page" class="mainbox maintext">
    			<article class="page" id="page-<?php the_ID(); ?>">
    				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    					<h1><?php the_title(); ?></h1>
    					<?php if ( has_post_thumbnail() ) { ?>
    					<div class="headerimage">
    						<?php the_post_thumbnail( 'single-header-image' ); ?>
    					</div>	
    					<?php } ?>
    					<div class="bodytext">
    						<?php the_content(); ?>
    					</div>
    				<?php endwhile; endif; ?>
    			</article>
    		</div><!-- #mainbox-page -->
    	</div>
    </div><!-- #niceframe-page -->
    <?php locate_template( array( 'sections/baseframe-info.php' ), true ) ?>
    <?php locate_template( array( 'core/footer.php' ), true ) ?>

    Matzze
    Participant

    @matzze

    Hi there,

    well it works in twenty twelve. For an unknown reason my theme isnt loading the css:

    my header code:
    
    <link rel='stylesheet' id='admin-bar-css'  href='http://local.die-kammer.dev/wp-includes/css/admin-bar.min.css?ver=3.5.1' type='text/css' media='all' />
    <link rel='stylesheet' id='bp-admin-bar-css'  href='http://local.die-kammer.dev/wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css?ver=1.7.2' type='text/css' media='all' />
    <!-- my stuff -->
    <link rel='stylesheet' id='base-css'  href='http://local.die-kammer.dev/wp-content/themes/kammer/css/kammer.css?ver=3.5.1' type='text/css' media='all' />
    <link rel='stylesheet' id='scrollbar-css'  href='http://local.die-kammer.dev/wp-content/themes/kammer/css/jquery.mCustomScrollbar.css?ver=3.5.1' type='text/css' media='all' />
    <link rel='stylesheet' id='fancycss-css'  href='http://local.die-kammer.dev/wp-content/themes/kammer/css/jquery.fancybox.css?ver=3.5.1' type='text/css' media='all' />
    <script type='text/javascript' src='http://local.die-kammer.dev/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
    <script type='text/javascript' src='http://local.die-kammer.dev/wp-content/themes/kammer/js/jquery-ui-1.9.2.custom.min.js'></script>
    
    twenty twelve header code:
    
    <link rel='stylesheet' id='admin-bar-css'  href='http://local.die-kammer.dev/wp-includes/css/admin-bar.min.css?ver=3.5.1' type='text/css' media='all' />
    <link rel='stylesheet' id='bp-admin-bar-css'  href='http://local.die-kammer.dev/wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css?ver=1.7.2' type='text/css' media='all' />
    <link rel='stylesheet' id='bp-legacy-css-css'  href='http://local.die-kammer.dev/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.css?ver=1.7.2' type='text/css' media='screen' />
    <link rel='stylesheet' id='twentytwelve-fonts-css'  href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&subset=latin,latin-ext' type='text/css' media='all' />
    <link rel='stylesheet' id='twentytwelve-style-css'  href='http://local.die-kammer.dev/wp-content/themes/twentytwelve/style.css?ver=3.5.1' type='text/css' media='all' />

    any idea what’s wrong with my theme?


    Matzze
    Participant

    @matzze

    Hi Hugo, thx for answering.

    Well… then i still need the bp-template-pack plugin active – am i right? If i don’t activate no css and js is loaded, just the templates.

    Is there maybe a different option? Modifying the buddypress.php Template file with a php case switcht or something like this?

    thx.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar