WordPress Vimeo videos
Views and likes NULL in wp_postmeta (1 post)

  1. JSlice
    Posted 1 year ago #

    Thanks for this plugin, nice job!

    I noticed that "Views" and "Likes" always return "0" after a manual import.
    In includes/libs/custom-post-type.class.php, you get the infos with the following request:
    $video = cvm_format_video_entry( $data[0] )

    But there are no statistics there... so your $video['stats'] array used to insert them in wp_postmeta table is NULL:
    update_post_meta($post_id, '__cvm_video_data' , $video);

    Can't you get those infos from the import list? Views and likes are OK
    on that page.

    Hope you can fix this, thank you!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Vimeo videos
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.