WordPress.org

Forums

Google Analytics Top Content Widget
[resolved] embed code into theme (2 posts)

  1. robanna
    Member
    Posted 2 years ago #

    Hi, Thanks for the plugin.

    Is there a way to embed code (php) into a theme to display the results?

    Thanks

    http://wordpress.org/extend/plugins/google-analytics-top-posts-widget/

  2. Justin Sternberg
    Member
    Plugin Author

    Posted 2 years ago #

    yes, you can use the shortcode.

    in php:
    <?php echo do_shortcode( '[google_top_content pageviews=5 number=10 showhome=no time=2628000 timeval=2]' ); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Top Content Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.