new WP_Query issues

The issue with your query is that new WP_Query($query_string,$args); is not correct syntax, however, creating a new WP_Query is not the way to do what you want. See the codex page for pre_get_posts for the correct way to modify the main query. I assume by setting posts per page to 999, you want to show … Read more

Posts of specific category on page and excluded from index.htm

1. CSS/HTML issues are off-topic for this site, per the FAQ. But, have you tried investigating with Firebug or Chrome’s dev tools? The answer is obvious in seconds. This page http://www.biz.uiowa.edu/bta/test/ has large headings because of .singular .entry-title { font-size: 2em; margin-bottom: 0.3em; } Since you are running a second loop on a singular page, … Read more

How to get only ONE category of “Portfolio” posts to display on main page rather than ALL categories?

Wyck is correct. You can find the answer you seek in the wonderful WordPress documentation. But, ’cause why not, here’s the answer for you: You’re very close, you just need to change your “tax_query” array to include the term you’re requesting. Like this: ‘tax_query’ => array( array( ‘taxonomy’ => ‘portcat’, ‘field’ => ‘slug’, ‘terms’ => … Read more

Randomly pick one testimonial post

Assuming – you saved the post in the “quote” type – you actually set and save a “who” meta for those post – you forgot to paste the close section of the loop, as s_ha_dum stated, your code should work. Like this <div id=”introBottom” class=”group”> <?php $quote_args = array( ‘post_type’ => ‘post’, ‘category’ => ‘quote’, … Read more