This file contains 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 | |
// I'm using both Bootstrap 4.0 and MD Bootstrap, so you may want to tweak some of this yourself | |
// Also remmeber to link up some styles, or the div with your background image won't display | |
$args = array( | |
'post_type' => 'portfolio', // my own custom post type | |
'meta_query' => array( // pull in featured posts from metadata connected to a custom featured post plugin | |
array( | |
'key' => 'featured-checkbox', | |
'value' => 'yes' | |
) |