</a> <div class="gallery_detail_box"> <div><?php the_title(); ?> </div> <div><?php if (function_exists('gllr_the_excerpt_max_charlength')) { echo gllr_the_excerpt_max_charlength(100); } ?> </div> <?php // Add image rating elm_ratings_form($post->ID); ?> <br /> <a href="<?php echo get_permalink(); ?> "><?php echo $gllr_options["read_more_link_text"]; ?> </a> </div><!-- .gallery_detail_box --> <div class="gllr_clear"></div> </li> <?php }
if (1 == $gllr_options["image_text"]) { ?> <div style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0] + $gllr_border_images; ?> px;" class="gllr_single_image_text"><?php echo get_post_meta($attachment->ID, $key, true); ?> </div> <?php } ?> <?php // Add image rating elm_ratings_form($attachment->ID); ?> </div><!-- .gllr_image_block --> <?php if ($count_image_block % $gllr_options['custom_image_row_count'] == $gllr_options['custom_image_row_count'] - 1) { ?> </div><!-- .gllr_image_row --> <?php } $count_image_block++; } if ($count_image_block > 0 && $count_image_block % $gllr_options['custom_image_row_count'] != 0) { ?> </div><!-- .gllr_image_row --> <?php
/** * Add rating form before reply content * */ function bbp_theme_after_reply_content() { elm_ratings_form(); }