Comments (5)
I'm not experiencing this behaviour on my local site, both with logged-in an non-logged-in user.
from hueman.
Hm - let's say you have it set WordPress to show 10 top-level comments per page. Pingbacks seem to still be seen as top level comments for the comment submit button's redirect count, even if it's a separate list.
- If you have 7 top-level comments, and 4 pingbacks, it redirects to a page-2, which has no comments, just a "previous comments" link
- If you have 16 top-level comments and 4 pingbacks, no issue will be noticed as 16+4=20, no page change there
- If you have 20 comments and 21 pingbacks you will be redirected 2 pages ahead and have to click "previous comments" twice to get back to the list
At least this is how I experience the issue. You can do a test comment on here, where the issue can be noticed:
http://alxmedia.se/themes/hueman/ (plenty of pingbacks)
It uses the same comments template as Hueman.
from hueman.
I think that the $wp_query->comments
Object includes the Pingbacks. You can do it better if you use your own comment and pingback Array as that Parameter.
Ressources:
https://codex.wordpress.org/Function_Reference/get_comment_pages_count#Parameters
https://thematictheme.com/2012/06/13/improved-separation-of-comments-and-pingbacks-in-thematic-1-0-1/
I'm working on a Bugfix - I hope that this will work.
from hueman.
Thanks for having a look at this issue! I tested this fix on my site. I wrote the following comment in the comment box: "A friendly reminder: Use the support forums for theme support."
On comment-submit click, I am redirectecd to:
http://alxmedia.se/themes/hueman/comment-page-32/#comment-29278
The accurate link should be:
http://alxmedia.se/themes/hueman/comment-page-23/#comment-29278
It sends me to /comment-page-32/ and have to click "« Older Comments" so many times until I get to /comment-page-23/ which is the actual comments page (due to many pingbacks being counted as parent comments).
So it's not quite fixed, not sure what to do here.
from hueman.
Ok, I will watch it again - if I got time. It confuses me.
You can try to look at the Wordpress Themes Twenty* Don't know how they seperate Comments and Pingbacks.
from hueman.
Related Issues (20)
- Secondary sidebar is not sticky
- [HTML5] remove W3C deprecated attributes for script and style tags
- PHP Notice: Trying to access array offset on value of type bool
- Remove title attribute "Permalink To" on .post-title hovering with Hueman Pro 1.4.10 HOT 1
- External links problem
- Hueman 3.7.9 possible conflict with WooCommerce ?
- In Safari, Hueman loads two versions (woff+svg) of each font type
- New Query Loop Block styles broken
- [HTML] replace <section class="content" id="content"> by <main class="content" id="content">
- Possible style enhancements for BBPress pages
- Jquery problem => replace alert by a console log message
- Screenwide button backend bug
- Featured Image on frontpage shows grey block
- srcset needed on featured image
- WP-Pagenavi on a site with lots of pages breaks mobile view
- Malware..? HOT 5
- Menu - Font Awesome alignement and font issue
- Is anyone willing to post an article for me?
- [Improvment] X icon instead of twitter bird
- The function hu_is_authorized_tmpl is not pluggable and can't be rewritten in the child theme HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hueman.