When would you use $_post instead of $post?

I’m not certain, but if you’re talking about $_post as seen here: http://codex.wordpress.org/Function_Reference/in_category It’s referring to a post ID so they’ve probably added the underscore to avoid confusion. The $post variable is a post object with all the details of the post. However, $_POST is a global PHP variable containing all the values sent from … Read more

Make first letter of my taxonomy uppercase

Build the links yourself: $terms = get_the_terms($post->ID, ‘trpropcity’); if($terms) foreach($terms as $term) echo ‘<a href=”‘.get_term_link($term, ‘trpropcity’).'”>’.ucwords(strtolower($term->name)).'</a>’;

How should I best target dynamically served content?

I think it depends on whether you want it to be unique for each of the four “highlighted” project columns on the homepage, or whether you want each “highlighted project” to be different. Does that make sense? E.g. if you just want each of the four project “columns” on the homepage to look different then … Read more

PHP/MySQL issues when running WP on EC2 cloud [closed]

Try logging into the mysql instance from the command line by typing in mysql -u root -p and then entering your mysql root password. If you can connect, even if it rejects your username and password, you know it’s up and running correctly. From that point you can diagnose whether it is username/password issues or … Read more