Comment_form and GD Star Rating

Got it! The key was a custom callback on wp_list_comments. Here’s the snippet of code I used within my comments: <?php if (defined(“STARRATING_INSTALLED”)) : ?> <div class=”rating” style=”float: right”> <?php wp_gdsr_comment_integrate_standard_result(get_comment_ID()); ?> </div> <?php endif; ?>

Create post from form with image

I think the problem is with your form tag missing enctype=”multipart/form-data” so try changing: <form method=”post” action=””> to: <form method=”post” action=”” enctype=”multipart/form-data”> and as a side note, if you want to redirect to the newly created post change: wp_redirect( ‘http://domain.com’ ); to: wp_redirect( get_permalink($post_id)); exit(); Update: From the comments i understand that want the image … Read more

get_the_term_list() wanting to loop through the returned values

I would use wp_get_object_terms which will return an array of object terms that you can manipulate. You also have a little more control with sorting the terms. <?php $terms = wp_get_object_terms($post->ID, ‘work’, array(‘orderby’ => ‘name’, ‘order’ => ‘ASC’)); if(is_array($terms)) : ?> <ul> <?php if(isset($terms[0])) : ?><li><a href=”https://wordpress.stackexchange.com/questions/22940/<?php echo get_term_link($terms[0]); ?>”>Find out more about <?php echo … Read more

Custom taxonomy labels won’t display

Try changing ‘labels’ to an array arg, and passing that. Also, check for syntax: $labels => array( ‘name’ => _x( ‘Seminar Types’, ‘taxonomy general name’ ), ‘singular_name’ => _x( ‘Seminar Type’, ‘taxonomy singular name’ ), ‘search_items’ => __( ‘Search Seminar Types’ ), ‘popular_items’ => __( ‘Popular Seminar Types’ ), ‘all_items’ => __( ‘All Seminar Types’ … Read more

Call Current Category

The problem is that your call to query_posts is overwriting the original query for the page. You have to get the original query, then modify any params from there. global $query_string; // start with the original query $myquery = wp_parse_args($query_string); // make any changes to the query here $myquery[‘posts_per_page’] = 9; query_posts($myquery);