Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function terminliste (){
- // Find connected pages
- $connected = new WP_Query( array(
- 'connected_type' => 'seminar_zu_termin',
- 'connected_items' => get_queried_object(),
- 'nopaging' => true,
- ) );
- // Display connected pages
- if ( $connected->have_posts() ) {
- ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement