129 reputation
11346
bio website
location
age
visits member for 3 years, 9 months
seen Jul 1 at 13:56

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?
Jan
14
comment Function call via ajax – can't figure it out?
Well, it works with $.get but doesn't work with $.ajax.
Jan
14
accepted Function call via ajax – can't figure it out?
Jan
14
revised Function call via ajax – can't figure it out?
added 7 characters in body
Jan
14
comment Function call via ajax – can't figure it out?
Well, this ajax call is public, so on the frontend. I changed it to wp_ajax_nopriv_get_event_list. However same thing. What am I doing wrong here?
Jan
14
comment tax_query: What to pass when I want to have all terms?
But since I'm not that much of a programmer I'd love to see some actual code :) So how do I do that? If my param $cat is set to NULL I don't want my tax_query to happen.
Jan
14
comment tax_query: What to pass when I want to have all terms?
Thank you, updated my question … I get the following error if I do this … Parse error: syntax error, unexpected 'if' (T_IF), expecting ')'
Jan
14
revised tax_query: What to pass when I want to have all terms?
deleted 155 characters in body
Jan
14
comment Function call via ajax – can't figure it out?
OK; updated my question, however doesn't change anything. Still same error. Different console.log() though.
Jan
14
revised Function call via ajax – can't figure it out?
added 41 characters in body
Jan
14
comment Function call via ajax – can't figure it out?
I've updated my question. Sorry if I'm annoying, just can't figure out why my function is not getting called.
Jan
14
revised Function call via ajax – can't figure it out?
added 298 characters in body