• Hi!
    Sorry for my poor English.

    To count the number of views, I use the record type “Other archives”

    View post on imgur.com

    with the code

    <?php if ( function_exists( 'echo_tptn_post_count' ) ) { echo_tptn_post_count(); } ?>

    in the template.

    After the update 3.2.1, these records do not appear in the Top 10 at all.

    Rolled back (version 3.1.3) – everything is ok.

    Check please. Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ajay

    (@ajay)

    @byvaly
    Could you please show me where on you’re site you’re displaying this? If you select Other archives, the plugin will automatically display views on archives like Author archives etc.

    If you disable this, then you need to use the code.

    Thread Starter Byvaly

    (@byvaly)

    Could you please show me where on you’re site you’re displaying this?

    I display the top 10 using a widget with a code:

    [tptn_list limit=5 heading=0 daily=1 post_thumb_op=inline link_nofollow=1 link_new_window=1]

    View post on imgur.com

    Thread Starter Byvaly

    (@byvaly)

    “Top-10” widget placed on right side desktop version of the site. For example:

    https://recipes.handmade39.ru/
    https://recipes.handmade39.ru/salads/

    Thank you.

    Plugin Author Ajay

    (@ajay)

    I’m sorry I don’t understand. The function above echo_tptn_post_count is to display the count of the post.

    The widget/shortcode is different which is what I understand you’ve been using.

    Can you please show me what you were seeing in v3.1x and what is missing in v3.2x via screenshots?

    Thread Starter Byvaly

    (@byvaly)

    Sorry for my English again. But still I will try to explain.

    We have the usual Articles and Recipes on our website. Recipes, as I understand correctly, in WordPress terminology are called “Custom Post Type”.

    In version 3.1.3 everything is fine, both Articles and Recipes are displayed:

    View post on imgur.com

    If I update to the latest version of the plugin (3.2.1), then Recipes are not displayed in the Top-10, displayed only Articles:

    View post on imgur.com

    Thank you for your patience.

    Plugin Author Ajay

    (@ajay)

    Yes, this makes sense to me. Would you be able to test this Beta version? I think there was a bug in the previous version on post types not being respected.

    https://github.com/WebberZone/top-10/releases/tag/v3.2.2-beta2

    Thread Starter Byvaly

    (@byvaly)

    Hi!

    Installed 3.2.2-beta2.

    Everything seems to be fine: both Articles and Recipes are shown now.

    Thank you so much!

    Plugin Author Ajay

    (@ajay)

    @byvaly

    Thank you for confirming. I’ll have 3.2.2 released later this week.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Other archives’ is closed to new replies.