• 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 - 16 through 30 (of 63 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hey Hansj?rg,

    Sure, no problem!

    I would check if the caching plugin has some sort of JS minification feature and, if it does, try to find a way to exclude WPP’s JS file from being minified / bundled with the rest of your site’s scripts. This should fix the issue I mentioned earlier about WPP’s script being missing on some of your articles. You can tell if WPP is tracking the visits to your posts / pages by checking your browser’s developer console.

    I would also set the cache to regenerate every 12 hours to make sure WPP can track your posts & pages correctly (here’s an article explaining why this is important by the team behind the WP Rocket caching plugin).

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hola Héctor

    thanks. Just one more question: What exactly do I have to look for in the console to see, if an article is tracked by wpp?

    Cheers
    Hansj?rg

    Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, WPP writes to the console something like “WPP: OK. Execution time: X.XXXXXs”. If you see that, it means WPP was able to register the visit.

    You may also see a response similar to “WPP: Opps!” with an additional text that changes according to the problem (invalid token, couldn’t write to the database, et cetera).

    If you don’t see any of these messages, then WPP’s script couldn’t be executed for some reason.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    If you look at articles listed here
    https://www.der-bank-blog.de/schlagzeilen/top-meldungen-der-woche/
    and here
    https://www.der-bank-blog.de/schlagzeilen/top-meldungen-des-monats/
    I cannot see the WPP OK in the console, but they are listed correctly.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hol? Héctor

    could you please have a look at These Posts?

    Cheers
    Hansj?rg

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi Hansj?rg!

    I did, and my answer is unfortunately pretty much the same as my previous ones:

    I just checked all of the posts from https://www.der-bank-blog.de/die-studien-tage/ and none of them were tracked by WPP. Then, I checked some posts from randomly selected categories and the same thing happened. None of these posts had WPP’s script in it.

    WPP writes to the console something like “WPP: OK. Execution time: X.XXXXXs”. If you see that, it means WPP was able to register the visit.

    You may also see a response similar to “WPP: Opps!” with an additional text that changes according to the problem (invalid token, couldn’t write to the database, et cetera).

    If you don’t see any of these messages, then WPP’s script couldn’t be executed for some reason.

    Apparently, that’s still the case. Here are some screenshots from my developer console:

    WPP could not track - console log
    WPP could not track - network log

    Were you able to look into this?

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hola Héctor

    could you please have a look at my other site https://transformations-magazin.com/wollen-oder-muessen-die-digitalisierung-in-unternehmen/451/
    if there WPP is working correct?

    I cannot find the wpp in the console either, but there I am using a different Caching plugin

    Thanks
    Hansj?rg

    Ben

    (@benbornschein)

    Hi Héctor,

    I’m the developer of Borlabs Cache. Nonces are a problem when it comes to caching, but I think I can provide a solution. Is there any way I can get in touch with you?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey guys,

    could you please have a look at my other site https://transformations-magazin.com/wollen-oder-muessen-die-digitalisierung-in-unternehmen/451/
    if there WPP is working correct?

    Sure, no problem Hansj?rg. I’ll have a look as soon as I can.

    Nonces are a problem when it comes to caching, but I think I can provide a solution. Is there any way I can get in touch with you?

    Hi @benbornschein, nice to meet you and welcome aboard ??

    You can use this form to get in touch with me.

    Plugin Author Hector Cabrera

    (@hcabrera)

    @der-bank-blog in your other site, WPP was able to track my visit to that article successfully:

    WPP - console log message

    Plugin Author Hector Cabrera

    (@hcabrera)

    So it’s been over a week since I last heard from any of you guys. Ben never contacted me, either.

    Any updates?

    Ben

    (@benbornschein)

    Hi Héctor,

    sorry I’m very busy due the upcoming GDPR in europe. I will come back to you as soon as I have a solution within my caching plugin.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hola Hèctor

    I am depending on Ben’s Solution and therefore waiting too

    Cheers
    Hansj?rg

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, thanks for the update guys. Let me know if there’s anything I can do to help.

    Ben

    (@benbornschein)

    Hi Hector,

    I’ve just mailed you, sorry to the delay.

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