Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author maximevalette

    (@maximevalette)

    Hello,

    There is not shortcode at the moment (because most of the integrations are on the theme directly).

    Thread Starter yasin84

    (@yasin84)

    Hello

    Thanks for replying infact am using a plugin to show the most popular post previously i was using the wp-postviews plugin and i had this piece of code:

    $recent = new WP_Query( apply_filters( ‘widget_posts_args’, array( ‘posts_per_page’ => $number, ‘no_found_rows’ => true, ‘category_name’ => $cb_cat_qry, ‘post_status’ => ‘publish’, ‘ignore_sticky_posts’ => true,
    ‘orderby’ => ‘meta_value_num’,
    ‘meta_key’ => ‘Views’,
    ) ) );

    can you help me to modify it to suit the google analytics page views. what should the meta_key value be?

    Plugin Author maximevalette

    (@maximevalette)

    The values are not stored on meta keys but directly in the cache.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode’ is closed to new replies.