Support » Fixing WordPress » Filter Projects

  • Hey guys,

    I ve got this piece of code which displays projects on a certain page:

    <?php 
    
    	pitch_display_loop(
    		siteorigin_setting('front_page_home_title_latest_projects', __('', '')),
    		array(
    			'posts_per_page' => 10,
    			'post_type' => 'project',
    			'orderby' => 'menu_order',
    			'all_link_url' => 'DESC',
    		),
    		'home',
    		get_post_type_archive_link('project')
    	);
    ?>

    How do I have to modify it in order to display projects that are associated with a certain skill (lets say “swimming”). How do I filter out all other projects ?

    Thanks in advance !

  • The topic ‘Filter Projects’ is closed to new replies.