WordPress.org

Forums

GC Testimonials
[resolved] Get row count from testimonial category (1 post)

  1. askwpcoach
    Member
    Posted 2 years ago #

    Hello,

    I am trying to display the number of testimonials assigned to certain categories.

    My code:

    global $wpdb;
    $biz_end = $wpdb->get_var( "SELECT object_id FROM $wpdb->mb_term_relationships WHERE term_taxonomy_id = '40'" );

    Business Endorsement (<?php echo count($biz_end); ?>)

    I'm not getting any results using the above.

    http://wordpress.org/extend/plugins/gc-testimonials/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GC Testimonials
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic