예제 #1
0
<?php

include '_partials/head.php';
?>
    <body class="page-home">

<?php 
include '_partials/header.php';
site_page_nav();
?>

        <div class="theme-wrapper block-wrapper wrapper">
<?php 
$template = site_view_path('_partials/theme-small.php');
foreach ($themes as $theme) {
    include $template;
}
?>
        </div>

<?php 
if ('wordpress.com' != $tag && !DISABLE_THEME_CLUB) {
    site_include_view('_partials/theme-club.php');
}
include '_partials/footer.php';
예제 #2
0
파일: passenger.php 프로젝트: cutout/ptd
    <p>We designed Passenger to look good on all devices – from desktop computers and laptops to smartphones and tablets.</p>

    <h2>Post Formats</h2>

    <p>Passenger supports several post formats: image, video, gallery, and quote. Each format has a unique style for the blog, archive and search pages. This adds visual interest to your content, and helps you tell your stories more clearly.</p>

    <h2>Custom Headers and Backgrounds</h2>

    <p>Passenger lets you upload your own header image via Customize → Header. You can also personalize your site with a background color or image by going to Customize → Colors & Backgrounds.</p>

    <h2>Widget Areas</h2>

    <p>Passenger has two widget areas where you can add different tools and content to your site. All widget areas will stay hidden until you add widgets to them.</p>


    <ul>
        <li><strong>Overlay widget area</strong> – This area displays on all pages in an overlay that is accessed by clicking the ellipsis (three dots) in the top-right corner of your website.</li>
        <li><strong>Footer widget area</strong> – This area displays at the bottom of every page on the site.</li>
    </ul>

    <h2>Contributors Template</h2>

    <p>Passenger includes a Contributors template, which will list all of the authors on your website, sorted by how many posts each person has published. It’s great for magazines and other multi-author blogs.</p>

    <?php 
site_include_view('_partials/theme-recommended-plugins.php');
?>

</div>
예제 #3
0
파일: index.php 프로젝트: cutout/ptd
    <div class="block showcase-website">
        <a href="http://<?php 
    echo $url;
    ?>
" target="_blank" class="image">
            <img src="<?php 
    echo $image_url;
    ?>
" width="400" height="300" alt="<?php 
    echo $url;
    ?>
 Screenshot" />
        </a>
        <div class="meta">
            <h3><?php 
    echo $url;
    ?>
</h3>
            <p><?php 
    echo $description;
    ?>
</p>
        </div>
    </div>
<?php 
}
?>
</div>
<?php 
site_include_view('_partials/more-themes.php');
예제 #4
0
    <h1><?php 
echo documentation_page_property($page);
?>
</h1>

<?php 
documentation_required_plugin($page);
site_include_view('_support/_feature/' . $page . '.php');
documentation_supported_themes($page);
documentation_related($page);
예제 #5
0
echo path('documentation/general/demo-content/');
?>
">More about demo content</a></li>
    </ul>

<?php 
if (!empty($doc['price-wpcom'])) {
    ?>
    <p class="note tip"><a href="https://wordpress.com/theme/<?php 
    echo $page;
    ?>
/setup/">Documentation for WordPress.com is available here.</a></p>

<?php 
}
site_include_view('_support/_theme/' . $page . '.php');
documentation_theme_features($doc);
?>

    <!-- Theme Languages -->
<?php 
if (!empty($doc['path-languages'])) {
    ?>
    <h2><?php 
    echo $doc['name'];
    ?>
 has the following translations included:</h2>
    <p class="intro"><?php 
    include $doc['path-languages'];
    ?>
</p>
예제 #6
0
파일: header.php 프로젝트: cutout/ptd
                    <a href="<?php 
echo path();
?>
">
                    <!-- <img src="<?php 
echo image_path('website/logo.png');
?>
" alt="Pro Theme Design Logo" style="height:3rem; margin-right:0.1em;" /> -->
                        <?php 
site_header_title();
?>
                    </a>
                </<?php 
echo $h;
?>
>

                <!-- <p class="animated fadeInUp site-description"><?php 
site_description();
?>
</p> -->

            </div>

            <?php 
site_include_view('_partials/nav.php');
?>

        </header>

예제 #7
0
파일: article.php 프로젝트: cutout/ptd
    <body class="page-article">

        <?php 
include '_partials/header.php';
?>

        <div class="wrapper text">
            <?php 
site_breadcrumbs();
?>
            <h1><?php 
echo $article['name'];
?>
</h1>
            <?php 
site_include_view('_articles/' . $article['path'] . '.php');
?>

            <p class="note twitter">What do you think? Could we improve this? <a href="<?php 
echo twitter_share_link('I just read "' . $article['name'] . '" by @prothemedesign');
?>
" target="_blank">Let us know on Twitter</a>.</p>

            <p class="meta">First published on: <time><?php 
echo $article['date'];
?>
</time></p>

            <hr />

            <h1>More Articles</h1>
예제 #8
0
파일: type-general.php 프로젝트: cutout/ptd
    <h1><?php 
echo documentation_page_name($page);
?>
</h1>

<?php 
site_include_view('_support/_general/' . $page . '.php');
documentation_related($page);