コード例 #1
0
ファイル: archive.php プロジェクト: Matwilk/wordpress
        $title = "" . get_the_time('F jS, Y');
    } elseif (is_month()) {
        $title = "" . get_the_time('F, Y');
    } elseif (is_year()) {
        $title = "" . get_the_time('Y');
    } elseif (is_author()) {
        $title = "";
    } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) {
        $title = "";
    }
}
?>


<?php 
echo floki_get_breadcrumbfloki3($title, "");
// options page
$content_css = '';
$sidebar_css = '';
$mainclass = "fullwidth";
global $menu_design6;
$tipopage = floki_get_option('default_sidebar_pos4');
$tipopagemain = $tipopage;
if ($tipopage == "" || $tipopage != 'left' && $tipopage != 'right') {
    $tipopage = "full";
}
if ($tipopage == 'left') {
    $content_css = 'ten columns';
}
if ($tipopage == 'right') {
    $content_css = 'ten columns';
コード例 #2
0
ファイル: search.php プロジェクト: Matwilk/wordpress
<?php

get_header();
?>

<?php 
echo floki_get_breadcrumbfloki3(__('Search Results for', 'floki'), get_search_query());
?>

		<section>
        <div class="container" style="margin-top: 50px; margin-bottom: 50px;">

			<?php 
if (have_posts()) {
    ?>

			<article id="post-<?php 
    the_ID();
    ?>
">
				<ol>

					<?php 
    while (have_posts()) {
        the_post();
        ?>
           <br/>          

<div style="float:left; width: 15%; margin-right: 15px; text-align:center;">

<?php