sfw_design_have_articles

Description

Changes the main query to a designs articles

Be careful with this function. It alters the main loop. It should be called before have_posts and you should make sure to either let the loop finish all cycles or call sfw_loop_end_design_articles_query manually.

Since: 1.0.0

Code

<?php function sfw_design_have_articles( $design_selector = false ){ 
	 … 
 } ?>

Parameter

$design_selector
(mixed) optional - see sfw_get_design_id

Default: false

Return

Seems like the return value of this function is not yet documented.

File

core/components/design/functions-design.php