• Resolved Der-Bank-Blog

    (@der-bank-blog)


    Hola Hector

    hope your are wll. Just a (for you probaly) easy question. I would like Tom set up a site with popular Posts from a specific category

    My code Looks like this:

    [wpp post_type="post" taxonomy= '565' range="last7days" limit=25 stats_views=0 pid='21334,20553' thumbnail_width=351 thumbnail_height=185 stats_author=1 excerpt_length=400 order_by="views" wpp_start="<ul class='wpp-list' style='margin-left: 0px !important;'>" post_html="<article class='post-24776 post type-post status-publish format-standard has-post-thumbnail'><div class='attachment-main-block size-main-block wp-post-image'>{thumb}<div class='content'><div class='cf listing-meta meta above'><span class='meta-item author'>von: {author}</span></div><h3>{title}</h3><div class='excerpt'><p>{summary}</p></div><div class='read-more'><a href='{url}'>weiterlesen</a></div></div></div></article>"]

    but it does not work. It Shows all categories.

    What did I wrong?

    Cheers from Germany
    Hansj?rg

Viewing 15 replies - 46 through 60 (of 63 total)
  • Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hola Hector

    I disabled data sampling and enabled Caching.

    @ben
    The Point still is, that the deactivation of JS Combine nearly doubled the loading time. So there should be a way with acivation of JS-combination

    Cheers
    Hansj?rg

    Ben

    (@benbornschein)

    I don’t see a reason why it cannot be activated.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hi Ben

    that was your recommendation

    “I don’t think it’s missing, it is part of the merged JavaScript. Hansj?rg please disable the merging of JavaScript for the moment.”

    So I will reactivate it and refreh cashing. Hopefully the code will still be there ??

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    As on the page I intend to fill with the code in the first posting of this thread:

    Now there is Content, but only old articles.

    https://www.der-bank-blog.de/die-studien-tage/
    New ones, which have much more views (Analytics!) are not seen. The following should be among the most viewd in the last days
    https://www.der-bank-blog.de/neuer-rekord-fintech/studien/digitalisierung-finanzdienstleistung/36623/

    This still is very strange

    Plugin Author Hector Cabrera

    (@hcabrera)

    Not strange at all, Hansj?rg.

    Remember that until almost two days ago and due to the whole caching issue we’ve been debugging for the past 4+ months WPP wasn’t tracking your posts & pages so of course numbers shown by Analytics will be completely different to what WPP shows. There’s nothing we can do about that, unfortunately.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hola Hector

    10 days passed and the result at https://www.der-bank-blog.de/die-studien-tage/ still does not reflect the acutal stats.

    Any ideas?

    Cheers
    Hansj?rg

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hola Hansj?rg,

    What exactly do you mean with “does not reflect the actual stats”? Is the list on that page different from what’s shown on WPP’s Stats page? I need more details so I can help out.

    Also, did you upgrade to the latest version of WPP? If so, you’ll need to reapply this mod.

    Alternatively, and since this issue has been running for a while now already, you can hire me for freelance work and I’ll do the debugging for you.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hola Hector

    What exactly do you mean with “does not reflect the actual stats”?
    –> Articles are old. there are a lot newer articles with more clicks

    Also, did you upgrade to the latest version of WPP? If so, you’ll need to reapply this mod.
    –> Oh, I thought you implemented it in your Plugin? So every time of an update, I Need to renew the code?

    Cheers
    Hansj?rg

    Plugin Author Hector Cabrera

    (@hcabrera)

    Articles are old. there are a lot newer articles with more clicks

    That’s basically the same thing you said on your previous posts.

    If I had to guess what’s going on: this page is also cached by Borlabs Cache so it’ll update the popular list the next time BC renews its cache. If the cache is set to expire in -for example- a week then the list won’t get updated until then.

    I remember reading somewhere that BC has a feature that allows users to set up custom cache expiry date per post / page. Are you using it? If not, then you’ll want to set up this page’s cache to expire on a daily basis so the popular list gets updated more often.

    There’s another alternative that involves creating a custom template for this page that fetches data via AJAX to avoid needing to change its cache expiry date, but as you can guess this involves some coding and you’ll either need to ask your theme developer to help out with this or hire someone else to do it.

    Oh, I thought you implemented it in your Plugin? So every time of an update, I Need to renew the code?

    If more people request it I might consider implementing it. For the time being you’ll have to reapply the mod every time the plugin gets updated.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    That’s basically the same thing you said on your previous posts.

    –> yes it is. I waited some days to see, if there will be a Change.

    The Caching of the page should not alter the Content. This Comes from the code at the top of this post here.

    I still have the Feeling, that WPP does not accept to list Posts under a Top-category https://www.der-bank-blog.de/studien/ which are published under a sub-category,, e.g. https://www.der-bank-blog.de/erfolg-customer-experience/studien/strategie-management/35633/

    Plugin Author Hector Cabrera

    (@hcabrera)

    The Caching of the page should not alter the Content. This Comes from the code at the top of this post here.

    I have no idea what this means.

    I still have the Feeling, that WPP does not accept to list Posts under a Top-category (…)

    Not true. As I mentioned before, WPP treats all categories the same way. It doesn’t discriminate between parent categories or subcategories. But don’t trust my word for it, feel free to check the source code and see by yourself.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    I have no idea what this means.

    –>
    [wpp post_type=”post” cat=565 range=”last30days” limit=25 stats_views=0 thumbnail_width=351 thumbnail_height=185 stats_author=1 excerpt_length=400 order_by=”views” wpp_start=”<ul class=’wpp-list’ style=’margin-left: 0px !important;’>” post_html=”<article class=’post-24776 post type-post status-publish format-standard has-post-thumbnail’><div class=’attachment-main-block size-main-block wp-post-image’>{thumb}<div class=’content’><div class=’cf listing-meta meta above’><span class=’meta-item author’>von: {author}</span></div><h3>{title}</h3><div class=’excerpt’><p>{summary}</p></div><div class=’read-more’>weiterlesen</div></div></div></article>”]

    WPP treats all categories the same way. It doesn’t discriminate between parent categories or subcategories.
    –> the articles are published by subcategory, e.g. /Studien/kundenservice-Studien/
    –> the WPP-List should come only from the parent catgory /Studien

    As this is the only part of my blog, where I am working with subcategories, I could not make a test with another one. But when I am testing it with a single category everything wokrs fine.

    Plugin Author Hector Cabrera

    (@hcabrera)

    I’m sorry, Hansj?rg. This conversation is going nowhere.

    I strongly recommend hiring a developer to debug the issue for you. It doesn’t seem we’re going to see any progress at this pace.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    I am not sure, if I made myself clear about the Problem. So I tryed another solution

    When I set wpp post_type=”post” cat=722,392,733,757,735,767 the result ist fine
    But when I put it to wpp post_type=”post” cat=565 the result could not be true.

    Trying to made it clear: 722,392,733,757,735,767 are all subcats of 565 so the result should be the same, if only 656 is listed, but it was not.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Is category 656 assigned to the posts as well?

Viewing 15 replies - 46 through 60 (of 63 total)
  • The topic ‘Popular posts of a specific Category’ is closed to new replies.