Пример #1
0
<?php

global $query_string;
$args = wp_parse_args($query_string, array('mlsid' => false));
// $taxonomy = PLS_Taxonomy::get($args);
//pls_dump($args);
$args = array('mlsid' => $args['mlsid'], 'post_type' => 'property', 'post_status' => 'publish');
$my_query = new WP_Query($args);
//pls_dump($my_query);
PLS_Route::get_template_part('loop', 'meta');
// Loads the loop-meta.php template.
?>

<?php 
PLS_Route::get_template_part('single', 'property');
?>

Пример #2
0
<?php

/**
 * Archive Template
 *
 * The archive template is the default template used for archives pages without a more specific template. 
 *
 * @package PlacesterBlueprint
 * @subpackage Template
 */
PLS_Route::get_template_part('loop', 'meta');
// Loads the loop-meta.php template.
?>

<?php 
PLS_Route::get_template_part('loop', 'entries');
Пример #3
0
        edit_post_link('Edit this entry', ' ', '.');
        ?>
            </p>

        </footer>

        <?php 
        comments_template('/comments.php', true);
        ?>
        
        <?php 
        pls_do_atomic('close_entry');
        ?>

    </article>

    <?php 
        pls_do_atomic('after_entry');
        ?>
        
<?php 
    }
} else {
    ?>
    
    <?php 
    PLS_Route::get_template_part('loop-error');
    ?>
    
<?php 
}
Пример #4
0
    
    <article <?php 
        post_class();
        ?>
 id="post-<?php 
        the_ID();
        ?>
" class="grid_8 alpha" itemscope itemtype="BlogPosting">

        <?php 
        pls_do_atomic('open_entry');
        ?>

        <header>
            <?php 
        PLS_Route::get_template_part('loop', 'meta');
        ?>
        </header>

        <?php 
        pls_do_atomic('before_entry_content');
        ?>

        <?php 
        the_content('Read the rest of this entry &raquo;');
        ?>

        <div class="entry-meta">
            <?php 
        wp_link_pages(array('before' => '<p><strong>' . 'Pages' . ':</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
        ?>
Пример #5
0
}
?>

                </hgroup>

                <?php 
pls_do_atomic('header');
?>

                <div class="header-membership"><?php 
echo PLS_Plugin_API::placester_lead_control_panel(array('separator' => '|'));
?>
</div>

            </div>

            <?php 
pls_do_atomic('before_nav');
?>

            <?php 
PLS_Route::get_template_part('menu', 'primary');
// Loads the menu-primary.php template.
?>

            <?php 
pls_do_atomic('close_header');
?>
        </header>
    <?php 
pls_do_atomic('after_header');