Example #1
0
<?php

get_header();
$css = get_vicuna_css('index');
?>
	<link rel="stylesheet" type="text/css" href="<?php 
echo $css;
?>
" />
	<title><?php 
bloginfo('name');
?>
</title>
</head>
<body class="mainIndex <?php 
vicuna_layout('index');
?>
">
<div id="header">
	<p class="siteName"><a href="<?php 
bloginfo('home');
?>
"><?php 
bloginfo('name');
?>
</a></p>
	<?php 
vicuna_description();
vicuna_global_navigation();
?>
</div>
Example #2
0
<?php

get_header();
$page_title = sprintf(__("%s Archive", 'vicuna'), single_cat_title('', false));
$css = get_vicuna_css('category');
?>
	<link rel="stylesheet" type="text/css" href="<?php 
echo $css;
?>
" />
	<title><?php 
vicuna_title($page_title);
?>
</title>
</head>
<body class="category <?php 
vicuna_layout('category');
?>
">
<div id="header">
	<p class="siteName"><a href="<?php 
bloginfo('home');
?>
" title="<?php 
printf(__('Return to %s index', 'vicuna'), get_bloginfo('name'));
?>
"><?php 
bloginfo('name');
?>
</a></p>
	<?php 
Example #3
0
<?php

if (have_posts()) {
    the_post();
    get_header();
    $title = get_the_title();
    $css = get_vicuna_css('page');
    $navi_title = get_post_meta(get_the_ID(), 'navi', true);
    if (empty($navi_title)) {
        $navi_title = $title;
    }
    ?>
	<link rel="stylesheet" type="text/css" href="<?php 
    echo $css;
    ?>
" />
	<title><?php 
    vicuna_title($title);
    ?>
</title>
</head>
<body class="individual <?php 
    vicuna_layout('page');
    ?>
" id="entry<?php 
    the_ID();
    ?>
">
<div id="header">
	<p class="siteName"><a href="<?php 
    bloginfo('home');
Example #4
0
<?php

get_header();
$page_title = get_vicuna_archive_title();
$css = get_vicuna_css('archive');
?>
	<link rel="stylesheet" type="text/css" href="<?php 
echo $css;
?>
" />
	<title><?php 
vicuna_title($page_title);
?>
</title>
</head>
<body class="dateBasedArchive <?php 
vicuna_layout('archive');
?>
">
<div id="header">
	<p class="siteName"><a href="<?php 
bloginfo('home');
?>
" title="<?php 
printf(__('Return to %s index', 'vicuna'), get_bloginfo('name'));
?>
"><?php 
bloginfo('name');
?>
</a></p>
	<?php 
Example #5
0
<?php

get_header();
$title = single_cat_title('', false);
$css = get_vicuna_css('tag');
?>
	<link rel="stylesheet" type="text/css" href="<?php 
echo $css;
?>
" />
	<title><?php 
vicuna_title($title);
?>
</title>
</head>
<body class="category <?php 
vicuna_layout('tag');
?>
">
<div id="header">
	<p class="siteName"><a href="<?php 
bloginfo('home');
?>
" title="<?php 
printf(__('Return to %s index', 'vicuna'), get_bloginfo('name'));
?>
"><?php 
bloginfo('name');
?>
</a></p>
	<?php 
Example #6
0
<?php

get_header();
$css = get_vicuna_css('404');
?>
	<link rel="stylesheet" type="text/css" href="<?php 
echo $css;
?>
" />
	<title><?php 
vicuna_title(__('Error 404', 'vicuna'));
?>
</title>
</head>
<body class="individual <?php 
vicuna_layout('404');
?>
">
<div id="header">
	<p class="siteName"><a href="<?php 
bloginfo('home');
?>
" title="<?php 
printf(__('Return to %s index', 'vicuna'), get_bloginfo('name'));
?>
"><?php 
bloginfo('name');
?>
</a></p>
	<?php 
vicuna_description();
Example #7
0
<?php

get_header();
$title = get_the_title();
if (is_attachment()) {
    $older_post =& get_post($GLOBALS['post']->post_parent);
} else {
    $older_post = get_previous_post(false, '');
}
$css = get_vicuna_css('single');
if ($older_post) {
    ?>
	<link rel="prev" href="<?php 
    echo get_permalink($older_post->ID);
    ?>
" title="<?php 
    echo apply_filters('the_title', $older_post->post_title, $older_post);
    ?>
" />
<?php 
}
if ($newer_post = get_next_post(false, '')) {
    ?>
	<link rel="next" href="<?php 
    echo get_permalink($newer_post->ID);
    ?>
" title="<?php 
    echo apply_filters('the_title', $newer_post->post_title, $newer_post);
    ?>
" />
<?php 
Example #8
0
<?php

get_header();
$css = get_vicuna_css('search');
?>
	<link rel="stylesheet" type="text/css" href="<?php 
echo $css;
?>
" />
	<title><?php 
vicuna_title(__('Search Result', 'vicuna'));
?>
</title>
</head>
<body class="individual <?php 
vicuna_layout('search');
?>
" id="siteSearch">
<div id="header">
	<p class="siteName"><a href="<?php 
bloginfo('home');
?>
" title="<?php 
printf(__('Return to %s index', 'vicuna'), get_bloginfo('name'));
?>
"><?php 
bloginfo('name');
?>
</a></p>
	<?php 
vicuna_description();