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 | |
/** | |
* Limit Essential Grid's WP_Query to only include Featured Events that have a featured image | |
* | |
* @link https://theeventscalendar.com/knowledgebase/featured-events/ | |
* | |
* Based on https://gist.github.com/cliffordp/a6aad3c60f469970b1ecb209d85ec755 | |
* Similar code for Slider Revolution: https://gist.github.com/Camwyn/ce34677cafe52d46c12c11c8b9119371 | |
* Same Essential Grid code except without requirement for being a Featured Event (works for more than just The Events Calendar): https://gist.github.com/Camwyn/cc191bc1c95581c38f7ed5f8ba61da11 | |
* |
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 | |
/** | |
* Limit Slider Revolution's WP_Query to only include posts with featured images | |
* | |
* Based on: https://gist.github.com/cliffordp/9f0d7cc5e86b2a721cd646d953bb1261 | |
* Similar code for Essential Grid: https://gist.github.com/Camwyn/cc191bc1c95581c38f7ed5f8ba61da11 | |
* Same Slider Revolution code except with additional requirement to be a Featured Event from The Events Calendar: https://gist.github.com/Camwyn/ce34677cafe52d46c12c11c8b9119371 | |
* | |
* Tested working with version 6.5.24 |
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 | |
/** | |
* Limit Essential Grid's WP_Query to only include posts with featured images | |
* | |
* From https://gist.github.com/cliffordp/fbbaad70b9b8748819ac73f00260ac5e | |
* Similar code for Slider Revolution: https://gist.github.com/cliffordp/9f0d7cc5e86b2a721cd646d953bb1261 | |
* Same Essential Grid code except with additional requirement to be a Featured Event from The Events Calendar: https://gist.github.com/cliffordp/a6aad3c60f469970b1ecb209d85ec755 | |
* | |
* essgrid_get_posts filter is from /wp-content/plugins/essential-grid/includes/base.class.php |
OlderNewer