Title: paperleaf's Replies | WordPress.org

---

# paperleaf

  [  ](https://wordpress.org/support/users/paperleaf/)

 *   [Profile](https://wordpress.org/support/users/paperleaf/)
 *   [Topics Started](https://wordpress.org/support/users/paperleaf/topics/)
 *   [Replies Created](https://wordpress.org/support/users/paperleaf/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/paperleaf/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/paperleaf/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/paperleaf/engagements/)
 *   [Favorites](https://wordpress.org/support/users/paperleaf/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/paperleaf/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/paperleaf/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HubSpot All-In-One Marketing - Forms, Popups, Live Chat] Still using v1 API endpoints](https://wordpress.org/support/topic/still-using-v1-api-endpoints/)
 *  [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/still-using-v1-api-endpoints/#post-18765054)
 * The last time I looked at this, my site was using an older version. I just updated
   to the latest version (11.3.33) and I can’t find any of the API endpoints that
   I saw previously.
 * Regardless, I can consider this fully closed. Thanks for the update!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Unable to insert blog. Please try again or contact support.](https://wordpress.org/support/topic/unable-to-insert-blog-please-try-again-or-contact-support-19/)
 *  Thread Starter [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [2 years ago](https://wordpress.org/support/topic/unable-to-insert-blog-please-try-again-or-contact-support-19/#post-17726804)
 * I was able to connect our website to wordpress.com correctly. This issue should
   be resolved. It would be nice if the issue resolved automatically and xmlrpc.
   php was searched for in more directories.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Intuitive Custom Post Order] Taxonomy Archive Not Displaying Custom Order Set](https://wordpress.org/support/topic/taxonomy-archive-not-displaying-custom-order-set/)
 *  [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/taxonomy-archive-not-displaying-custom-order-set/#post-11252430)
 * I just ran across this problem, and was able to solve it by hooking into `pre_get_posts`
   and adding the following lines (after checking to be sure I’m in my taxonomy 
   archive, of course):
 *     ```
       $query->set('orderby' ,'menu_order');
       $query->set('order' ,'ASC');
       ```
   
    -  This reply was modified 7 years, 2 months ago by [paperleaf](https://wordpress.org/support/users/paperleaf/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] TimeSpan doesn't work in Cyrillic posts](https://wordpress.org/support/topic/timespan-doesnt-work-in-cyrillic-posts/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/timespan-doesnt-work-in-cyrillic-posts/#post-5983978)
 * Not as of right now. I looked into this a bit more, and as of right now, we’re
   going going to be supporting english and other latin scripts, but we can add 
   this to the list of future possibilities.
 * Thanks for the comments and feature request.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] greater than 1 minute, less than 2 minutes issue](https://wordpress.org/support/topic/greater-than-1-less-than-2-minutes-issue/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/greater-than-1-less-than-2-minutes-issue/#post-5909196)
 * Hey florushj,
 * Thanks for both the post, as well as the code. We are planning to add this into
   a revision right away.
 * Thanks for using the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] TimeSpan doesn't work in Cyrillic posts](https://wordpress.org/support/topic/timespan-doesnt-work-in-cyrillic-posts/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/timespan-doesnt-work-in-cyrillic-posts/#post-5983909)
 * Hey DeyanP,
 * Could you please share with me one of the posts you’re trying to use with TimeSpan?
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Post won't render](https://wordpress.org/support/topic/page-doesnt-work/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/page-doesnt-work/#post-5780600)
 * Hey there!
 * As there was no response to this thread, I’m going to mark this thread as resolved.
   Please open a new one if the problem is still occuring.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Wrong math?](https://wordpress.org/support/topic/wrong-math/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-math/#post-5647622)
 * Yes! MOAR INTERNET POINTS!
 * Thanks Nick, happy it all works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Wrong math?](https://wordpress.org/support/topic/wrong-math/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-math/#post-5647619)
 * Hey Nick,
 * Can you try this for me?
 * In your post right now is this line of text:
 * `At one point I spent something like $50 bucks on a <a href="http://www.refactorsaurusrex.
   com/wp-content/uploads/2014/11/AtlasBookStand.jpg" title="Book Stand" class="
   lightbox" data-lightbox-gallery="fancybox-item-01", ">professional book stand
   </a>`
 * Can we change it to this:
    `At one point I spent something like $50 bucks on 
   a <a href="http://www.refactorsaurusrex.com/wp-content/uploads/2014/11/AtlasBookStand.
   jpg" title="Book Stand" class="lightbox" data-lightbox-gallery="fancybox-item-
   01">professional book stand</a>`
 * I think there was a syntax error in the inline-link, which caused the `strip_tags`
   to pull out more than necessary.
 * Let me know if that works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Post won't render](https://wordpress.org/support/topic/page-doesnt-work/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/page-doesnt-work/#post-5780580)
 * Hey there! Sorry it took so long to get back to you.
 * At this point there isn’t another available shortcode, that should be the right
   one. I think it might be something else in the template file.
 * If you send me a link to your template file’s code, either on Gist or something
   of the sort, I could look through it and see where the conflict is occurring.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Wrong math?](https://wordpress.org/support/topic/wrong-math/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-math/#post-5647618)
 * Hey Nick,
 * Sorry for the delay here! Swamped with client work – we’ll try and get to this
   and get back to you this upcoming week.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Wrong math?](https://wordpress.org/support/topic/wrong-math/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/wrong-math/#post-5647593)
 * Hey Fred,
 * Please let us know if you’re continuing to have this problem, or if has been 
   solved. If you’re still having this problem, please refer to the last post we’ve
   made.
 * If there isn’t a response in the next week, I’ll mark this as resolved.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Wrong math?](https://wordpress.org/support/topic/wrong-math/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/wrong-math/#post-5647563)
 * It seemed as though there was an issue with the `$content` variable, as that’s
   what we were using to output the content. I assumed that it was outputting a 
   shortened version, but it seems that didn’t fix the problem you were having.
 * I’m unsure as to why this is happening on your post. Is there anyway you can 
   send me the full HTML output of your post’s first paragraph, or even write it
   in here? The function `strip_tags` should only be parsing out the HTML elements
   of the post, and leaving the plain text to be counted by `str_word_count`. This
   seems to be working on our test servers here, and we haven’t had this bug come
   up before, so I’d like to dig a little deeper into this.
 * As for the `minutes` question, you are correct that is it hardcoded to show `
   minutes` (plural), but not by default. To show `minutes` rather than `minute`
   it has to pass through this `if` statement: `if ($time_in_minutes < 1)`.
 * Can I ask your exact word count for this specific post you’re talking about? 
   It might help me trouble shoot more if I can recreate the environment locally.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Wrong math?](https://wordpress.org/support/topic/wrong-math/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wrong-math/#post-5647520)
 * Hey Fred,
    Thanks for pointing this out.
 * So I think what was actually happening was that we were stripping tags off of
   the variable `$content` rather than off of a temp variable, holding the content.
   This caused the content to become a different length than intended, skewing the
   reading numbers.
 * When calculating the word count length in from a WordPress content section, though,
   you need to calculate the word count from the content with the tags pre-stripped.
 * This should all be fixed in the update that was pushed this morning. Again, thank
   you for brining this up.
 * The next question is when did you see the ‘1 minutes’ text occur? Is there anyway
   you could provide the length of the post, and your settings so I can try to duplicate
   this on our test environment? If you can, send this in an email to `keyfer@paper-
   leaf.com`.
 * Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TimeSpan] Bug on RSS](https://wordpress.org/support/topic/bug-on-rss/)
 *  Plugin Author [paperleaf](https://wordpress.org/support/users/paperleaf/)
 * (@paperleaf)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/bug-on-rss/#post-5460452)
 * Hey Rahe,
 * Sorry for the delay on getting back on this specific fix. Thanks for the suggestion.
   We’ve just pushed an update and things are working great!
 * Thanks!

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/paperleaf/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/paperleaf/replies/page/2/?output_format=md)