Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Add audio loop
- add_action( 'woo_loop_before', 'woo_hook_audio_loop_before', 12 );
- function woo_hook_audio_loop_before () {
- if ( is_home() ) {
- $args = array(
- 'tax_query' => array(
- array(
- 'taxonomy' => 'post_format',
- 'field' => 'slug',
- 'terms' => array ('post-format-quote')
- )
- )
- );
- $query = new WP_Query( $args );
- } // End IF Statement
- } // End woo_hook_audio_loop_before()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement