WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard
Can I get the excerpt with the Google Analytics Dashboard API? (1 post)

  1. chadkjackson
    Member
    Posted 2 years ago #

    I have developed a 'top posts page' using functions from this plugin. It lists out the posts quite well. But I'd also like to list the excerpt after the hyperlinked title.

    Does the $pages = $ga->pages_for_date_period($start, $end); function return an array like the get_posts function?

    http://codex.wordpress.org/Function_Reference/get_post#Return

    If so, I could grab the excerpt directly from there.

    Here is the code.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    http://wordpress.org/extend/plugins/google-analytics-dashboard/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic