Thanks for let us know. We will check them sure.
Hi,
Actually It is your code mistake which is breaking the layout. Because the_widget function provides starting div tag with widget class in before_widget and closing div in after_widget by default. IF we want to modify the default values of these arguments then we need to change both arguments value but here you have modified the default value of after_widget only. So that’s why you layout is breaking by div.
before_widget
(string) the text or HTML befor the widget.
Default: <div class="widget {widget's classname}">
after_widget
(string) the text or HTML after the widget.
Default: </div>
For your reference, Please visit https://codex.ww.wp.xz.cn/Function_Reference/the_widget
Not as you said! this code makes my layout correct. I modified the default value of $after_widget as empty and hard-coded close div, in order to avoid the logic where I mentioned at Line 214.
I don’t know why $count is being zero or what is it, the closing tag in default $after_widget wont show up…
Also it might be the mistake from wordpress, or conflict with other plugins, not tested yet
Glad, a small change made code working for you and we couldn’t find any mismatch in opening & closing div tags. So I’m closing the issue as resolved.
K K Agrawal,
Sorry that I’m writing here but I didn’t know better how to contact you.
I have the same problem, that you describes here:
https://ww.wp.xz.cn/support/topic/getting-404-error-in-loading-posts,
but in my case, because of the masonry, I used this plugin to enable the scroll.
I couldn’t crack your snippet to adapt to for my case and couldn’t find any additional info in the web. Could you help please?
My email: lrgrch at gmail dot com.
Thank you for any reply.
Hi vgrh,
On behalf of K K Agrawal, your request has been arrived to him and he will get in touch with you very soon. Also you can contact us via this link (http://fellowtuts.com/contact/).
Thanks