This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Cpt In Main Query By Meta | |
* Plugin URI: http://wordpress.stackexchange.com/questions/129236/ | |
* Description: Allow mixing a post type with another on main query, only if the second match some meta query args | |
* Author: Giuseppe Mazzapica | |
* Author URI: http://wordpress.stackexchange.com/users/35541/g-m | |
*/ | |