start_wp

Definition:
function start_wp() {}

Sets up the WordPress Loop.

Source code

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);

}

2909

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: