• Hi,

    I’m trying out the plugin on our news-site http://www.abounderrattelser.fi/news/ (the widget output is found at the bottom of the page, starting by the title “Månadens mest lästa” = most read of the month, in Swedish).

    It works fine when using “out of the box”, but when I want to limit the list to posts only, there is no listing at all.

    I found another thread about similar problems on the site yesisurf.com from 7 month ago, but that didn’t help.

    I use latest version (1.5.1) of the plugin.

    Any help/tips?

    Regards,
    Paul

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looks to be working and showing only posts on your site. Have you tried to limit to posts only with the shortcode?

    <?php echo do_shortcode( '[google_top_content pageviews=10 number=5 contentfilter=post showhome=no time=2628000]' ); ?>

    Also, delete the transients in the database if you don’t see the changes, there are various plugins which lets you do this by a click. If you use shortcode, delete the widget as they can interfere with eachother.

    Thread Starter gnurf

    (@gnurf)

    No, you are looking at the wrong place. I am using the widget in the footer (the listing in the sidebar is another plugin not using the Analytics but an internal counter).

    I also tested the shortcode version you suggested and I get the same result: Widget header, but no listing 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot limit listings to post’ is closed to new replies.