WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
how to get pageviews? (2 posts)

  1. genekelly
    Member
    Posted 1 year ago #

    Hello, is it possible to use this to get pageview data?

    I have used a plugin which uses a 'the_views' field, and I want to be able to retrieve this data from elsewhere on the web.

    of course if there is a simpler way to do it... i can't find pageviews in the Codex.

    http://wordpress.org/extend/plugins/json-api/

  2. Maxaud
    Member
    Posted 1 year ago #

    the plugin uses the_views as a custom field.
    You will want to create a query that returns the custom field the_views for the posts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.