Keith a.k.a. K j A M
Forum Replies Created
-
Deleting the cache won’t resolve the problem but changing the class will. That’s something I can do in my CSS code.
As for the dashboard (admin), I was only displaying the Daily Popular Post but it switched it to Overall Popular Posts and I couldn’t get the other to be displayed. Maybe that is a caching issue because I do use an agressive caching plugin even though it doesn’t cache the admin. I’ll play around with it when I have more time.
Thanks for the quick response.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeSounds like a winner! Thanks again!!!
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeYou are 100% correct. I got Before and After from a Google search but I’m guessing those are custom codes that were created for another plugin.
So, I went back to this:
Top 20 daily posts for the last 183 days:
[tptn_list daily=”1″ limit=20 heading=0 show_excerpt=1 how_old=183]
Top 20 recurring posts older than 183 days:
[tptn_list daily=”1″ limit=20 heading=0 show_excerpt=1 offset=50]
The second one isn’t perfect because it’s skipping posts from last year and I post approximately 50 – 55 posts a year but if I lower the ammount, it starts pulling recent posts, which only belong in the first list. This is about as close to accurate I’m going to get. At least it shows a diversity of posts on the second list from the past so I’m fine with that — even if it’s not accurate.
Thanks for your help!
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeHOLY COW! After searching Google because I figured there had to be more shortcodes than in your FAQ section — I found the secret sauce and it works.
[tptn_list daily=”1″ limit=20 heading=0 show_excerpt=1 after=’365 days’ ]
This shows daily posts (that part is important otherwise it will give you all-time) after 365 days. This is what I was talking about. You might consider adding in the before and after shortcodes to your list because the offset isn’t working as it theoretically should.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeActually, that shortcode is similar to what I’m using for my daily Top 20 but more accurate, so I switched it. In order to cut down on overinflated rankings by bots or people hammering older posts to rank higher, I switched it from 365 to 183. That works.
For posts older than that — say the past 3 years after the last — (I’ve got 14 years of posts), I used this:
[tptn_list limit=20 heading=0 show_excerpt=1 how_old=1460 offset=50] The 50 is an average number of posts I create in a year so it pushes it out a bit further from the daily recent posts of 6 months.
It’s not 100% accurate but it displays past posts that are still relevant to my audience that may not know these exist but for some unknown reason keeps showing at least one very recent post, which it shouldn’t. I probably should check which method in the settings it’s using to calculate the rankings and see if that makes a difference.
Most of these are hits from Goole search results where people stumble upon them but that’s okay. I don’t expect signifcant changes in this list on a daily basis but incremental over time.
Thanks for your help!
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeThe how_old only shows the top 20 posts within that range i.e. 365 only posts within a year not after. I can clearly see that on my daily list.
Offset then would be starting at X number. I originally wanted the Top 20 from anything starting on day 366. Since that’s not possible, I tried doing a Top 20 with an offset of 20 and it gives me older posts but it also shows a current post that’s #10 in the daily Top 20 of posts and shows it again at #2 even though it’s obviously ranking at #10 on the first list.
Honestly, this is messed up. Thanks for your help. I’ll work something else out.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeI understand that. The initial issue was that I had the settings set to 365 days before I added the recurring Top 20 list. I’ve removed that, which allows me to just use this short code for the recurring list for anything past 365 days:
[tptn_list=”1″ limit=20 heading=0 show_excerpt=1 offset=365]
However, the results showing up on the list are not the same as what’s showing up in the admin under the Popular Posts plugin. In fact, it’s not even close. The results showing for daily popular posts within the plugin are more accurate (it includes currents posts as well as older posts). The ones showing up on the website are not (even though they appear to change every 24 hours). They should include the very same posts older than 365 days showing up in the plugin but they do not. That part, I can’t figure out.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeOkay, so now I’ve got it pretty much working. I added in ‘how_old’ in conjuction with ‘offset’ in order to get it to show up like this:
[tptn_list=”1″ limit=20 heading=0 show_excerpt=0 how_old=5110 offset=365]
I created one for excerpts on desktop ‘1’ and another without excerpts on tablets and mobile devices because of screen limitations ‘0’.
My only issue is that it’s pulling some really old posts that don’t show up under all popular posts in the admin. I’m a bit confused at the discrepancies in the output. Maybe you could shed some light on that.
Here’s the link again: Top 20
- This reply was modified 3 years, 6 months ago by Keith a.k.a. K j A M.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to set how_old shortcodeOkay, the issue isn’t with ‘how_old’ it’s with the offset shortcode. That’s what isn’t working.
I’ve now set the Daily Top 20 to posts from the last 183 days to cut down on spamming.
[tptn_list daily=”1″ limit=20 show_excerpt=1 how_old=183]
I’ve added a second Recurring Top 20 using this code:
[tptn_list daily=”1″ limit=20 show_excerpt=1 offset=183]
but, the offset feature isn’t working because nothing is populating even though I can see in the admin there are a ton of older posts being counted. How do I fix this?
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Numbering Post ListI did it. While I wanted two columns for desktop — I couldn’t get the numbering to start at 11 on the 2nd column even though I had the offset correct in the shortcode.
So, I settled on a single column since that’s the way it would be on tablet and mobile anyway.
I also removed the excerpt and title because I couldn’t get those formatted correctly, which is fine. Each episode has it’s own artwork and everything is visual with the title embedded in the artwork so this works just as good.
Here’s the final output:
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface'); .sek-module .sek-module-inner .tptn_posts ul>li, .sek-module .sek-module-inner ul>li { counter-increment: my-awesome-counter; display: flex; width: 50%; font-size: 0.8rem; margin-bottom: 0.5rem; } .sek-module .sek-module-inner .tptn_posts ul>li, .sek-module .sek-module-inner ul>li::before { content: "" counter(my-awesome-counter); font-weight: bold; font-size: 3rem; margin-right: 0.5rem; font-family: 'Abril Fatface', serif; line-height: 1; } .tptn_posts_daily .tptn_title, .tptn_posts .tptn_title { display: none !important; } .tptn_excerpt { display: none !important; }
- This reply was modified 3 years, 8 months ago by Keith a.k.a. K j A M.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Numbering Post ListHere is the first way you suggested replacing ol with .tptn_posts ul
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface'); .tptn_posts ul { list-style: none; counter-reset: my-awesome-counter; display: flex; flex-wrap: wrap; margin: 0; padding: 0; } .tptn_posts ul li { counter-increment: my-awesome-counter; display: flex; width: 50%; font-size: 0.8rem; margin-bottom: 0.5rem; } .tptn_posts ul li::before { content: "0" counter(my-awesome-counter); font-weight: bold; font-size: 3rem; margin-right: 0.5rem; font-family: 'Abril Fatface', serif; line-height: 1; }
This has no effect. However, if I remove the styling option then bullet points show up with the above code and then the widget in post pages (Top 10) needs to be restyled.
Since the Top 20 is embedded into a page builder, I tried doing this instead:
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface'); .sek-module .sek-module-inner ol>li, .sek-module .sek-module-inner ul>li { list-style: none; counter-reset: my-awesome-counter; display: flex; flex-wrap: wrap; margin: 0; padding: 0; } .sek-module .sek-module-inner ol>li, .sek-module .sek-module-inner ul>li { counter-increment: my-awesome-counter; display: flex; width: 50%; font-size: 0.8rem; margin-bottom: 0.5rem; } .sek-module .sek-module-inner ol>li, .sek-module .sek-module-inner ul>li::before { content: "0" counter(my-awesome-counter); font-weight: bold; font-size: 3rem; margin-right: 0.5rem; font-family: 'Abril Fatface', serif; line-height: 1; }
The result is the image here, which shows the numbers but only #1 on all of the posts.
- This reply was modified 3 years, 8 months ago by Keith a.k.a. K j A M.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Numbering Post ListI tried that and the best I can come up with is this Capture of Numeration
As you can see, it’s aligned on top instead of to the left and everything is numbered as 1 instead of chronological.
I did try the tptn_list_count thinking this would achieve the same thing and give me something to work with but that only gives me bullet points.
I guess I’ll just let it go. Thanks!
Forum: Plugins
In reply to: [Yoast SEO] Search title is inserting metaSorry, inbetween hosting issues. I’ll try it out.
Thanks!
Forum: Plugins
In reply to: [PowerPress Podcasting plugin by Blubrry] Cannot delete podcast channelHey Shawn, thanks for getting back with me. I found the problem. For some reason I had two databases and after deleting the one not in use – the episodes disappeared. I can’t explain it and have no idea where the database came from. Possibly from a previous restore? Who can say.
Anyway, I was able to delete it. Thanks!
Disregard my question. There are different exclusion fields (some appear to be redundant) but the one for “Category” operates differently. It does not require the category ID rather the actual name.
Once I entered all of them separated by comma and cleared my caching plugin everything worked exactly as it should. Duh!
Thank you!