• Hello,

    I have the latest version for WordPress, Top10 and WPML.
    I am using this shortcode [tptn_list limit=”5″] to display the top 5 posts.

    A. However into another sidebar I would like to show the top 5 of a different post type.

    My post types:
    Post types to include in results (including custom post types)
    post
    page
    attachment
    homeland_properties
    homeland_portfolio
    homeland_services
    homeland_testimonial

    What shortcode must I use in order to separate the results only for post_type: post or post_type: page for example?

    B. For each language (English, Greek, Russian) for sure there are different views for the same post_type.
    For a example, the English version of one post may have more views than the Greek version, so Top 5 posts for each language might be differ.

    I used Multilingual Text widget with the shortcode [tptn_list limit=”5″] and I assigned each language, however I am seeing only the one!

    Can you help me please?

    https://wordpress.org/plugins/top-10/

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    You can also pass a post_types argument to the shortcode as:

    post_types="post,page"

Viewing 1 replies (of 1 total)
  • The topic ‘Show Top 5 of specific post_type for each language (WPML)’ is closed to new replies.