paperleaf
Forum Replies Created
-
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.
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 6 years ago by paperleaf.
Forum: Plugins
In reply to: [TimeSpan] TimeSpan doesn't work in Cyrillic postsNot 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
In reply to: [TimeSpan] greater than 1 minute, less than 2 minutes issueHey 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
In reply to: [TimeSpan] TimeSpan doesn't work in Cyrillic postsHey DeyanP,
Could you please share with me one of the posts you’re trying to use with TimeSpan?
Thanks!
Forum: Plugins
In reply to: [TimeSpan] Post won't renderHey 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
In reply to: [TimeSpan] Wrong math?Yes! MOAR INTERNET POINTS!
Thanks Nick, happy it all works.
Forum: Plugins
In reply to: [TimeSpan] Wrong math?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="https://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="https://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
In reply to: [TimeSpan] Post won't renderHey 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
In reply to: [TimeSpan] Wrong math?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
In reply to: [TimeSpan] Wrong math?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
In reply to: [TimeSpan] Wrong math?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 bystr_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 showminutes
(plural), but not by default. To showminutes
rather thanminute
it has to pass through thisif
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
In reply to: [TimeSpan] Wrong math?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
[email protected]
.Thanks again.
Forum: Plugins
In reply to: [TimeSpan] Bug on RSSHey 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!
Forum: Plugins
In reply to: [TimeSpan] Article won't be displayed when using shortcodeHey Dominik,
We just pushed a fix (version 1.0.6); this fixes the issue. Please update to that version and let us know if any other problems occur. Thanks!