Title: Shortcode not working?
Last modified: August 21, 2016

---

# Shortcode not working?

 *  Resolved [Skrollen](https://wordpress.org/support/users/skrollen/)
 * (@skrollen)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/)
 * Just like to start by saying that the plugin is great, I have the widget on my
   start page and it works like a charm.
 * However, when I try to embed the shortcode in a page, nothing shows up. I’ve 
   tried to put in the code both in WordPress normal editor as well as in “text”-
   mode, but nothing happens. I’ve tried to use the exact code that is on the description
   page for this plugin.
 * Any ideas what I could do to fix this?
 * [https://wordpress.org/plugins/google-analytics-top-posts-widget/](https://wordpress.org/plugins/google-analytics-top-posts-widget/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [vgevge](https://wordpress.org/support/users/vgevge/)
 * (@vgevge)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/#post-5106286)
 * I am having a similar issue… The widget in sidebar works, but not the shortcode
   on page.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/#post-5106288)
 * **[@vgevge](https://wordpress.org/support/users/vgevge/)**: It is considered 
   impolite to interrupt another poster’s ongoing thread unless you are posting 
   a solution or suggestion. As per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.
 *  Plugin Author [Justin Sternberg](https://wordpress.org/support/users/jtsternberg/)
 * (@jtsternberg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/#post-5106289)
 * I just pushed an update (1.5.2). There are no guarantees it will fix your issue,
   but it could help.
 *  Thread Starter [Skrollen](https://wordpress.org/support/users/skrollen/)
 * (@skrollen)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/#post-5106340)
 * > I just pushed an update (1.5.2). There are no guarantees it will fix your issue,
   > but it could help.
 * Updating the plugin did the trick, working now! Thanks a lot!
 *  [vgevge](https://wordpress.org/support/users/vgevge/)
 * (@vgevge)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/#post-5106350)
 * I installed the update, but a couple of things are still not working.
 * 1) Using the “widget plugin” to display the top content widget results in the
   same links displayed, regardless of which widget ID that I use (each widget is
   limited by a category ID, and therefore the links should be different for each).
   The top content widget works directly in a sidebar, but not using the “widget
   plugin” shortcode.
 * 2) Using the “top content widget” shortcode directly results in only the top 
   posts and pages for the entire site. It does not filter correctly by category
   ID like the widget. For instance:
    [google_top_content pageviews=”5″ number=”
   3″ showhome=”no” time=”31536000″ timeval=”2″ catlimit=”32″ contentfilter=”post”]
   this shortcode should display only the posts in category #32. It does not work.
   Instead, it shows ALL categories, including pages, and the same result occurs
   regardless of which category ID that I use for “catlimit”.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode not working?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-analytics-top-posts-widget.
   svg)
 * [Google Analytics Top Content Widget](https://wordpress.org/plugins/google-analytics-top-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-top-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [vgevge](https://wordpress.org/support/users/vgevge/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-69/#post-5106350)
 * Status: resolved