Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




start_wp [ WordPress Function ]

start_wp ( No parameters )
Defined at:



Sets up the WordPress Loop.

Source


<?php
function start_wp() {
    global 
$wp_query$post;

    
_deprecated_function__FUNCTION__'1.5'__('new WordPress Loop') );

    
// Since the old style loop is being used, advance the query iterator here.
    
$wp_query->next_post();

    
setup_postdata($post);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics