Title: oliversos's Replies | WordPress.org

---

# oliversos

  [  ](https://wordpress.org/support/users/oliversos/)

 *   [Profile](https://wordpress.org/support/users/oliversos/)
 *   [Topics Started](https://wordpress.org/support/users/oliversos/topics/)
 *   [Replies Created](https://wordpress.org/support/users/oliversos/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/oliversos/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/oliversos/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/oliversos/engagements/)
 *   [Favorites](https://wordpress.org/support/users/oliversos/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Sorry. No data so far.](https://wordpress.org/support/topic/sorry-no-data-so-far-3/)
 *  [oliversos](https://wordpress.org/support/users/oliversos/)
 * (@oliversos)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/sorry-no-data-so-far-3/#post-4710865)
 * When I received this message, it was because I was logged into my WP site.
 * Data started working when I did the following:
    Log out, click on the posts/pages
   that the plugin tracks, and then see if the data populates.
 * I believe there’s an option that is defaulted to not track views when you are
   logged into your site.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Tag Cloud Widget] Custom Taxonomy not working](https://wordpress.org/support/topic/custom-taxonomy-not-working-1/)
 *  Thread Starter [oliversos](https://wordpress.org/support/users/oliversos/)
 * (@oliversos)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/custom-taxonomy-not-working-1/#post-4787404)
 * I think I figured it out. You have to also define the custom post type in the
   args. For example:
 * $args = array(
    ‘title’ => ‘ ‘, ‘post_type’ => array(‘post_type_a’, ‘post_type_b’),‘
   taxonomy’ => array(‘tag_a’,’tag_b’) ); do_utcw( $args );
 * That seems to have worked for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Template] Use only for Custom Post Type](https://wordpress.org/support/topic/use-only-for-custom-post-type/)
 *  [oliversos](https://wordpress.org/support/users/oliversos/)
 * (@oliversos)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/use-only-for-custom-post-type/#post-4012021)
 * I answered my own question, the code to add is in the “Other Notes” section of
   the plugin page. Simply add it to functions.php and add your custom post type
   name:
 * /**
    * Hooks the WP cpt_post_types filter * * [@param](https://wordpress.org/support/users/param/)
   array $post_types An array of post type names that the templates be used by *
   [@return](https://wordpress.org/support/users/return/) array The array of post
   type names that the templates be used by **/ function my_cpt_post_types( $post_types){
   $post_types[] = ‘movie’; $post_types[] = ‘actor’; return $post_types; } add_filter(‘
   cpt_post_types’, ‘my_cpt_post_types’ );

Viewing 3 replies - 1 through 3 (of 3 total)