174 reputation
21850
bio website
location
age
visits member for 4 years, 1 month
seen Jan 20 at 13:18

Jan
17
awarded  Nice Question
Jan
15
comment different post-class when template is loaded via ajax
hmm, die() is weird in this case, cause this template is looped in the middle of the page, in this case the footer won't get rendered.
Jan
15
accepted different post-class when template is loaded via ajax
Jan
15
comment paged query leads to 404?
Before I clicked on Page Number Two: cl.ly/TNHx After I clicked on Page Number Two: cl.ly/TN3o
Jan
15
comment different post-class when template is loaded via ajax
Thank you, I knew that, i just thought there might be a better solution. Thank you anyway. One last question, after every reload of the list items I also get a "0" inserted -> cl.ly/TO3N Do you happen to know why? There is no 0 in any template or whatsoever I already checked.
Jan
15
comment different post-class when template is loaded via ajax
But I don't know why all other classes work. It's just the class of the custom-post-type that is missing. There is even the class type-wr_event but not the wr_event?
Jan
15
comment different post-class when template is loaded via ajax
Thank you, however still no luck. I have everything exactly like you suggested and the ajax-reload still works. However still no luck with the post-class.
Jan
15
comment different post-class when template is loaded via ajax
Can you elobrate on that? I updated my question and now use wp_enqueue_script and wp_localize_script, doesn't change anything.
Jan
15
revised different post-class when template is loaded via ajax
added 8 characters in body
Jan
15
revised different post-class when template is loaded via ajax
added 368 characters in body
Jan
15
comment Comment-Meta doesn't work with latest wordpress update
No, doesn't change anyhting. My function saveCommentMeta()is called if I try and add a console.log(test) to it. So when clicking on update in the comments-quickedit the test appears in my console. However nothing is saved.
Jan
15
comment different post-class when template is loaded via ajax
Updated my question with ajax and function call.
Jan
15
revised different post-class when template is loaded via ajax
added 678 characters in body
Jan
15
accepted paged query leads to 404?
Jan
15
comment paged query leads to 404?
Anchortag for page2 looks like this … <a class="page-numbers" href="?page=2">2</a>
Jan
15
asked different post-class when template is loaded via ajax
Jan
15
comment paged query leads to 404?
Thank you, I edited my question. It's almost working now, two more details I need to ask for: Frist off, I changed the two lines like you mentioned and now the 404 error is gone and page two is shown. I also changed 'paged' => (get_query_var('page')) ? get_query_var('page') : 1, However, the problem I'm having now is that page NR. 1 doesn't work anymore. So when reloading the home-page and I click on any number in the pagination everything works fine, but when clicking back on 1 nothing happens. When inspecting the element I see <a class="page-numbers" href="">1</a> How can I fix that?
Jan
15
revised paged query leads to 404?
deleted 97 characters in body
Jan
14
asked paged query leads to 404?
Jan
14
accepted tax_query: What to pass when I want to have all terms?