daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.             query_posts(array(
  3.                 'post_type' => 'artists',
  4.                 'showposts' => -1,
  5.                 'order' => 'DESC',
  6.                 'orderby' => 'menu_order',
  7.                 'nopaging' => true,
  8.                 'ignore_sticky_posts' => true,
  9.                 'terms' => array(7, 10),//stage1&2
  10.             ) );  
  11.         ?>
  12.  
  13.         <?php while (have_posts()) : the_post(); ?>
  14.             <a href="<?php the_field('artist_external_link'); ?>" target="_blank"><?php the_title(); ?></a>    
  15.         <?php endwhile;?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top