• Hi have a custom taxonomy problem. I have been using the polylang plugin to display different languages on a website. I recently started working on an already built website and there is coding for the wordpress-popular-posts plugin. Calling the polylang custom taxonomy: “lang=en”, in this plugin doesn’t work because their function call doesn’t support polylang’s custom taxonomy, e.g.
    wpp_get_mostpopular(“post_type=’post’&range=’monthly’&stats_comments=0&stats_date=1&stats_category=1&limit=6&lang=en”);

    – I haven’t heard back from the wpp author about resolving this. I would love to find a way to hook into the plugin somehow and add this taxonomy but I am not quite at that skill level. So any thoughts on how to go about this would be great.

    – Another alternative I thought of is to not use the wpp plugin and do the coding myself. I found some forums on how to code my own “most popular” function. (for example: http://www.wpbeginner.com/wp-tutorials/how-to-track-popular-posts-by-views-in-wordpress-without-a-plugin/) I tried this but for some reason it didn’t work either, the posts were not showing, they were actually there but “white” and invisible yet the links were active because I could see the mouse hover over the links. But they were just ordered by the latest posts, not by most popular ones. And I’m confused about how this function actually works, it seems that it only starts counting popular posts once it is implemented, or am I wrong?

    Any suggestions on what approach would be best would be appreciated.
    Here’s the website in question, you’ll see the “Most Popular” tab on the right:
    http://hushmagazine.ca/

The topic ‘Adding custom language taxonomy to most popular posts’ is closed to new replies.