Support

Account

Home Forums General Issues trying to get a custom field in a query Reply To: trying to get a custom field in a query

  • got it working now:

    <?php
    $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query(); 
    $wp_query->query('cat='.(get_field('jobs_kategorie')).'&paged='.$paged .'&showposts=1' .'&post_type=stellenangebote' ); ?>